├── contrib ├── headers.txt ├── dist │ └── make_tarball ├── platform │ ├── optimized │ ├── intel │ │ └── bend │ │ │ ├── mac │ │ │ ├── pi │ │ │ ├── gadget-optimized │ │ │ ├── gadget │ │ │ ├── mac-optimized │ │ │ ├── linux │ │ │ ├── ubuntu │ │ │ ├── linux-optimized │ │ │ └── ext │ ├── clang │ │ └── align │ ├── snl │ │ ├── portals4-orte │ │ └── portals4-m5 │ ├── embedded │ │ ├── build_embedded.sh │ │ ├── gen_embedded.sh │ │ ├── debug │ │ └── optimized │ ├── ibm │ │ ├── optimized-power6-gcc │ │ ├── optimized-power7-gcc │ │ ├── optimized-ppc32-gcc │ │ ├── optimized-ppc64-gcc │ │ ├── debug-power6-gcc │ │ ├── debug-power7-gcc │ │ ├── debug-ppc32-gcc │ │ └── debug-ppc64-gcc │ ├── ps3 │ └── utk │ │ └── cray_xc30_darter ├── amca-param-sets │ └── example.conf ├── coverity │ └── coverity-model.c ├── docker │ ├── prte.service │ ├── drop-in.sh │ └── Makefile ├── scaling │ ├── mpi_no_op.c │ ├── Makefile │ ├── orte_no_op.c │ └── Makefile.include ├── cleanperms ├── whitespace-purge.sh └── generate_file_list.pl ├── src ├── mca │ ├── filem │ │ ├── .gitignore │ │ ├── base │ │ │ ├── owner.txt │ │ │ └── Makefile.am │ │ └── raw │ │ │ └── owner.txt │ ├── errmgr │ │ ├── dvm │ │ │ ├── owner.txt │ │ │ ├── errmgr_dvm.h │ │ │ └── Makefile.am │ │ ├── base │ │ │ ├── owner.txt │ │ │ └── Makefile.am │ │ ├── prted │ │ │ ├── owner.txt │ │ │ ├── errmgr_prted.h │ │ │ └── Makefile.am │ │ └── Makefile.am │ ├── ess │ │ ├── env │ │ │ └── owner.txt │ │ ├── hnp │ │ │ └── owner.txt │ │ ├── lsf │ │ │ └── owner.txt │ │ ├── tm │ │ │ └── owner.txt │ │ ├── base │ │ │ └── owner.txt │ │ └── slurm │ │ │ └── owner.txt │ ├── iof │ │ ├── base │ │ │ ├── owner.txt │ │ │ └── Makefile.am │ │ ├── hnp │ │ │ └── owner.txt │ │ └── prted │ │ │ └── owner.txt │ ├── plm │ │ ├── lsf │ │ │ ├── owner.txt │ │ │ └── help-plm-lsf.txt │ │ ├── pals │ │ │ └── owner.txt │ │ ├── ssh │ │ │ └── owner.txt │ │ ├── tm │ │ │ ├── owner.txt │ │ │ └── help-plm-tm.txt │ │ ├── base │ │ │ ├── owner.txt │ │ │ └── Makefile.am │ │ ├── slurm │ │ │ └── owner.txt │ │ └── Makefile.am │ ├── ras │ │ ├── base │ │ │ ├── owner.txt │ │ │ └── Makefile.am │ │ ├── lsf │ │ │ ├── owner.txt │ │ │ └── help-ras-lsf.txt │ │ ├── pbs │ │ │ └── owner.txt │ │ ├── simulator │ │ │ ├── owner.txt │ │ │ ├── ras_sim.h │ │ │ └── Makefile.am │ │ ├── slurm │ │ │ └── owner.txt │ │ ├── gridengine │ │ │ └── owner.txt │ │ └── testrm │ │ │ ├── ras_testrm.h │ │ │ └── Makefile.am │ ├── rmaps │ │ ├── lsf │ │ │ └── owner.txt │ │ ├── seq │ │ │ └── owner.txt │ │ ├── base │ │ │ └── owner.txt │ │ ├── ppr │ │ │ ├── owner.txt │ │ │ ├── rmaps_ppr.h │ │ │ └── Makefile.am │ │ ├── rank_file │ │ │ ├── owner.txt │ │ │ └── common_sym_whitelist.txt │ │ └── round_robin │ │ │ └── owner.txt │ ├── schizo │ │ ├── base │ │ │ ├── owner.txt │ │ │ └── Makefile.am │ │ ├── ompi │ │ │ ├── owner.txt │ │ │ ├── help-schizo-ompi.txt │ │ │ └── schizo_ompi.h │ │ ├── prte │ │ │ ├── owner.txt │ │ │ └── schizo_prte.h │ │ └── Makefile.am │ ├── state │ │ ├── base │ │ │ ├── owner.txt │ │ │ └── Makefile.am │ │ ├── dvm │ │ │ ├── owner.txt │ │ │ ├── state_dvm.h │ │ │ └── Makefile.am │ │ ├── prted │ │ │ ├── owner.txt │ │ │ ├── state_prted.h │ │ │ └── Makefile.am │ │ └── Makefile.am │ ├── grpcomm │ │ ├── base │ │ │ ├── owner.txt │ │ │ └── Makefile.am │ │ ├── direct │ │ │ └── owner.txt │ │ └── Makefile.am │ ├── odls │ │ ├── base │ │ │ ├── owner.txt │ │ │ └── Makefile.am │ │ ├── pdefault │ │ │ └── owner.txt │ │ └── Makefile.am │ ├── prtebacktrace │ │ ├── base │ │ │ ├── owner.txt │ │ │ └── Makefile.am │ │ ├── none │ │ │ ├── owner.txt │ │ │ └── Makefile.am │ │ ├── execinfo │ │ │ ├── owner.txt │ │ │ └── Makefile.am │ │ ├── printstack │ │ │ ├── owner.txt │ │ │ └── Makefile.am │ │ ├── configure.m4 │ │ └── Makefile.am │ ├── prteinstalldirs │ │ ├── base │ │ │ ├── owner.txt │ │ │ ├── Makefile.am │ │ │ └── base.h │ │ ├── env │ │ │ ├── owner.txt │ │ │ ├── Makefile.am │ │ │ └── configure.m4 │ │ ├── config │ │ │ ├── owner.txt │ │ │ ├── Makefile.am │ │ │ └── configure.m4 │ │ ├── configure.m4 │ │ └── Makefile.am │ ├── prtereachable │ │ ├── base │ │ │ ├── owner.txt │ │ │ ├── Makefile.am │ │ │ └── base.h │ │ ├── netlink │ │ │ ├── owner.txt │ │ │ └── reachable_netlink.h │ │ ├── weighted │ │ │ ├── owner.txt │ │ │ ├── reachable_weighted.h │ │ │ └── Makefile.am │ │ └── Makefile.am │ ├── prtedl │ │ ├── base │ │ │ ├── Makefile.am │ │ │ └── prtedl_base_close.c │ │ ├── dlopen │ │ │ ├── Makefile.am │ │ │ └── prtedl_dlopen.h │ │ ├── libltdl │ │ │ └── Makefile.am │ │ └── Makefile.am │ └── common │ │ └── Makefile.am ├── rml │ ├── oob │ │ └── owner.txt │ ├── owner.txt │ └── Makefile.am ├── common_sym_whitelist.txt ├── docs │ ├── Makefile.am │ └── prrte-rst-content │ │ ├── cli-unset-env.rst │ │ ├── cli-stream-buffering.rst │ │ ├── cli-pmixmca.rst │ │ ├── cli-prtemca.rst │ │ ├── cli-set-env.rst │ │ ├── deprecated-xml.rst │ │ ├── deprecated-bind-to-core.rst │ │ ├── deprecated-tag-output.rst │ │ ├── cli-debug-daemons.rst │ │ ├── deprecated-display-map.rst │ │ ├── deprecated-merge-stderr-to-stdout.rst │ │ ├── deprecated-report-bindings.rst │ │ ├── deprecated-display-allocation.rst │ │ ├── deprecated-timestamp-output.rst │ │ ├── cli-general.rst │ │ ├── cli-forward-signals.rst │ │ ├── deprecated-display-devel-map.rst │ │ ├── deprecated-display-topo.rst │ │ ├── deprecated-display-devel-allocation.rst │ │ ├── definitions-pes.rst │ │ ├── cli-append-env.rst │ │ ├── cli-noprefix.rst │ │ ├── cli-prepend-env.rst │ │ ├── cli-no-app-prefix.rst │ │ ├── cli-debug-daemons-file.rst │ │ ├── cli-prefix.rst │ │ ├── cli-leave-session-attached.rst │ │ ├── detail-hosts-rm.rst │ │ ├── cli-x.rst │ │ ├── cli-personality.rst │ │ ├── deprecated-output-filename.rst │ │ ├── cli-hetero-nodes.rst │ │ ├── cli-tune.rst │ │ ├── cli-pmix-prefix.rst │ │ ├── deprecated-output-directory.rst │ │ ├── deprecated-mca.rst │ │ ├── cli-dash-host.rst │ │ ├── cli-app-prefix.rst │ │ ├── deprecated-gmca.rst │ │ └── cli-allow-run-as-root.rst ├── include │ ├── prte_portable_platform.h │ ├── prte_socket_errno.h │ └── prefetch.h ├── util │ ├── ethtool.h │ └── parse_options.h ├── hwloc │ └── Makefile.am ├── runtime │ └── prte_quit.h ├── prted │ └── pmix │ │ └── Makefile.am ├── event │ └── Makefile.am ├── tools │ ├── pcc │ │ └── Makefile.am │ └── prun │ │ └── prun.h └── pmix │ └── Makefile.am ├── docs ├── prrte-rst-content ├── hosts │ ├── rm.rst │ ├── cli.rst │ ├── relative-indexing.rst │ ├── hostfiles.rst │ └── index.rst ├── placement │ ├── overview.rst │ ├── examples.rst │ ├── limits.rst │ ├── deprecated.rst │ ├── rankfiles.rst │ ├── diagnostics.rst │ ├── fundamentals.rst │ └── index.rst ├── requirements.txt ├── license.rst ├── man │ ├── man5 │ │ ├── index.rst │ │ └── prte.5.rst │ ├── man1 │ │ ├── index.rst │ │ ├── prted.1.rst │ │ ├── prte.1.rst │ │ ├── pterm.1.rst │ │ ├── prte_info.1.rst │ │ ├── prun.1.rst │ │ └── prterun.1.rst │ └── index.rst ├── how-things-work │ ├── schedulers │ │ ├── index.rst │ │ ├── overview.rst │ │ └── flow_of_control.rst │ └── index.rst ├── news │ ├── news-v1.x.rst │ ├── news-v4.x.rst │ └── index.rst ├── getting-help.rst ├── launching-apps │ ├── scheduling.rst │ └── localhost.rst ├── developers │ └── index.rst ├── release-notes.rst ├── index.rst └── quickstart.rst ├── .gitmodules ├── test ├── cycle_forever.sh ├── runtest.bash ├── clichk.c ├── attachtest │ ├── tool.c │ └── app.c ├── runloop.bash └── filegen.c ├── include ├── Makefile.am ├── prte.h └── prte_version.h.in ├── config ├── ltmain_pgi_tp.diff ├── getdate.sh ├── from-savannah │ └── README.md ├── Makefile.options ├── prte_mca_priority_sort.pl ├── ltmain_nag_pthread.diff ├── prte_config_files.m4 └── prte_setup_cli.m4 ├── .readthedocs.yaml ├── examples ├── debugger │ └── mpihello.c └── README ├── README.md └── .github ├── workflows └── pr-target.yaml └── issue_template.md /contrib/headers.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/mca/filem/.gitignore: -------------------------------------------------------------------------------- 1 | *.7 2 | -------------------------------------------------------------------------------- /contrib/dist/make_tarball: -------------------------------------------------------------------------------- 1 | make_dist_tarball -------------------------------------------------------------------------------- /docs/prrte-rst-content: -------------------------------------------------------------------------------- 1 | ../src/docs/prrte-rst-content -------------------------------------------------------------------------------- /docs/hosts/rm.rst: -------------------------------------------------------------------------------- 1 | .. include:: /prrte-rst-content/detail-hosts-rm.rst 2 | -------------------------------------------------------------------------------- /docs/hosts/cli.rst: -------------------------------------------------------------------------------- 1 | .. include:: /prrte-rst-content/detail-hosts-cli.rst 2 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "oac"] 2 | path = config/oac 3 | url = ../../open-mpi/oac 4 | -------------------------------------------------------------------------------- /docs/placement/overview.rst: -------------------------------------------------------------------------------- 1 | .. include:: /prrte-rst-content/detail-placement.rst 2 | -------------------------------------------------------------------------------- /docs/placement/examples.rst: -------------------------------------------------------------------------------- 1 | .. include:: /prrte-rst-content/detail-placement-examples.rst 2 | -------------------------------------------------------------------------------- /docs/placement/limits.rst: -------------------------------------------------------------------------------- 1 | .. include:: /prrte-rst-content/detail-placement-limits.rst 2 | -------------------------------------------------------------------------------- /docs/requirements.txt: -------------------------------------------------------------------------------- 1 | sphinx>=4.2.0 2 | recommonmark 3 | docutils 4 | sphinx-rtd-theme 5 | -------------------------------------------------------------------------------- /contrib/platform/optimized: -------------------------------------------------------------------------------- 1 | enable_mem_debug=no 2 | enable_mem_profile=no 3 | enable_debug=no 4 | -------------------------------------------------------------------------------- /docs/placement/deprecated.rst: -------------------------------------------------------------------------------- 1 | .. include:: /prrte-rst-content/detail-placement-deprecated.rst 2 | -------------------------------------------------------------------------------- /docs/placement/rankfiles.rst: -------------------------------------------------------------------------------- 1 | .. include:: /prrte-rst-content/detail-placement-rankfiles.rst 2 | -------------------------------------------------------------------------------- /docs/hosts/relative-indexing.rst: -------------------------------------------------------------------------------- 1 | .. include:: /prrte-rst-content/detail-hosts-relative-indexing.rst 2 | -------------------------------------------------------------------------------- /docs/placement/diagnostics.rst: -------------------------------------------------------------------------------- 1 | .. include:: /prrte-rst-content/detail-placement-diagnostics.rst 2 | -------------------------------------------------------------------------------- /docs/placement/fundamentals.rst: -------------------------------------------------------------------------------- 1 | .. include:: /prrte-rst-content/detail-placement-fundamentals.rst 2 | -------------------------------------------------------------------------------- /docs/license.rst: -------------------------------------------------------------------------------- 1 | License 2 | ========= 3 | 4 | .. literalinclude:: ../LICENSE 5 | :language: text 6 | -------------------------------------------------------------------------------- /docs/hosts/hostfiles.rst: -------------------------------------------------------------------------------- 1 | Hostfiles 2 | ========= 3 | 4 | .. include:: /prrte-rst-content/detail-hostfiles.rst 5 | -------------------------------------------------------------------------------- /contrib/amca-param-sets/example.conf: -------------------------------------------------------------------------------- 1 | # 2 | # This is an example file illustrating how to setup an Aggregate MCA parameters 3 | # file. 4 | # 5 | # 6 | -------------------------------------------------------------------------------- /contrib/coverity/coverity-model.c: -------------------------------------------------------------------------------- 1 | void opal_btl_usnic_util_abort(const char *msg, const char *file, int line) { 2 | __coverity_panic__(); 3 | } 4 | -------------------------------------------------------------------------------- /docs/man/man5/index.rst: -------------------------------------------------------------------------------- 1 | Config file manual pages (section 5) 2 | ==================================== 3 | 4 | .. toctree:: 5 | :maxdepth: 1 6 | 7 | prte.5.rst 8 | -------------------------------------------------------------------------------- /src/rml/oob/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/rml/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: Nanook 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/errmgr/dvm/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: active 8 | -------------------------------------------------------------------------------- /src/mca/ess/env/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: Intel 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/ess/hnp/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/ess/lsf/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/ess/tm/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/iof/base/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/iof/hnp/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/plm/lsf/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/plm/pals/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: LANL 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/plm/ssh/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/plm/tm/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/ras/base/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/ras/lsf/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/ras/pbs/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/rmaps/lsf/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: IBM 7 | status: unmaintained 8 | -------------------------------------------------------------------------------- /src/mca/rmaps/seq/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: IBM 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/schizo/base/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: active 8 | -------------------------------------------------------------------------------- /src/mca/state/base/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: active 8 | -------------------------------------------------------------------------------- /src/mca/state/dvm/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: active 8 | -------------------------------------------------------------------------------- /src/mca/state/prted/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: active 8 | -------------------------------------------------------------------------------- /contrib/docker/prte.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=PRRTE persistent service. 3 | 4 | [Service] 5 | Type=simple 6 | ExecStart=/opt/hpc/local/prrte/bin/prte 7 | 8 | [Install] 9 | WantedBy=multi-user.target 10 | -------------------------------------------------------------------------------- /src/mca/errmgr/base/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/errmgr/prted/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/ess/base/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: project 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/ess/slurm/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/filem/base/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/filem/raw/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/grpcomm/base/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/iof/prted/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/odls/base/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: project 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/odls/pdefault/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/plm/base/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: project 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/plm/slurm/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/ras/simulator/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/ras/slurm/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/rmaps/base/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/rmaps/ppr/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/rmaps/rank_file/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: IBM 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /test/cycle_forever.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | i=0 3 | for (( ; ; )) 4 | do 5 | prun -n 1 hostname > /dev/null 6 | ((i++)) 7 | if [ $i -eq 1000 ] 8 | then 9 | echo Executed $i times 10 | i=0; 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /src/mca/grpcomm/direct/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/prtebacktrace/base/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner:project 7 | status:maintenance 8 | -------------------------------------------------------------------------------- /src/mca/prtebacktrace/none/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: SNL 7 | status:maintenance 8 | -------------------------------------------------------------------------------- /src/mca/prteinstalldirs/base/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: project 7 | status:active 8 | -------------------------------------------------------------------------------- /src/mca/prteinstalldirs/env/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: SNL 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/prtereachable/base/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: AMAZON 7 | status: active 8 | -------------------------------------------------------------------------------- /src/mca/prtereachable/netlink/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: AMAZON 7 | status: active 8 | -------------------------------------------------------------------------------- /src/mca/prtereachable/weighted/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: AMAZON 7 | status: active 8 | -------------------------------------------------------------------------------- /src/mca/ras/gridengine/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: unmaintained 8 | -------------------------------------------------------------------------------- /src/mca/rmaps/round_robin/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: INTEL 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/schizo/ompi/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: Nanook Consulting 7 | status: active 8 | -------------------------------------------------------------------------------- /src/mca/schizo/prte/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: Nanook Consulting 7 | status: active 8 | -------------------------------------------------------------------------------- /src/mca/prtebacktrace/execinfo/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: SNL 7 | status:maintenance 8 | -------------------------------------------------------------------------------- /src/mca/prtebacktrace/printstack/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: SNL 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/prteinstalldirs/config/owner.txt: -------------------------------------------------------------------------------- 1 | # 2 | # owner/status file 3 | # owner: institution that is responsible for this package 4 | # status: e.g. active, maintenance, unmaintained 5 | # 6 | owner: SNL 7 | status: maintenance 8 | -------------------------------------------------------------------------------- /src/mca/rmaps/rank_file/common_sym_whitelist.txt: -------------------------------------------------------------------------------- 1 | # Ignore symbols in this component that are auto-generated and we 2 | # can't do anything about them (e.g., flex/bison symbols). 3 | prte_rmaps_rank_file_leng 4 | prte_rmaps_rank_file_text 5 | -------------------------------------------------------------------------------- /docs/man/man1/index.rst: -------------------------------------------------------------------------------- 1 | Commands (section 1) 2 | ==================== 3 | 4 | .. toctree:: 5 | :maxdepth: 1 6 | 7 | prte.1.rst 8 | prte_info.1.rst 9 | prted.1.rst 10 | prterun.1.rst 11 | prun.1.rst 12 | pterm.1.rst 13 | -------------------------------------------------------------------------------- /docs/man/man5/prte.5.rst: -------------------------------------------------------------------------------- 1 | .. _man5-prte: 2 | 3 | prte 4 | ==== 5 | 6 | PMIx Reference Runtime Environment (PRRTE) - General information 7 | 8 | .. admonition:: PRRTE Docs TODO 9 | :class: error 10 | 11 | Need to write this man page. 12 | -------------------------------------------------------------------------------- /test/runtest.bash: -------------------------------------------------------------------------------- 1 | 2 | for ((i=0; i < 1; i++)); do 3 | prte --no-ready-msg --report-uri foo$i.txt & 4 | prun --map-by ppr:1:node --dvm-uri file:foo$i.txt --wait-to-connect 2 /Users/rhc/pmix/prrte2/examples/client2 5 | pterm --dvm-uri file:foo$i.txt 6 | done 7 | -------------------------------------------------------------------------------- /contrib/platform/intel/bend/mac: -------------------------------------------------------------------------------- 1 | enable_sensors=no 2 | enable_debug_symbols=yes 3 | enable_binaries=yes 4 | enable_picky=no 5 | enable_debug=yes 6 | enable_shared=yes 7 | enable_static=no 8 | enable_ipv6=no 9 | with_devel_headers=yes 10 | enable_prte_prefix_by_default=yes 11 | -------------------------------------------------------------------------------- /contrib/docker/drop-in.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (c) 2020 Intel, Inc. All rights reserved. 4 | # Copyright (c) 2020 IBM Corporation. All rights reserved. 5 | 6 | docker exec -it -u prteuser -w /home/prteuser/ --env COLUMNS=`tput cols` --env LINES=`tput lines` $USER-node00 bash 7 | -------------------------------------------------------------------------------- /docs/how-things-work/schedulers/index.rst: -------------------------------------------------------------------------------- 1 | 2 | Scheduler Integration 3 | ===================== 4 | 5 | This section describes PRRTE support for interactions 6 | with schedulers. 7 | 8 | .. toctree:: 9 | :maxdepth: 2 10 | 11 | overview.rst 12 | structures.rst 13 | flow_of_control.rst 14 | -------------------------------------------------------------------------------- /docs/news/news-v1.x.rst: -------------------------------------------------------------------------------- 1 | PRRTE v1.x series 2 | ================= 3 | 4 | This file contains all the NEWS updates for all the PRTE v1.x 5 | series, in reverse chronological order. 6 | 7 | 1.0.0 -- 17 Jul 2019 8 | ---------------------- 9 | 10 | Initial public release - not production intended 11 | -------------------------------------------------------------------------------- /contrib/platform/clang/align: -------------------------------------------------------------------------------- 1 | CC=clang 2 | CXX=clang++ 3 | CFLAGS="-g -O1 -fsanitize=alignment" 4 | CXXFLAGS="-O1 -g -fsanitize=alignment" 5 | CCASFLAGS="-O1 -g -fsanitize=alignment" 6 | with_wrapper_cflags="-O1 -g -fsanitize=alignment" 7 | with_wrapper_cxxflags="-O1 -g -fsanitize=alignment" 8 | enable_mpi_fortran=no 9 | -------------------------------------------------------------------------------- /contrib/scaling/mpi_no_op.c: -------------------------------------------------------------------------------- 1 | /* -*- C -*- 2 | * 3 | * $HEADER$ 4 | * 5 | * The most basic of MPI applications 6 | */ 7 | 8 | #include 9 | #include "mpi.h" 10 | 11 | int main(int argc, char* argv[]) 12 | { 13 | MPI_Init(&argc, &argv); 14 | 15 | MPI_Finalize(); 16 | return 0; 17 | } 18 | -------------------------------------------------------------------------------- /src/common_sym_whitelist.txt: -------------------------------------------------------------------------------- 1 | # Ignore symbols in libopen-rte that are auto-generated and we can't 2 | # do anything about them (e.g., flex/bison symbols). 3 | prte_util_hostfile_leng 4 | prte_util_hostfile_text 5 | prte_util_keyval_yyleng 6 | prte_util_keyval_yytext 7 | pmix_show_help_yyleng 8 | pmix_show_help_yytext 9 | 10 | -------------------------------------------------------------------------------- /test/clichk.c: -------------------------------------------------------------------------------- 1 | #define _GNU_SOURCE 2 | #include 3 | #include 4 | #include 5 | #include 6 | 7 | #include 8 | 9 | int main(int argc, char **argv) 10 | { 11 | char *tmp = PMIx_Argv_join(argv, ' '); 12 | fprintf(stderr, "CMDLINE: %s\n", tmp); 13 | return 0; 14 | } 15 | -------------------------------------------------------------------------------- /docs/getting-help.rst: -------------------------------------------------------------------------------- 1 | Getting help 2 | ============ 3 | 4 | The best way to report bugs, send comments, or ask questions is to 5 | post them on the `PRRTE GitHub issue tracker 6 | `_. 7 | 8 | When submitting questions and problems, be sure to include as much 9 | extra information as possible. 10 | -------------------------------------------------------------------------------- /contrib/platform/snl/portals4-orte: -------------------------------------------------------------------------------- 1 | with_memory_manager=no 2 | enable_mca_no_build=bml,btl,coll-hierarch,coll-sm,common-sm,mpool,pml-bfo,pml-csum,pml-dr,pml-ob1,osc-rdma,rcache,vprotocol 3 | enable_contrib_no_build=libnbc 4 | enable_heterogeneous=no 5 | enable_mem_debug=no 6 | enable_mem_profile=no 7 | with_verbs=no 8 | with_gm=no 9 | with_mx=no 10 | -------------------------------------------------------------------------------- /include/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2015-2020 Intel, Inc. All rights reserved. 3 | # 4 | # Copyright (c) 2021-2025 Nanook Consulting All rights reserved. 5 | # $COPYRIGHT$ 6 | # 7 | # Additional copyrights may follow 8 | # 9 | # $HEADER$ 10 | # 11 | 12 | include_HEADERS = \ 13 | prte.h 14 | 15 | nodist_include_HEADERS = \ 16 | prte_version.h 17 | -------------------------------------------------------------------------------- /src/docs/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2022-2023 Cisco Systems, Inc. All rights reserved. 3 | # Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 4 | # Copyright (c) 2023-2025 Nanook Consulting All rights reserved. 5 | # 6 | # $COPYRIGHT$ 7 | # 8 | # Additional copyrights may follow 9 | # 10 | # $HEADER$ 11 | # 12 | 13 | SUBDIRS = \ 14 | prrte-rst-content 15 | -------------------------------------------------------------------------------- /docs/how-things-work/index.rst: -------------------------------------------------------------------------------- 1 | How Things Work 2 | =============== 3 | 4 | This section explains how some of the functions inside 5 | PRRTE perform their job. If you have questions about, for 6 | example, how session directory trees work, then you will 7 | find information on that subject here. 8 | 9 | .. toctree:: 10 | :maxdepth: 2 11 | 12 | session_dirs.rst 13 | schedulers/index.rst 14 | -------------------------------------------------------------------------------- /contrib/scaling/Makefile: -------------------------------------------------------------------------------- 1 | PROGS = prte_no_op mpi_no_op mpi_memprobe 2 | 3 | all: $(PROGS) 4 | 5 | CFLAGS = -O 6 | 7 | prte_no_op: prte_no_op.c 8 | prtecc -o prte_no_op prte_no_op.c 9 | 10 | mpi_no_op: mpi_no_op.c 11 | mpicc -o mpi_no_op mpi_no_op.c 12 | 13 | mpi_memprobe: mpi_memprobe.c 14 | mpicc -o mpi_memprobe mpi_memprobe.c -lopen-pal -lopen-rte 15 | 16 | clean: 17 | rm -f $(PROGS) *~ 18 | -------------------------------------------------------------------------------- /docs/launching-apps/scheduling.rst: -------------------------------------------------------------------------------- 1 | Placing processes across hosts 2 | ============================== 3 | 4 | PRRTE provides many options for placing application processes across 5 | hosts, including oversubscribing processes to processors. This section 6 | describes how to define that mapping. 7 | 8 | Placement overview 9 | ------------------ 10 | 11 | .. include:: /prrte-rst-content/detail-placement-fundamentals.rst 12 | -------------------------------------------------------------------------------- /docs/how-things-work/schedulers/overview.rst: -------------------------------------------------------------------------------- 1 | Overview 2 | ======== 3 | 4 | While PRRTE does not itself contain a scheduler, it does support scheduler-related 5 | operations as a means of providing users and researchers with an environment within 6 | which they can investigate/explore dynamic operations. It will , of course, interact 7 | with any PMIx-based scheduler to support allocation requests and directives for 8 | executing jobs within an allocation. 9 | -------------------------------------------------------------------------------- /contrib/platform/intel/bend/pi: -------------------------------------------------------------------------------- 1 | enable_prterun_prefix_by_default=yes 2 | enable_mpi_thread_multiple=no 3 | enable_mem_debug=no 4 | enable_mem_profile=no 5 | enable_debug_symbols=yes 6 | enable_binaries=yes 7 | enable_heterogeneous=no 8 | enable_picky=yes 9 | enable_debug=yes 10 | enable_shared=yes 11 | enable_static=no 12 | enable_memchecker=no 13 | enable_ipv6=no 14 | enable_install_libpmix=yes 15 | with_memory_manager=no 16 | with_tm=no 17 | with_devel_headers=yes 18 | -------------------------------------------------------------------------------- /src/mca/prteinstalldirs/configure.m4: -------------------------------------------------------------------------------- 1 | dnl -*- shell-script -*- 2 | dnl 3 | dnl Copyright (c) 2006-2010 Sandia National Laboratories. All rights reserved. 4 | dnl Copyright (c) 2019-2020 Intel, Inc. All rights reserved. 5 | dnl Copyright (c) 2020 Cisco Systems, Inc. All rights reserved 6 | dnl $COPYRIGHT$ 7 | dnl 8 | dnl Additional copyrights may follow 9 | dnl 10 | dnl $HEADER$ 11 | dnl 12 | 13 | AC_DEFUN([MCA_prte_prteinstalldirs_CONFIGURE_MODE], [PRIORITY]) 14 | -------------------------------------------------------------------------------- /contrib/platform/embedded/build_embedded.sh: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env bash 2 | # 3 | 4 | if (( $# < 2 )) ; then 5 | echo "usage ./contrib/platform/embedded/build_embedded.sh prefix debug|optimized" 6 | exit 1 7 | fi 8 | 9 | prefix=$1 10 | shift 1 11 | platform=$1 12 | 13 | ./configure --prefix="${prefix}" --with-platform=contrib/platform/embedded/"${platform}" 14 | make clean > /dev/null 15 | make -j2 all > /dev/null 16 | make -j2 install > /dev/null 17 | 18 | # All done 19 | exit 0 20 | -------------------------------------------------------------------------------- /docs/developers/index.rst: -------------------------------------------------------------------------------- 1 | Developer's guide 2 | ================= 3 | 4 | This section is here for those who are building/exploring the 5 | internals of PRRTE in its source code form, most likely through a 6 | developer's tree (i.e., a Git clone). 7 | 8 | If you are simply *using* PRRTE, you probably don't need to read this 9 | section. 10 | 11 | .. toctree:: 12 | :maxdepth: 1 13 | 14 | prerequisites.rst 15 | git-github 16 | gnu-autotools 17 | sphinx 18 | rst-for-markdown-expats.rst 19 | -------------------------------------------------------------------------------- /contrib/platform/embedded/gen_embedded.sh: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env bash 2 | # 3 | 4 | if (( $# < 2 )) ; then 5 | echo "usage ./contrib/platform/embedded/gen_embedded.sh prefix debug|optimized" 6 | exit 1 7 | fi 8 | 9 | prefix=$1 10 | shift 1 11 | platform=$1 12 | 13 | ./autogen.pl -no-ompi 14 | ./configure --prefix="${prefix}" --with-platform=contrib/platform/embedded/"${platform}" 15 | make clean > /dev/null 16 | make -j2 all > /dev/null 17 | make -j2 install > /dev/null 18 | 19 | # All done 20 | exit 0 21 | -------------------------------------------------------------------------------- /contrib/docker/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Intel, Inc. All rights reserved. 2 | # Copyright (c) 2020 IBM Corporation. All rights reserved. 3 | 4 | all: leap15 centos7 centos8 5 | 6 | leap15: Dockerfile.leap15.ssh 7 | docker build -t prrte/leap15:latest -f Dockerfile.leap15.ssh . 8 | 9 | centos7: Dockerfile.centos7.ssh 10 | docker build -t prrte/centos7:latest -f Dockerfile.centos7.ssh . 11 | 12 | centos8: Dockerfile.centos8.ssh 13 | docker build -t prrte/centos8:latest -f Dockerfile.centos8.ssh . 14 | -------------------------------------------------------------------------------- /docs/hosts/index.rst: -------------------------------------------------------------------------------- 1 | Host specification 2 | ================== 3 | 4 | PRRTE identifies hosts on which to launch processes by: 5 | 6 | #. A Resource Manager (RM) telling PRRTE which hosts to use 7 | #. The user providing a hostfile (also sometimes called a "machine 8 | file") 9 | #. The user providing a list of hosts on the command line 10 | 11 | The sections below describe each of these in more detail. 12 | 13 | .. toctree:: 14 | :maxdepth: 1 15 | 16 | rm 17 | hostfiles 18 | cli 19 | relative-indexing 20 | -------------------------------------------------------------------------------- /config/ltmain_pgi_tp.diff: -------------------------------------------------------------------------------- 1 | --- config/ltmain.sh 2 | +++ config/ltmain.sh 3 | @@ -4765,7 +4765,7 @@ 4 | # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC 5 | # @file GCC response files 6 | -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ 7 | - -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) 8 | + -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp|-tp=*) 9 | func_quote_for_eval "$arg" 10 | arg="$func_quote_for_eval_result" 11 | func_append compile_command " $arg" 12 | -------------------------------------------------------------------------------- /src/mca/prtedl/base/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2015 Cisco Systems, Inc. All rights reserved. 3 | # Copyright (c) 2019-2020 Intel, Inc. All rights reserved. 4 | # Copyright (c) 2022 Nanook Consulting. All rights reserved. 5 | # $COPYRIGHT$ 6 | # 7 | # Additional copyrights may follow 8 | # 9 | # $HEADER$ 10 | # 11 | 12 | headers += \ 13 | base/base.h 14 | 15 | libprtemca_prtedl_la_SOURCES += \ 16 | base/prtedl_base_open.c \ 17 | base/prtedl_base_close.c \ 18 | base/prtedl_base_select.c \ 19 | base/prtedl_base_fns.c 20 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/cli-unset-env.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2025 Nanook Consulting All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Unset the named environmental variable. Note ``--unset-env foo*`` unsets all 16 | current environmental variables starting with "foo" 17 | -------------------------------------------------------------------------------- /config/getdate.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Copyright (c) 2017 Research Organization for Information Science 4 | # and Technology (RIST). All rights reserved. 5 | # Copyright (c) 2020 Cisco Systems, Inc. All rights reserved. 6 | 7 | # Provide a way to override build date for reproducible build results 8 | # See https://reproducible-builds.org/ for why this is good. 9 | 10 | SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-$(date +%s)}" 11 | date -u -d "@$SOURCE_DATE_EPOCH" "$@" 2>/dev/null || date -u -r "$SOURCE_DATE_EPOCH" "$@" 2>/dev/null || date -u "$@" 12 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/cli-stream-buffering.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Adjust buffering for stdout/stderr. Allowable values: 16 | 17 | * 0: unbuffered 18 | * 1: line buffered 19 | * 2: fully buffered 20 | -------------------------------------------------------------------------------- /src/mca/prteinstalldirs/base/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2006 Los Alamos National Security, LLC. All rights 3 | # reserved. 4 | # Copyright (c) 2019-2020 Intel, Inc. All rights reserved. 5 | # Copyright (c) 2022 Nanook Consulting. All rights reserved. 6 | # $COPYRIGHT$ 7 | # 8 | # Additional copyrights may follow 9 | # 10 | # $HEADER$ 11 | # 12 | 13 | headers += \ 14 | base/base.h 15 | 16 | libprtemca_prteinstalldirs_la_SOURCES += \ 17 | base/prteinstalldirs_base_components.c \ 18 | base/prteinstalldirs_base_expand.c 19 | -------------------------------------------------------------------------------- /config/from-savannah/README.md: -------------------------------------------------------------------------------- 1 | These files downloaded from 2 | https://git.savannah.gnu.org/gitweb/?p=config.git at git hash 3 | 6faca61810d335c7837f320733fe8e15a1431fc2 on 26 Jan 2021. 4 | 5 | They were stashed here in the PRRTE repository in response to 6 | https://github.com/open-mpi/ompi/issues/8410, where it was determined 7 | that the responses from `config.*` installed by Autoconf were not 8 | sufficient for some modern platforms (e.g., Apple M1 Macs). 9 | 10 | `autogen.pl` will copy in these files if they are, in fact, newer than 11 | the corresponding files installed by Autoconf. 12 | -------------------------------------------------------------------------------- /contrib/scaling/orte_no_op.c: -------------------------------------------------------------------------------- 1 | /* -*- C -*- 2 | * 3 | * $HEADER$ 4 | * 5 | * The most basic of applications 6 | */ 7 | 8 | #include 9 | #include "prte/constants.h" 10 | #include "prte/runtime/runtime.h" 11 | 12 | int main(int argc, char* argv[]) 13 | { 14 | if (PRTE_SUCCESS != prte_init(&argc, &argv, PRTE_PROC_NON_MPI)) { 15 | fprintf(stderr, "Failed prte_init\n"); 16 | exit(1); 17 | } 18 | 19 | if (PRTE_SUCCESS != prte_finalize()) { 20 | fprintf(stderr, "Failed prte_finalize\n"); 21 | exit(1); 22 | } 23 | return 0; 24 | } 25 | -------------------------------------------------------------------------------- /src/include/prte_portable_platform.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2021 Amazon.com, Inc. or its affiliates. All Rights 3 | * reserved. 4 | * Copyright (c) 2021-2024 Nanook Consulting All rights reserved. 5 | * $COPYRIGHT$ 6 | * 7 | * Additional copyrights may follow 8 | * 9 | * $HEADER$ 10 | * 11 | * Wrapper around GASNet's gasnet_portable_platform.h to avoid 12 | * compiler warnings 13 | */ 14 | 15 | #ifndef PRTE_PORTABLE_PLATFORM_H 16 | #define PRTE_PORTABLE_PLATFORM_H 1 17 | 18 | #include "src/include/prte_portable_platform_real.h" 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/cli-pmixmca.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Pass a PMIx MCA parameter 16 | 17 | Syntax: ``--pmixmca ``, where ``key`` is the parameter 18 | name and ``value`` is the parameter value. 19 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/cli-prtemca.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Pass a PRRTE MCA parameter. 16 | 17 | Syntax: ``--prtemca ``, where ``key`` is the parameter 18 | name and ``value`` is the parameter value. 19 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/cli-set-env.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2025 Nanook Consulting All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Set the named environmental variable to the specified value. This will overwrite the 16 | existing value, if it exists. Equivalent to the "-x foo=val" option 17 | -------------------------------------------------------------------------------- /docs/placement/index.rst: -------------------------------------------------------------------------------- 1 | Process placement 2 | ================= 3 | 4 | PRRTE provides a set of three controls for assigning process 5 | locations and ranks: 6 | 7 | #. Mapping: Assigns a default location to each process 8 | #. Ranking: Assigns a unique integer rank value to each process 9 | #. Binding: Constrains each process to run on specific processors 10 | 11 | The sections below describe these controls in more detail. 12 | 13 | .. toctree:: 14 | :maxdepth: 1 15 | 16 | overview 17 | examples 18 | fundamentals 19 | limits 20 | diagnostics 21 | rankfiles 22 | deprecated 23 | -------------------------------------------------------------------------------- /src/mca/schizo/base/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2015-2020 Intel, Inc. All rights reserved. 3 | # Copyright (c) 2020 Cisco Systems, Inc. All rights reserved 4 | # Copyright (c) 2021-2025 Nanook Consulting All rights reserved. 5 | # $COPYRIGHT$ 6 | # 7 | # Additional copyrights may follow 8 | # 9 | # $HEADER$ 10 | # 11 | 12 | EXTRA_DIST += \ 13 | base/help-schizo-base.txt 14 | 15 | headers += \ 16 | base/base.h 17 | 18 | libprtemca_schizo_la_SOURCES += \ 19 | base/schizo_base_frame.c \ 20 | base/schizo_base_select.c \ 21 | base/schizo_base_stubs.c 22 | -------------------------------------------------------------------------------- /contrib/platform/ibm/optimized-power6-gcc: -------------------------------------------------------------------------------- 1 | enable_mem_debug=no 2 | enable_mem_profile=no 3 | enable_debug=no 4 | enable_contrib_no_build=libnbc 5 | enable_ft_thread=no 6 | with_verbs=/usr 7 | enable_shared=yes 8 | enable_static=no 9 | CXXFLAGS="-m64 -mcpu=power6 -mtune=power6 -O3" 10 | CCASFLAGS="-m64 -mcpu=power6 -mtune=power6 -O3" 11 | FCFLAGS="-m64 -mcpu=power6 -mtune=power6 -O3" 12 | CFLAGS="-m64 -mcpu=power6 -mtune=power6 -O3" 13 | with_wrapper_cflags="-m64 -mcpu=power6 -mtune=power6" 14 | with_wrapper_cxxflags="-m64 -mcpu=power6 -mtune=power6" 15 | with_wrapper_fcflags="-m64 -mcpu=power6 -mtune=power6" 16 | -------------------------------------------------------------------------------- /contrib/platform/ibm/optimized-power7-gcc: -------------------------------------------------------------------------------- 1 | enable_mem_debug=no 2 | enable_mem_profile=no 3 | enable_debug=no 4 | enable_contrib_no_build=libnbc 5 | enable_ft_thread=no 6 | with_verbs=/usr 7 | enable_shared=yes 8 | enable_static=no 9 | CXXFLAGS="-m64 -mcpu=power7 -mtune=power7 -O3" 10 | CCASFLAGS="-m64 -mcpu=power7 -mtune=power7 -O3" 11 | FCFLAGS="-m64 -mcpu=power7 -mtune=power7 -O3" 12 | CFLAGS="-m64 -mcpu=power7 -mtune=power7 -O3" 13 | with_wrapper_cflags="-m64 -mcpu=power7 -mtune=power7" 14 | with_wrapper_cxxflags="-m64 -mcpu=power7 -mtune=power7" 15 | with_wrapper_fcflags="-m64 -mcpu=power7 -mtune=power7" 16 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/deprecated-xml.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Provide all output in XML format. 16 | 17 | .. admonition:: Deprecated 18 | :class: warning 19 | 20 | This option is deprecated. Please use ``--output``. 21 | -------------------------------------------------------------------------------- /docs/man/index.rst: -------------------------------------------------------------------------------- 1 | PRRTE manual pages 2 | ================== 3 | 4 | All of the content in this section is also installed as individual 5 | manual ("man") pages in a PRRTE installation. If your man page search 6 | path includes the location where PRRTE installed its man pages (which 7 | defaults to ``$prefix/share/man``), you can invoke commands similar to 8 | the following to see the same content that you see in these HTML 9 | pages: 10 | 11 | .. code:: sh 12 | 13 | shell$ man prterun 14 | 15 | PRRTE man pages, by section: 16 | 17 | .. toctree:: 18 | :maxdepth: 1 19 | 20 | man1/index 21 | man5/index 22 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/deprecated-bind-to-core.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Bind each process to its own core. 16 | 17 | .. admonition:: Deprecated 18 | :class: warning 19 | 20 | This option is deprecated. Please use ``--bind-to core``. 21 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/deprecated-tag-output.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Tag all output with ``[job,rank]``. 16 | 17 | .. admonition:: Deprecated 18 | :class: warning 19 | 20 | This option is deprecated. Please use ``--output``. 21 | -------------------------------------------------------------------------------- /src/mca/prtereachable/base/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2010 Cisco Systems, Inc. All rights reserved. 3 | # Copyright (c) 2012-2013 Los Alamos National Security, Inc. All rights reserved. 4 | # Copyright (c) 2014-2020 Intel, Inc. All rights reserved. 5 | # Copyright (c) 2022 Nanook Consulting. All rights reserved. 6 | # $COPYRIGHT$ 7 | # 8 | # Additional copyrights may follow 9 | # 10 | # $HEADER$ 11 | # 12 | 13 | headers += \ 14 | base/base.h 15 | 16 | libprtemca_prtereachable_la_SOURCES += \ 17 | base/reachable_base_frame.c \ 18 | base/reachable_base_select.c \ 19 | base/reachable_base_alloc.c 20 | -------------------------------------------------------------------------------- /contrib/platform/snl/portals4-m5: -------------------------------------------------------------------------------- 1 | enable_static=yes 2 | enable_shared=no 3 | with_threads=no 4 | enable_dlopen=no 5 | with_memory_manager=no 6 | enable_mca_no_build=carto,compress,crs,maffinity,paffinity,debugger,notifier,bml,btl,coll-hierarch,coll-sm,common-sm,mpool,pml-bfo,pml-csum,pml-dr,pml-ob1,osc-rdma,rcache,vprotocol,btl 7 | enable_contrib_no_build=libnbc 8 | with_rte_support=no 9 | enable_heterogeneous=no 10 | enable_pty_support=no 11 | enable_mem_debug=no 12 | enable_mem_profile=no 13 | with_openib=no 14 | with_gm=no 15 | with_mx=no 16 | enable_binaries=no 17 | enable_script_wrapper_compilers=yes 18 | enable_mpi_fortran=no 19 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/cli-debug-daemons.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Debug daemon output enabled. This is a somewhat limited stream of 16 | information normally used to simply confirm that the daemons 17 | started. Includes leaving the output streams open. 18 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/deprecated-display-map.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Display the process map just before launch. 16 | 17 | .. admonition:: Deprecated 18 | :class: warning 19 | 20 | This option is deprecated. Please use ``--display map``. 21 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/deprecated-merge-stderr-to-stdout.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Merge stderr to stdout for each process. 16 | 17 | .. admonition:: Deprecated 18 | :class: warning 19 | 20 | This option is deprecated. Please use ``--output merge`` 21 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/deprecated-report-bindings.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Display process bindings to stderr. 16 | 17 | .. admonition:: Deprecated 18 | :class: warning 19 | 20 | This option is deprecated. Please use ``--display bindings``. 21 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/deprecated-display-allocation.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Display the allocation being used by this job. 16 | 17 | .. admonition:: Deprecated 18 | :class: warning 19 | 20 | This option is deprecated. Please use ``--display alloc``. 21 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/deprecated-timestamp-output.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Timestamp all application process output. 16 | 17 | .. admonition:: Deprecated 18 | :class: warning 19 | 20 | This option is deprecated. Please use ``--output timestamp``. 21 | -------------------------------------------------------------------------------- /contrib/platform/ibm/optimized-ppc32-gcc: -------------------------------------------------------------------------------- 1 | enable_mem_debug=no 2 | enable_mem_profile=no 3 | enable_debug=no 4 | enable_contrib_no_build=libnbc 5 | enable_ft_thread=no 6 | with_verbs=/usr 7 | enable_shared=yes 8 | enable_static=no 9 | CXXFLAGS="-m32 -mcpu=powerpc64 -mtune=powerpc64 -O3" 10 | CCASFLAGS="-m32 -mcpu=powerpc64 -mtune=powerpc64 -O3" 11 | FCFLAGS="-m32 -mcpu=powerpc64 -mtune=powerpc64 -O3" 12 | CFLAGS="-m32 -mcpu=powerpc64 -mtune=powerpc64 -O3" 13 | with_wrapper_cflags="-m32 -mcpu=powerpc64 -mtune=powerpc64" 14 | with_wrapper_cxxflags="-m32 -mcpu=powerpc64 -mtune=powerpc64" 15 | with_wrapper_fcflags="-m32 -mcpu=powerpc64 -mtune=powerpc64" 16 | -------------------------------------------------------------------------------- /contrib/platform/ibm/optimized-ppc64-gcc: -------------------------------------------------------------------------------- 1 | enable_mem_debug=no 2 | enable_mem_profile=no 3 | enable_debug=no 4 | enable_contrib_no_build=libnbc 5 | enable_ft_thread=no 6 | with_verbs=/usr 7 | enable_shared=yes 8 | enable_static=no 9 | CXXFLAGS="-m64 -mcpu=powerpc64 -mtune=powerpc64 -O3" 10 | CCASFLAGS="-m64 -mcpu=powerpc64 -mtune=powerpc64 -O3" 11 | FCFLAGS="-m64 -mcpu=powerpc64 -mtune=powerpc64 -O3" 12 | CFLAGS="-m64 -mcpu=powerpc64 -mtune=powerpc64 -O3" 13 | with_wrapper_cflags="-m64 -mcpu=powerpc64 -mtune=powerpc64" 14 | with_wrapper_cxxflags="-m64 -mcpu=powerpc64 -mtune=powerpc64" 15 | with_wrapper_fcflags="-m64 -mcpu=powerpc64 -mtune=powerpc64" 16 | -------------------------------------------------------------------------------- /src/util/ethtool.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 Karol Mroz. All rights reserved. 3 | * Copyright (c) 2019 Intel, Inc. All rights reserved. 4 | * Copyright (c) 2020 Cisco Systems, Inc. All rights reserved 5 | * $COPYRIGHT$ 6 | * 7 | * Additional copyrights may follow 8 | * 9 | * $HEADER$ 10 | */ 11 | 12 | #ifndef PRTE_ETHTOOL_H 13 | #define PRTE_ETHTOOL_H 14 | 15 | /* 16 | * Obtain an appropriate bandwidth for the interface if_name. On Linux, we 17 | * get this via an ioctl(). Elsewhere or in the error case, we return the 18 | * speed as 0. 19 | */ 20 | unsigned int prte_ethtool_get_speed(const char *if_name); 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /contrib/platform/ps3: -------------------------------------------------------------------------------- 1 | enable_io_romio=no 2 | enable_static=yes 3 | enable_shared=no 4 | with_threads=no 5 | enable_pretty_print_stacktrace=no 6 | enable_dlopen=no 7 | with_memory_manager=none 8 | enable_mca_no_build=maffinity,paffinity,timer,allocator-basic,rcache-vma,plm-gridengine,plm-slurm,ras-slurm,ras-gridengine,btl-sm,coll-hierarch,coll-sm,common-sm,mpool-sm,pml-dr,pml-cm,mpool-rdma,osc-rdma,ess-slurm,backtrace-darwin,memory-darwin,memory-malloc_hook,memory_ptmalloc2 9 | enable_heterogeneous=no 10 | enable_pty_support=no 11 | enable_mem_debug=no 12 | enable_mem_profile=no 13 | enable_debug_symbols=no 14 | enable_binaries=yes 15 | enable_mca_direct=pml-ob1 16 | -------------------------------------------------------------------------------- /test/attachtest/tool.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | int main(int argc, char **argv) 6 | { 7 | pmix_proc_t proc; 8 | pmix_status_t rc = PMIX_ERROR; 9 | 10 | rc = PMIx_tool_init(&proc, NULL, 0); 11 | if (rc != PMIX_SUCCESS) { 12 | fprintf(stderr, "PMIx_tool_init failed: %s\n", PMIx_Error_string(rc)); 13 | return EXIT_FAILURE; 14 | } 15 | 16 | rc = PMIx_tool_finalize(); 17 | if (rc != PMIX_SUCCESS) { 18 | fprintf(stderr, "PMIx_tool_finalize failed: %s\n", PMIx_Error_string(rc)); 19 | return EXIT_FAILURE; 20 | } 21 | 22 | return EXIT_SUCCESS; 23 | } 24 | -------------------------------------------------------------------------------- /contrib/platform/ibm/debug-power6-gcc: -------------------------------------------------------------------------------- 1 | enable_mem_debug=yes 2 | enable_debug_symbols=yes 3 | enable_debug=yes 4 | enable_mem_profile=no 5 | enable_contrib_no_build=libnbc 6 | enable_ft_thread=no 7 | with_verbs=/usr 8 | CXXFLAGS="-m64 -mcpu=power6 -mtune=power6 -O0 -g3 -ggdb" 9 | CCASFLAGS="-m64 -mcpu=power6 -mtune=power6 -O0 -g3 -ggdb" 10 | FCFLAGS="-m64 -mcpu=power6 -mtune=power6 -O0 -g3 -ggdb" 11 | CFLAGS="-m64 -mcpu=power6 -mtune=power6 -O0 -g3 -ggdb" 12 | with_wrapper_cflags="-m64 -mcpu=power6 -mtune=power6 -O0 -g3 -ggdb" 13 | with_wrapper_cxxflags="-m64 -mcpu=power6 -mtune=power6 -O0 -g3 -ggdb" 14 | with_wrapper_fcflags="-m64 -mcpu=power6 -mtune=power6 -O0 -g3 -ggdb" 15 | -------------------------------------------------------------------------------- /contrib/platform/ibm/debug-power7-gcc: -------------------------------------------------------------------------------- 1 | enable_mem_debug=yes 2 | enable_debug_symbols=yes 3 | enable_debug=yes 4 | enable_mem_profile=no 5 | enable_contrib_no_build=libnbc 6 | enable_ft_thread=no 7 | with_verbs=/usr 8 | CXXFLAGS="-m64 -mcpu=power7 -mtune=power7 -O0 -g3 -ggdb" 9 | CCASFLAGS="-m64 -mcpu=power7 -mtune=power7 -O0 -g3 -ggdb" 10 | FCFLAGS="-m64 -mcpu=power7 -mtune=power7 -O0 -g3 -ggdb" 11 | CFLAGS="-m64 -mcpu=power7 -mtune=power7 -O0 -g3 -ggdb" 12 | with_wrapper_cflags="-m64 -mcpu=power7 -mtune=power7 -O0 -g3 -ggdb" 13 | with_wrapper_cxxflags="-m64 -mcpu=power7 -mtune=power7 -O0 -g3 -ggdb" 14 | with_wrapper_fcflags="-m64 -mcpu=power7 -mtune=power7 -O0 -g3 -ggdb" 15 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/cli-general.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | The following general command line options are available. 16 | 17 | * ``-h`` | ``--help``: This help message 18 | 19 | * ``-v`` | ``--verbose``: Enable extra verbose output 20 | 21 | * ``-V`` | ``--version``: Print version and exit 22 | -------------------------------------------------------------------------------- /test/runloop.bash: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | for i in {1..100} ; do 4 | rm -rf ~/tmp/prte* 5 | if [ $(expr $i % 2) == "0" ]; then 6 | echo "================================" 7 | echo "================================ Iteration $i" 8 | echo "================================" 9 | fi 10 | gtimeout -k 27 25 prterun -n 1 ./qspawn 11 | #timeout -k 133 130 mpiexec -n 1 python test/runtests.py -v -i test_spawn 12 | RTN=$? 13 | if [[ $RTN != 0 ]] ; then 14 | echo "=-=-=-=->> Error: Failed with $RTN" 15 | exit 1 16 | fi 17 | if [ $(expr $i % 2) == "0" ]; then 18 | echo "" 19 | fi 20 | done 21 | 22 | exit 0 23 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/cli-forward-signals.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Comma-delimited list of additional signals (names or integers) to 16 | forward to application processes (``none`` = forward 17 | nothing). Signals provided by default include SIGTSTP, SIGUSR1, 18 | SIGUSR2, SIGABRT, SIGALRM, and SIGCONT. 19 | -------------------------------------------------------------------------------- /src/mca/schizo/ompi/help-schizo-ompi.txt: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # 3 | # Copyright (c) 2021-2025 Nanook Consulting All rights reserved. 4 | # Copyright (c) 2022 Cisco Systems, Inc. All rights reserved. 5 | # Copyright (c) 2022 IBM Corporation. All rights reserved. 6 | # Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 7 | # $COPYRIGHT$ 8 | # 9 | # Additional copyrights may follow 10 | # 11 | # $HEADER$ 12 | # 13 | # 14 | [version] 15 | %s (%s) %s 16 | 17 | %s 18 | # 19 | [usage] 20 | %s (%s) %s 21 | 22 | Usage: %s [OPTION]... 23 | 24 | See the mpirun(1) man page or HTML help for a detailed list of command 25 | line options that are available. 26 | 27 | %s 28 | -------------------------------------------------------------------------------- /contrib/cleanperms: -------------------------------------------------------------------------------- 1 | #!/usr/bin/bash 2 | 3 | find . -type f -name "*.c" -perm /u+x -print -exec chmod -x {} \; 4 | find . -type f -name Makefile.am -perm /u+x -print -exec chmod -x {} \; 5 | find . -type f -name "*.h" -perm /u+x -print -exec chmod -x {} \; 6 | find . -type f -name Makefile.include -perm /u+x -print -exec chmod -x {} \; 7 | find . -type f -name Makefile -perm /u+x -print -exec chmod -x {} \; 8 | find . -type f -name "*.m4" -perm /u+x -print -exec chmod -x {} \; 9 | find . -type f -name "*.ac" -perm /u+x -print -exec chmod -x {} \; 10 | find . -type f -name "*.txt" -perm /u+x -print -exec chmod -x {} \; 11 | find . -type f -name "*.l" -perm /u+x -print -exec chmod -x {} \; 12 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/deprecated-display-devel-map.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Display a detailed process map (mostly intended for developers) 16 | just before launch. 17 | 18 | .. admonition:: Deprecated 19 | :class: warning 20 | 21 | This option is deprecated. Please use ``--display map-devel``. 22 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/deprecated-display-topo.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Display the topology as part of the process map (mostly intended 16 | for developers) just before launch. 17 | 18 | .. admonition:: Deprecated 19 | :class: warning 20 | 21 | This option is deprecated. Please use ``--display topo``. 22 | -------------------------------------------------------------------------------- /.readthedocs.yaml: -------------------------------------------------------------------------------- 1 | # .readthedocs.yaml 2 | # Read the Docs configuration file 3 | # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details 4 | 5 | # Required 6 | version: 2 7 | 8 | # Currently, RTD needs to select an OS with OpenSSL>=1.1.1 because of 9 | # urllib3's dependence on that system library. (alternately, pin urllib3<2 10 | # See https://github.com/urllib3/urllib3/issues/2168 11 | build: 12 | os: ubuntu-22.04 13 | tools: 14 | python: "3.10" 15 | 16 | python: 17 | install: 18 | - requirements: docs/requirements.txt 19 | 20 | # Build documentation in the docs/ directory with Sphinx 21 | sphinx: 22 | configuration: docs/conf.py 23 | fail_on_warning: true 24 | -------------------------------------------------------------------------------- /docs/man/man1/prted.1.rst: -------------------------------------------------------------------------------- 1 | .. _man1-prted: 2 | 3 | prted 4 | ===== 5 | 6 | prted |mdash| helper daemon for PRRTE 7 | 8 | SYNOPSIS 9 | -------- 10 | 11 | .. code:: sh 12 | 13 | shell$ prted ...options... 14 | 15 | DESCRIPTION 16 | ----------- 17 | 18 | ``prted`` is the back end helper daemon for PMIx Reference Runtime 19 | Environment (PRRTE). 20 | 21 | Extensive help documentation for this command is provided through 22 | ``prted --help [topic]``. 23 | 24 | At least for now, that content is not available in man page form. 25 | Pull requests to add all the content (via repeatable infrastructure) 26 | would be greatly appreciated. 27 | 28 | .. seealso:: 29 | :ref:`prte(1) ` 30 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/deprecated-display-devel-allocation.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Display a detailed list (mostly intended for developers) of the 16 | allocation being used by this job. 17 | 18 | .. admonition:: Deprecated 19 | :class: warning 20 | 21 | This option is deprecated. Please use ``--display alloc-devel``. 22 | -------------------------------------------------------------------------------- /contrib/platform/ibm/debug-ppc32-gcc: -------------------------------------------------------------------------------- 1 | enable_mem_debug=yes 2 | enable_debug_symbols=yes 3 | enable_debug=yes 4 | enable_mem_profile=no 5 | enable_contrib_no_build=libnbc 6 | enable_ft_thread=no 7 | with_verbs=/usr 8 | CXXFLAGS="-m32 -mcpu=powerpc64 -mtune=powerpc64 -O0 -g3 -ggdb" 9 | CCASFLAGS="-m32 -mcpu=powerpc64 -mtune=powerpc64 -O0 -g3 -ggdb" 10 | FCFLAGS="-m32 -mcpu=powerpc64 -mtune=powerpc64 -O0 -g3 -ggdb" 11 | CFLAGS="-m32 -mcpu=powerpc64 -mtune=powerpc64 -O0 -g3 -ggdb" 12 | with_wrapper_cflags="-m32 -mcpu=powerpc64 -mtune=powerpc64 -O0 -g3 -ggdb" 13 | with_wrapper_cxxflags="-m32 -mcpu=powerpc64 -mtune=powerpc64 -O0 -g3 -ggdb" 14 | with_wrapper_fcflags="-m32 -mcpu=powerpc64 -mtune=powerpc64 -O0 -g3 -ggdb" 15 | -------------------------------------------------------------------------------- /contrib/platform/ibm/debug-ppc64-gcc: -------------------------------------------------------------------------------- 1 | enable_mem_debug=yes 2 | enable_debug_symbols=yes 3 | enable_debug=yes 4 | enable_mem_profile=no 5 | enable_contrib_no_build=libnbc 6 | enable_ft_thread=no 7 | with_verbs=/usr 8 | CXXFLAGS="-m64 -mcpu=powerpc64 -mtune=powerpc64 -O0 -g3 -ggdb" 9 | CCASFLAGS="-m64 -mcpu=powerpc64 -mtune=powerpc64 -O0 -g3 -ggdb" 10 | FCFLAGS="-m64 -mcpu=powerpc64 -mtune=powerpc64 -O0 -g3 -ggdb" 11 | CFLAGS="-m64 -mcpu=powerpc64 -mtune=powerpc64 -O0 -g3 -ggdb" 12 | with_wrapper_cflags="-m64 -mcpu=powerpc64 -mtune=powerpc64 -O0 -g3 -ggdb" 13 | with_wrapper_cxxflags="-m64 -mcpu=powerpc64 -mtune=powerpc64 -O0 -g3 -ggdb" 14 | with_wrapper_fcflags="-m64 -mcpu=powerpc64 -mtune=powerpc64 -O0 -g3 -ggdb" 15 | -------------------------------------------------------------------------------- /contrib/platform/intel/bend/gadget-optimized: -------------------------------------------------------------------------------- 1 | enable_prterun_prefix_by_default=yes 2 | enable_mpi_thread_multiple=no 3 | enable_mem_debug=no 4 | enable_mem_profile=no 5 | enable_debug_symbols=no 6 | enable_binaries=yes 7 | enable_heterogeneous=no 8 | enable_picky=yes 9 | enable_debug=no 10 | enable_shared=no 11 | enable_static=yes 12 | enable_memchecker=no 13 | enable_ipv6=no 14 | enable_mpi_fortran=no 15 | enable_mpi_cxx=no 16 | enable_mpi_cxx_seek=no 17 | enable_cxx_exceptions=no 18 | enable_oshmem=no 19 | enable_mpi_java=no 20 | enable_io_romio=no 21 | enable_contrib_no_build=libnbc 22 | with_memory_manager=no 23 | with_tm=no 24 | with_verbs=no 25 | with_devel_headers=yes 26 | with_portals=no 27 | with_valgrind=no 28 | -------------------------------------------------------------------------------- /docs/man/man1/prte.1.rst: -------------------------------------------------------------------------------- 1 | .. _man1-prte: 2 | 3 | prte 4 | ==== 5 | 6 | prte |mdash| instantiate an instance of PRRTE DVM 7 | 8 | SYNOPSIS 9 | -------- 10 | 11 | .. code:: sh 12 | 13 | shell$ prte ...options... 14 | 15 | DESCRIPTION 16 | ----------- 17 | 18 | ``prte`` instantiates an instance of the PMIx Reference Run Time 19 | Environment (PRRTE) distributed virtual machine (DVM). 20 | 21 | Extensive help documentation for this command is provided through 22 | ``prte --help [topic]``. 23 | 24 | At least for now, that content is not available in man page form. 25 | Pull requests to add all the content (via repeatable infrastructure) 26 | would be greatly appreciated. 27 | 28 | .. seealso:: 29 | :ref:`prterun(1) ` 30 | -------------------------------------------------------------------------------- /docs/man/man1/pterm.1.rst: -------------------------------------------------------------------------------- 1 | .. _man1-pterm: 2 | 3 | pterm 4 | ===== 5 | 6 | pterm |mdash| terminate an instance of the PRRTE DVM 7 | 8 | SYNOPSIS 9 | -------- 10 | 11 | .. code:: sh 12 | 13 | shell$ pterm ...options... 14 | 15 | DESCRIPTION 16 | ----------- 17 | 18 | ``pterm`` terminates an instance of the PMIx Reference Runtime 19 | Environment (PRRTE) distributed virtual machine (DVM). 20 | 21 | Extensive help documentation for this command is provided through 22 | ``pterm --help [topic]``. 23 | 24 | At least for now, that content is not available in man page form. 25 | Pull requests to add all the content (via repeatable infrastructure) 26 | would be greatly appreciated. 27 | 28 | .. seealso:: 29 | :ref:`prte(1) ` 30 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/definitions-pes.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Definition of "processor element" 16 | ================================= 17 | 18 | By default, PRRTE defines that a "processing element" is a processor 19 | core. However, if ``--use-hwthread-cpus`` is specified on the command 20 | line, then a "processing element" is a hardware thread. 21 | 22 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/cli-append-env.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2025 Nanook Consulting All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Append the named environment variable with the given value. The "[c]" must 16 | be appended to the name to specify the separator to be used when appending 17 | the value. 18 | 19 | Example: ``--append-envar LD_LIBRARY_PATH[:] foo/lib`` will result in: 20 | 21 | ``LD_LIBRARY_PATH=$LD_LIBRARY_PATH:foo/lib`` 22 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/cli-noprefix.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Disable automatic ``--prefix`` behavior. PRRTE automatically sets the 16 | prefix for remote daemons if it was either configured with the 17 | ``--enable-prte-prefix-by-default`` option OR prte itself was executed 18 | with an absolute path to the ``prte`` command. This option disables 19 | that behavior. 20 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/cli-prepend-env.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2025 Nanook Consulting All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Prepend the named environment variable with the given value. The "[c]" must 16 | be appended to the name to specify the separator to be used when appending 17 | the value. 18 | 19 | Example: ``--prepend-envar LD_LIBRARY_PATH[:] foo/lib`` will result in: 20 | 21 | ``LD_LIBRARY_PATH=foo/lib:$LD_LIBRARY_PATH`` 22 | -------------------------------------------------------------------------------- /src/mca/prteinstalldirs/env/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2006 Los Alamos National Security, LLC. All rights 3 | # reserved. 4 | # Copyright (c) 2009 High Performance Computing Center Stuttgart, 5 | # University of Stuttgart. All rights reserved. 6 | # Copyright (c) 2019-2020 Intel, Inc. All rights reserved. 7 | # Copyright (c) 2020 Cisco Systems, Inc. All rights reserved 8 | # Copyright (c) 2022 Nanook Consulting. All rights reserved. 9 | # $COPYRIGHT$ 10 | # 11 | # Additional copyrights may follow 12 | # 13 | # $HEADER$ 14 | # 15 | 16 | noinst_LTLIBRARIES = libprtemca_prteinstalldirs_env.la 17 | 18 | libprtemca_prteinstalldirs_env_la_SOURCES = \ 19 | prte_installdirs_env.c 20 | -------------------------------------------------------------------------------- /docs/man/man1/prte_info.1.rst: -------------------------------------------------------------------------------- 1 | .. _man1-prte_info: 2 | 3 | prte_info 4 | ========= 5 | 6 | prte_info |mdash| Provide detailed information on your PRRTE installation 7 | 8 | SYNOPSIS 9 | -------- 10 | 11 | .. code:: sh 12 | 13 | prte_info ...options... 14 | 15 | DESCRIPTION 16 | ----------- 17 | 18 | ``prte_info`` provide detailed information on your PMIx Reference Run 19 | Time (PRRTE) installation. 20 | 21 | Extensive help documentation for this command is provided through 22 | ``prte_info --help [topic]``. 23 | 24 | At least for now, that content is not available in man page form. 25 | Pull requests to add all the content (via repeatable infrastructure) 26 | would be greatly appreciated. 27 | 28 | .. seealso:: 29 | :ref:`prte(1) ` 30 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/cli-no-app-prefix.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2025 Nanook Consulting All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Do not apply any prefix to this application. This is needed when a default 16 | PMIx prefix has been given to PRRTE, but the application has been built 17 | against a PMIx library that (a) is different from the one used by PRRTE, 18 | and (b) was not moved. Otherwise, PRRTE will apply its default prefix to 19 | the application. 20 | -------------------------------------------------------------------------------- /include/prte.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 Mellanox Technologies, Inc. 3 | * All rights reserved. 4 | * Copyright (c) 2018 IBM Corporation. All rights reserved. 5 | * Copyright (c) 2018 Intel, Inc. All rights reserved. 6 | * Copyright (c) 2019 Research Organization for Information Science 7 | * and Technology (RIST). All rights reserved. 8 | * Copyright (c) 2021 Nanook Consulting All rights reserved. 9 | * $COPYRIGHT$ 10 | * 11 | * Additional copyrights may follow 12 | * 13 | * $HEADER$ 14 | */ 15 | 16 | #ifndef PRTE_H 17 | #define PRTE_H 18 | 19 | #include "prte_version.h" 20 | 21 | /** 22 | * Main body of prte functionality 23 | */ 24 | int prte(int argc, char *argv[]); 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/cli-debug-daemons-file.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Debug daemon output is enabled and all output from the daemons is 16 | redirected into files with names of the form: 17 | 18 | .. code:: 19 | 20 | output-prted--.log 21 | 22 | These names avoid conflict on shared file systems. The files are 23 | located in the top-level session directory assigned to the DVM. 24 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/cli-prefix.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Prefix to be used to look for PRRTE executables. PRRTE automatically 16 | sets the prefix for remote daemons if it was either configured with 17 | the ``--enable-prte-prefix-by-default`` option OR prte itself was 18 | executed with an absolute path to the prte command. This option 19 | overrides those settings, if present, and forces use of the provided 20 | path. 21 | -------------------------------------------------------------------------------- /src/mca/schizo/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2015-2019 Intel, Inc. All rights reserved. 3 | # Copyright (c) 2020 Cisco Systems, Inc. All rights reserved 4 | # Copyright (c) 2022-2025 Nanook Consulting All rights reserved. 5 | # $COPYRIGHT$ 6 | # 7 | # Additional copyrights may follow 8 | # 9 | # $HEADER$ 10 | # 11 | 12 | # main library setup 13 | noinst_LTLIBRARIES = libprtemca_schizo.la 14 | libprtemca_schizo_la_SOURCES = 15 | 16 | # pkgdata setup 17 | EXTRA_DIST = 18 | 19 | # local files 20 | headers = schizo.h 21 | libprtemca_schizo_la_SOURCES += $(headers) 22 | 23 | # Conditionally install the header files 24 | prtedir = $(prteincludedir)/$(subdir) 25 | nobase_prte_HEADERS = $(headers) 26 | 27 | include base/Makefile.am 28 | 29 | distclean-local: 30 | rm -f base/static-components.h 31 | -------------------------------------------------------------------------------- /src/hwloc/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2011-2020 Cisco Systems, Inc. All rights reserved 3 | # Copyright (c) 2015-2020 Intel, Inc. All rights reserved. 4 | # Copyright (c) 2018 Research Organization for Information Science 5 | # and Technology (RIST). All rights reserved. 6 | # Copyright (c) 2021-2025 Nanook Consulting All rights reserved. 7 | # Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 8 | # $COPYRIGHT$ 9 | # 10 | # Additional copyrights may follow 11 | # 12 | # $HEADER$ 13 | # 14 | 15 | EXTRA_DIST += \ 16 | hwloc/help-prte-hwloc-base.txt 17 | 18 | headers += \ 19 | hwloc/hwloc-internal.h 20 | 21 | libprrte_la_SOURCES += \ 22 | hwloc/hwloc.c \ 23 | hwloc/hwloc_base_util.c \ 24 | hwloc/hwloc_base_maffinity.c 25 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/cli-leave-session-attached.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Do not discard stdout/stderr of remote PRRTE daemons. The primary use 16 | for this option is to ensure that the daemon output streams (i.e., 17 | stdout and stderr) remain open after launch, thus allowing the user to 18 | see any daemon-generated error messages. Otherwise, the daemon will 19 | "daemonize" itself upon launch, thereby closing its output streams. 20 | -------------------------------------------------------------------------------- /contrib/platform/intel/bend/gadget: -------------------------------------------------------------------------------- 1 | enable_prterun_prefix_by_default=yes 2 | enable_mpi_thread_multiple=no 3 | enable_mem_debug=no 4 | enable_mem_profile=no 5 | enable_debug_symbols=yes 6 | enable_binaries=yes 7 | enable_heterogeneous=no 8 | enable_picky=yes 9 | enable_debug=yes 10 | enable_shared=yes 11 | enable_static=no 12 | enable_memchecker=no 13 | enable_ipv6=no 14 | enable_mpi_fortran=no 15 | enable_mpi_cxx=no 16 | enable_mpi_cxx_seek=no 17 | enable_cxx_exceptions=no 18 | enable_oshmem=no 19 | enable_mpi_java=no 20 | enable_io_romio=no 21 | enable_builtin_atomics=no 22 | enable_contrib_no_build=libnbc 23 | enable_mca_no_build=btl-tcp,btl-sm,rcache-udreg 24 | enable_mca_direct=pml-ob1 25 | with_memory_manager=no 26 | with_tm=no 27 | with_verbs=no 28 | with_devel_headers=yes 29 | with_portals=no 30 | with_valgrind=no 31 | -------------------------------------------------------------------------------- /contrib/platform/intel/bend/mac-optimized: -------------------------------------------------------------------------------- 1 | enable_opal_multi_threads=yes 2 | enable_prte_progress_threads=yes 3 | enable_mem_debug=no 4 | enable_mem_profile=no 5 | enable_debug_symbols=no 6 | enable_binaries=yes 7 | enable_heterogeneous=no 8 | enable_picky=no 9 | enable_debug=no 10 | enable_shared=yes 11 | enable_static=no 12 | enable_io_romio=no 13 | enable_ipv6=no 14 | enable_mpi_fortran=no 15 | enable_mpi_cxx=no 16 | enable_mpi_cxx_seek=no 17 | enable_mpi_java=yes 18 | enable_memchecker=no 19 | enable_mca_no_build=crs,memchecker,snapc,rml-ftrm,filem-rsh 20 | enable_contrib_no_build=libnbc 21 | with_memory_manager=no 22 | with_devel_headers=yes 23 | with_xgrid=no 24 | with_slurm=no 25 | with_jdk_bindir=/usr/bin 26 | with_jdk_headers=/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers 27 | with_mpi_param_check=no 28 | -------------------------------------------------------------------------------- /test/attachtest/app.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | int main(int argc, char **argv) 6 | { 7 | int pause = 0; 8 | if (argc > 1) { 9 | pause = atoi(argv[1]); 10 | } 11 | 12 | pmix_proc_t proc; 13 | pmix_status_t rc = PMIX_ERROR; 14 | 15 | rc = PMIx_Init(&proc, NULL, 0); 16 | if (rc != PMIX_SUCCESS) { 17 | fprintf(stderr, "PMIx_Init failed: %s\n", PMIx_Error_string(rc)); 18 | return EXIT_FAILURE; 19 | } 20 | 21 | printf("Hello\n"); 22 | 23 | sleep(pause); 24 | 25 | printf("Bye\n"); 26 | 27 | rc = PMIx_Finalize(NULL, 0); 28 | if (rc != PMIX_SUCCESS) { 29 | fprintf(stderr, "PMIx_Finalize failed: %s\n", PMIx_Error_string(rc)); 30 | return EXIT_FAILURE; 31 | } 32 | return EXIT_SUCCESS; 33 | } 34 | -------------------------------------------------------------------------------- /src/mca/prtereachable/netlink/reachable_netlink.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015-2020 Cisco Systems, Inc. All rights reserved 3 | * Copyright (c) 2020 Intel, Inc. All rights reserved. 4 | * Copyright (c) 2021-2022 Nanook Consulting. All rights reserved. 5 | * $COPYRIGHT$ 6 | * 7 | * Additional copyrights may follow 8 | * 9 | * $HEADER$ 10 | */ 11 | 12 | #ifndef PRTE_MCA_REACHABLE_NETLINK_H 13 | #define PRTE_MCA_REACHABLE_NETLINK_H 14 | 15 | #include "prte_config.h" 16 | 17 | #include "src/mca/prtereachable/prtereachable.h" 18 | 19 | BEGIN_C_DECLS 20 | 21 | PRTE_EXPORT extern prte_reachable_base_component_t prte_mca_prtereachable_netlink_component; 22 | 23 | PRTE_EXPORT extern const prte_reachable_base_module_t prte_prtereachable_netlink_module; 24 | 25 | END_C_DECLS 26 | 27 | #endif /* MCA_REACHABLE_NETLINK_H */ 28 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/detail-hosts-rm.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Resource Manager-Provided Hosts 16 | =============================== 17 | 18 | When launching under a Resource Manager (RM), the RM usually 19 | picks which hosts |mdash| and how many processes can be launched on 20 | each host |mdash| on a per-job basis. 21 | 22 | The RM will communicate this information to PRRTE directly; users can 23 | simply omit specifying hosts or numbers of processes. 24 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/cli-x.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Export an environment variable, optionally specifying a value. For 16 | example: 17 | 18 | * ``-x foo`` exports the environment variable ``foo`` and takes its 19 | value from the current environment. 20 | * ``-x foo=bar`` exports the environment variable name ``foo`` and 21 | sets its value to ``bar`` in the started processes. 22 | * ``-x foo*`` exports all current environmental variables starting 23 | with ``foo``. 24 | -------------------------------------------------------------------------------- /config/Makefile.options: -------------------------------------------------------------------------------- 1 | # -*- makefile -*- 2 | # 3 | # Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 4 | # University Research and Technology 5 | # Corporation. All rights reserved. 6 | # Copyright (c) 2004-2005 The University of Tennessee and The University 7 | # of Tennessee Research Foundation. All rights 8 | # reserved. 9 | # Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 10 | # University of Stuttgart. All rights reserved. 11 | # Copyright (c) 2004-2005 The Regents of the University of California. 12 | # All rights reserved. 13 | # $COPYRIGHT$ 14 | # 15 | # Additional copyrights may follow 16 | # 17 | # $HEADER$ 18 | # 19 | 20 | AUTOMAKE_OPTIONS = foreign dist-bzip2 21 | -------------------------------------------------------------------------------- /src/mca/prtedl/base/prtedl_base_close.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004-2010 The Trustees of Indiana University. 3 | * All rights reserved. 4 | * Copyright (c) 2015-2020 Cisco Systems, Inc. All rights reserved 5 | * Copyright (c) 2019-2020 Intel, Inc. All rights reserved. 6 | * Copyright (c) 2021-2022 Nanook Consulting. All rights reserved. 7 | * $COPYRIGHT$ 8 | * 9 | * Additional copyrights may follow 10 | * 11 | * $HEADER$ 12 | */ 13 | 14 | #include "prte_config.h" 15 | 16 | #include "src/mca/base/pmix_base.h" 17 | #include "src/mca/mca.h" 18 | 19 | #include "src/mca/prtedl/base/base.h" 20 | #include "src/mca/prtedl/prtedl.h" 21 | 22 | int prte_dl_base_close(void) 23 | { 24 | /* Close all available modules that are open */ 25 | return pmix_mca_base_framework_components_close(&prte_prtedl_base_framework, NULL); 26 | } 27 | -------------------------------------------------------------------------------- /src/runtime/prte_quit.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010-2020 Cisco Systems, Inc. All rights reserved 3 | * Copyright (c) 2012 Los Alamos National Security, LLC. All rights 4 | * reserved. 5 | * Copyright (c) 2016-2019 Intel, Inc. All rights reserved. 6 | * 7 | * Copyright (c) 2021 Nanook Consulting. All rights reserved. 8 | * $COPYRIGHT$ 9 | * 10 | * Additional copyrights may follow 11 | * 12 | * $HEADER$ 13 | */ 14 | 15 | /** 16 | * @file 17 | * 18 | */ 19 | 20 | #ifndef PRTE_QUIT_H 21 | #define PRTE_QUIT_H 22 | 23 | #include "prte_config.h" 24 | 25 | #include "src/runtime/prte_globals.h" 26 | 27 | BEGIN_C_DECLS 28 | 29 | PRTE_EXPORT void prte_quit(int fd, short args, void *cbdata); 30 | 31 | PRTE_EXPORT char *prte_dump_aborted_procs(prte_job_t *jdata); 32 | 33 | END_C_DECLS 34 | 35 | #endif /* PRTE_CR_H */ 36 | -------------------------------------------------------------------------------- /contrib/platform/embedded/debug: -------------------------------------------------------------------------------- 1 | enable_dlopen=no 2 | enable_mem_debug=yes 3 | enable_memchecker=no 4 | enable_mem_profile=no 5 | enable_debug_symbols=yes 6 | enable_binaries=yes 7 | enable_heterogeneous=no 8 | enable_picky=yes 9 | enable_debug=yes 10 | enable_shared=yes 11 | enable_static=yes 12 | enable_ipv6=no 13 | enable_mpi_fortran=no 14 | enable_mpi_cxx=no 15 | enable_mpi_cxx_seek=no 16 | enable_cxx_exceptions=no 17 | enable_ft_thread=no 18 | enable_per_user_config_files=no 19 | enable_mca_no_build=crs,carto,maffinity,paffinity,pstat,filem,grpcomm-basic,grpcomm-hier,rmaps-rank_file,rmaps-seq,rmaps-topo,routed-binomial,routed-linear,routed-radix,routed-slave,snapc 20 | enable_contrib_no_build=libnbc 21 | with_devel_headers=yes 22 | with_alps=no 23 | with_ftb=no 24 | with_sge=no 25 | with_xgrid=no 26 | with_slurm=no 27 | with_tm=no 28 | with_lsf=no 29 | with_threads=posix 30 | -------------------------------------------------------------------------------- /contrib/platform/embedded/optimized: -------------------------------------------------------------------------------- 1 | enable_dlopen=no 2 | enable_mem_debug=no 3 | enable_memchecker=no 4 | enable_mem_profile=no 5 | enable_debug_symbols=no 6 | enable_binaries=yes 7 | enable_heterogeneous=no 8 | enable_picky=yes 9 | enable_debug=no 10 | enable_shared=yes 11 | enable_static=no 12 | enable_ipv6=no 13 | enable_mpi_fortran=no 14 | enable_mpi_cxx=no 15 | enable_mpi_cxx_seek=no 16 | enable_cxx_exceptions=no 17 | enable_ft_thread=no 18 | enable_per_user_config_files=no 19 | enable_mca_no_build=crs,carto,maffinity,paffinity,pstat,filem,grpcomm-basic,grpcomm-hier,rmaps-rank_file,rmaps-seq,rmaps-topo,routed-binomial,routed-linear,routed-radix,routed-slave,snapc 20 | enable_contrib_no_build=libnbc 21 | with_devel_headers=yes 22 | with_alps=no 23 | with_ftb=no 24 | with_sge=no 25 | with_xgrid=no 26 | with_slurm=no 27 | with_tm=no 28 | with_lsf=no 29 | with_threads=posix 30 | -------------------------------------------------------------------------------- /examples/debugger/mpihello.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004-2006 The Trustees of Indiana University and Indiana 3 | * University Research and Technology 4 | * Corporation. All rights reserved. 5 | * Copyright (c) 2006 Cisco Systems, Inc. All rights reserved. 6 | * 7 | * Sample MPI "hello world" application in C 8 | */ 9 | 10 | #include "mpi.h" 11 | #include 12 | 13 | int main(int argc, char *argv[]) 14 | { 15 | int rank, size, len; 16 | char version[MPI_MAX_LIBRARY_VERSION_STRING]; 17 | 18 | MPI_Init(&argc, &argv); 19 | MPI_Comm_rank(MPI_COMM_WORLD, &rank); 20 | MPI_Comm_size(MPI_COMM_WORLD, &size); 21 | MPI_Get_library_version(version, &len); 22 | printf("Hello, world, I am %d of %d, (%s, %d)\n", rank, size, version, len); 23 | MPI_Finalize(); 24 | 25 | return 0; 26 | } 27 | -------------------------------------------------------------------------------- /contrib/platform/intel/bend/linux: -------------------------------------------------------------------------------- 1 | enable_prterun_prefix_by_default=yes 2 | enable_mpi_thread_multiple=no 3 | enable_mem_debug=no 4 | enable_mem_profile=no 5 | enable_debug_symbols=yes 6 | enable_binaries=yes 7 | enable_heterogeneous=no 8 | enable_picky=yes 9 | enable_debug=yes 10 | enable_shared=yes 11 | enable_static=no 12 | enable_memchecker=no 13 | enable_ipv6=no 14 | enable_mpi_fortran=no 15 | enable_mpi_cxx=no 16 | enable_mpi_cxx_seek=no 17 | enable_cxx_exceptions=no 18 | enable_mpi_java=no 19 | enable_io_romio=no 20 | enable_contrib_no_build=libnbc 21 | enable_install_libpmix=yes 22 | with_memory_manager=no 23 | with_tm=no 24 | with_psm=no 25 | with_psm2=no 26 | with_devel_headers=yes 27 | with_libfabric=no 28 | with_portals=no 29 | with_valgrind=no 30 | if [ -n "$SLURMHOME" ] ; then 31 | with_slurm=$SLURMHOME 32 | with_pmi=$SLURMHOME 33 | else 34 | with_slurm=no 35 | fi 36 | -------------------------------------------------------------------------------- /contrib/platform/intel/bend/ubuntu: -------------------------------------------------------------------------------- 1 | enable_prterun_prefix_by_default=yes 2 | enable_mpi_thread_multiple=no 3 | enable_mem_debug=no 4 | enable_mem_profile=no 5 | enable_debug_symbols=yes 6 | enable_binaries=yes 7 | enable_heterogeneous=no 8 | enable_picky=yes 9 | enable_debug=yes 10 | enable_shared=yes 11 | enable_static=no 12 | enable_memchecker=no 13 | enable_ipv6=no 14 | enable_mpi_fortran=no 15 | enable_mpi_cxx=no 16 | enable_mpi_cxx_seek=no 17 | enable_cxx_exceptions=no 18 | enable_mpi_java=no 19 | enable_io_romio=no 20 | enable_contrib_no_build=libnbc 21 | enable_install_libpmix=yes 22 | with_memory_manager=no 23 | with_tm=no 24 | with_psm=no 25 | with_psm2=no 26 | with_devel_headers=yes 27 | with_libfabric=no 28 | with_portals=no 29 | with_valgrind=no 30 | if [ -n "$SLURMHOME" ] ; then 31 | with_slurm=$SLURMHOME 32 | with_pmi=$SLURMHOME 33 | else 34 | with_slurm=no 35 | fi 36 | -------------------------------------------------------------------------------- /contrib/platform/intel/bend/linux-optimized: -------------------------------------------------------------------------------- 1 | enable_opal_multi_threads=yes 2 | enable_prte_progress_threads=yes 3 | enable_ft_thread=no 4 | enable_mem_debug=no 5 | enable_mem_profile=no 6 | enable_debug_symbols=no 7 | enable_binaries=yes 8 | enable_heterogeneous=no 9 | enable_picky=no 10 | enable_debug=no 11 | enable_shared=yes 12 | enable_static=no 13 | enable_memchecker=no 14 | enable_ipv6=no 15 | enable_mpi_fortran=no 16 | enable_mpi_cxx=no 17 | enable_mpi_cxx_seek=no 18 | enable_cxx_exceptions=no 19 | enable_mpi_java=yes 20 | enable_io_romio=no 21 | enable_mca_no_build=crs,memchecker,snapc,rml-ftrm,filem-rsh 22 | enable_contrib_no_build=libnbc 23 | with_memory_manager=no 24 | with_tm=no 25 | with_devel_headers=yes 26 | with_portals=no 27 | with_valgrind=no 28 | with_mpi_param_check=no 29 | if [ -n "$SLURMHOME" ] ; then 30 | with_slurm=$SLURMHOME 31 | with_pmi=$SLURMHOME 32 | fi 33 | 34 | -------------------------------------------------------------------------------- /include/prte_version.h.in: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 Mellanox Technologies, Inc. 3 | * All rights reserved. 4 | * Copyright (c) 2018 IBM Corporation. All rights reserved. 5 | * Copyright (c) 2018 Intel, Inc. All rights reserved. 6 | * Copyright (c) 2019 Research Organization for Information Science 7 | * and Technology (RIST). All rights reserved. 8 | * Copyright (c) 2021 Nanook Consulting All rights reserved. 9 | * $COPYRIGHT$ 10 | * 11 | * Additional copyrights may follow 12 | * 13 | * $HEADER$ 14 | */ 15 | 16 | 17 | #ifndef PRTE_VERSION_H 18 | #define PRTE_VERSION_H 19 | 20 | /* define PRTE version */ 21 | #define PRTE_VERSION_MAJOR @prtemajor@ 22 | #define PRTE_VERSION_MINOR @prteminor@ 23 | #define PRTE_VERSION_RELEASE @prterelease@ 24 | 25 | #define PRTE_NUMERIC_VERSION @prtenumeric@ 26 | #endif 27 | -------------------------------------------------------------------------------- /src/mca/prtereachable/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2014-2020 Intel, Inc. All rights reserved. 3 | # Copyright (c) 2020 Cisco Systems, Inc. All rights reserved 4 | # Copyright (c) 2022-2025 Nanook Consulting All rights reserved. 5 | # $COPYRIGHT$ 6 | # 7 | # Additional copyrights may follow 8 | # 9 | # $HEADER$ 10 | # 11 | 12 | AM_CPPFLAGS = $(LTDLINCL) $(prtereachable_CPPFLAGS) 13 | 14 | # main library setup 15 | noinst_LTLIBRARIES = libprtemca_prtereachable.la 16 | libprtemca_prtereachable_la_SOURCES = 17 | 18 | # pkgdata setup 19 | EXTRA_DIST = 20 | 21 | # local files 22 | headers = prtereachable.h 23 | libprtemca_prtereachable_la_SOURCES += $(headers) 24 | 25 | # Conditionally install the header files 26 | prtedir = $(prteincludedir)/$(subdir) 27 | nobase_prte_HEADERS = $(headers) 28 | 29 | include base/Makefile.am 30 | 31 | distclean-local: 32 | rm -f base/static-components.h 33 | -------------------------------------------------------------------------------- /src/mca/rmaps/ppr/rmaps_ppr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011-2020 Cisco Systems, Inc. All rights reserved 3 | * Copyright (c) 2017-2019 Intel, Inc. All rights reserved. 4 | * Copyright (c) 2019 Research Organization for Information Science 5 | * and Technology (RIST). All rights reserved. 6 | * Copyright (c) 2021-2022 Nanook Consulting. All rights reserved. 7 | * $COPYRIGHT$ 8 | * 9 | * Additional copyrights may follow 10 | * 11 | * $HEADER$ 12 | */ 13 | 14 | #ifndef PRTE_RMAPS_PPR_H 15 | #define PRTE_RMAPS_PPR_H 16 | 17 | #include "prte_config.h" 18 | 19 | #include "src/hwloc/hwloc-internal.h" 20 | 21 | #include "src/mca/rmaps/rmaps.h" 22 | 23 | BEGIN_C_DECLS 24 | 25 | PRTE_MODULE_EXPORT extern prte_rmaps_base_component_t prte_mca_rmaps_ppr_component; 26 | extern prte_rmaps_base_module_t prte_rmaps_ppr_module; 27 | 28 | END_C_DECLS 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /src/mca/state/base/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2011-2013 Los Alamos National Security, LLC. 3 | # All rights reserved. 4 | # Copyright (c) 2018 Research Organization for Information Science 5 | # and Technology (RIST). All rights reserved. 6 | # Copyright (c) 2019 Intel, Inc. All rights reserved. 7 | # Copyright (c) 2020 Cisco Systems, Inc. All rights reserved 8 | # Copyright (c) 2022-2025 Nanook Consulting All rights reserved. 9 | # $COPYRIGHT$ 10 | # 11 | # Additional copyrights may follow 12 | # 13 | # $HEADER$ 14 | # 15 | 16 | EXTRA_DIST += \ 17 | base/help-state-base.txt 18 | 19 | headers += \ 20 | base/base.h 21 | 22 | libprtemca_state_la_SOURCES += \ 23 | base/state_base_frame.c \ 24 | base/state_base_select.c \ 25 | base/state_base_fns.c \ 26 | base/state_base_options.c 27 | -------------------------------------------------------------------------------- /src/mca/prtedl/dlopen/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2004-2010 The Trustees of Indiana University. 3 | # All rights reserved. 4 | # Copyright (c) 2014-2020 Cisco Systems, Inc. All rights reserved 5 | # Copyright (c) 2019-2020 Intel, Inc. All rights reserved. 6 | # Copyright (c) 2022 Nanook Consulting. All rights reserved. 7 | # $COPYRIGHT$ 8 | # 9 | # Additional copyrights may follow 10 | # 11 | # $HEADER$ 12 | # 13 | 14 | sources = \ 15 | prtedl_dlopen.h \ 16 | prtedl_dlopen_component.c \ 17 | prtedl_dlopen_module.c 18 | 19 | # This component will only ever be built statically -- never as a DSO. 20 | 21 | noinst_LTLIBRARIES = libprtemca_prtedl_dlopen.la 22 | 23 | libprtemca_prtedl_dlopen_la_SOURCES = $(sources) 24 | libprtemca_prtedl_dlopen_la_LDFLAGS = -module -avoid-version 25 | libprtemca_prtedl_dlopen_la_LIBADD = $(prte_prtedl_dlopen_LIBS) 26 | -------------------------------------------------------------------------------- /contrib/platform/intel/bend/ext: -------------------------------------------------------------------------------- 1 | enable_prterun_prefix_by_default=yes 2 | enable_mpi_thread_multiple=no 3 | enable_mem_debug=no 4 | enable_mem_profile=no 5 | enable_debug_symbols=yes 6 | enable_binaries=yes 7 | enable_heterogeneous=no 8 | enable_picky=yes 9 | enable_debug=yes 10 | enable_shared=yes 11 | enable_static=no 12 | enable_memchecker=no 13 | enable_ipv6=no 14 | enable_mpi_fortran=yes 15 | enable_mpi_cxx=no 16 | enable_mpi_cxx_seek=no 17 | enable_cxx_exceptions=no 18 | enable_mpi_java=no 19 | enable_io_romio=no 20 | enable_contrib_no_build=libnbc 21 | with_memory_manager=no 22 | with_tm=no 23 | with_devel_headers=yes 24 | with_portals=no 25 | with_valgrind=no 26 | if [ -n "$SLURMHOME" ] ; then 27 | with_slurm=$SLURMHOME 28 | with_pmi=$SLURMHOME 29 | else 30 | with_slurm=no 31 | fi 32 | with_libevent=/home/common/local 33 | with_hwloc=/home/common/local 34 | with_pmix=/home/common/pmix/build/ompi 35 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/cli-personality.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Specify the personality to be used. This governs selection of the 16 | plugin responsible for defining and parsing the command line, 17 | harvesting and forwarding environmental variables, and providing 18 | library-dependent support to the launched processes. Examples include 19 | ``ompi`` for an application compiled with Open MPI, ``mpich`` for one 20 | built against the MPICH library, or ``oshmem`` for an OpenSHMEM 21 | application compiled against SUNY's reference library. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # PMIx Reference RunTime Environment (PRRTE) 2 | 3 | PRRTE is [the PMIx Reference RunTime 4 | Environment](https://github.com/openpmix/prrte) 5 | 6 | ## Official documentation 7 | 8 | The PRRTE documentation can be viewed in the following ways: 9 | 10 | 1. Online at https://docs.prrte.org/ 11 | 1. In self-contained (i.e., suitable for local viewing, without an 12 | internet connection) in official distribution tarballs under 13 | `docs/_build/html/index.html`. 14 | 15 | ## Building the documentation locally 16 | 17 | The source code for PRRTE's docs can be found in the PRRTE Git 18 | repository under the `docs` folder. 19 | 20 | Developers who clone the PRRTE Git repository will not have the 21 | HTML documentation and man pages by default; it must be built. 22 | Instructions for how to build the PRRTE documentation can be found 23 | here: 24 | https://docs.prrte.org/en/latest/developers/sphinx.html 25 | -------------------------------------------------------------------------------- /src/mca/prteinstalldirs/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2006 Los Alamos National Security, LLC. All rights 3 | # reserved. 4 | # Copyright (c) 2010-2020 Cisco Systems, Inc. All rights reserved 5 | # Copyright (c) 2019-2020 Intel, Inc. All rights reserved. 6 | # Copyright (c) 2022 Nanook Consulting. All rights reserved. 7 | # $COPYRIGHT$ 8 | # 9 | # Additional copyrights may follow 10 | # 11 | # $HEADER$ 12 | # 13 | 14 | # main library setup 15 | noinst_LTLIBRARIES = libprtemca_prteinstalldirs.la 16 | libprtemca_prteinstalldirs_la_SOURCES = 17 | 18 | # local files 19 | headers = prteinstalldirs.h 20 | libprtemca_prteinstalldirs_la_SOURCES += $(headers) 21 | 22 | # Conditionally install the header files 23 | prtedir = $(prteincludedir)/$(subdir) 24 | nobase_prte_HEADERS = $(headers) 25 | 26 | include base/Makefile.am 27 | 28 | distclean-local: 29 | rm -f base/static-components.h 30 | -------------------------------------------------------------------------------- /config/prte_mca_priority_sort.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | # 3 | # Copyright (c) 2010 Sandia National Laboratories. All rights reserved. 4 | # 5 | # Copyright (c) 2019 Intel, Inc. All rights reserved. 6 | # $COPYRIGHT$ 7 | # 8 | # Additional copyrights may follow 9 | # 10 | # $HEADER$ 11 | # 12 | 13 | my $components; 14 | my @result; 15 | 16 | while (@ARGV) { 17 | my $component; 18 | $component->{"name"} = shift(@ARGV); 19 | $component->{"value"} = shift(@ARGV); 20 | push(@{$components}, $component); 21 | } 22 | 23 | foreach my $component (sort { $b->{value} <=> $a->{value} } @{$components}) { 24 | push(@result, $component->{name}); 25 | } 26 | sub commify_series { 27 | (@_ == 0) ? '' : 28 | (@_ == 1) ? $_[0] : 29 | join(", ", @_[0 .. ($#_-1)], "$_[-1]"); 30 | } 31 | 32 | print commify_series(@result); 33 | -------------------------------------------------------------------------------- /docs/launching-apps/localhost.rst: -------------------------------------------------------------------------------- 1 | Launching only on the local node 2 | ================================ 3 | 4 | It is common to develop applications on a single workstation or 5 | laptop, and then move to a larger parallel / HPC environment once the 6 | application is ready. 7 | 8 | PRRTE supports running multi-process jobs on a single machine. 9 | In such cases, you can simply avoid listing a hostfile or remote 10 | hosts, and simply list a number of processes to launch. For 11 | example: 12 | 13 | .. code-block:: sh 14 | 15 | shell$ prterun -n 6 mpi-hello-world 16 | Hello world, I am 0 of 6 (running on my-laptop)) 17 | Hello world, I am 1 of 6 (running on my-laptop) 18 | ... 19 | Hello world, I am 5 of 6 (running on my-laptop) 20 | 21 | If you do not specify the ``-n`` option, ``prterun`` will default to 22 | launching as many processes as there are processor cores (not 23 | hyperthreads) on the machine. 24 | -------------------------------------------------------------------------------- /src/mca/state/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2011 Los Alamos National Security, LLC. 3 | # All rights reserved. 4 | # Copyright (c) 2019 Intel, Inc. All rights reserved. 5 | # Copyright (c) 2020 Cisco Systems, Inc. All rights reserved 6 | # Copyright (c) 2022-2025 Nanook Consulting All rights reserved. 7 | # $COPYRIGHT$ 8 | # 9 | # Additional copyrights may follow 10 | # 11 | # $HEADER$ 12 | # 13 | 14 | # main library setup 15 | noinst_LTLIBRARIES = libprtemca_state.la 16 | libprtemca_state_la_SOURCES = 17 | 18 | # pkgdata setup 19 | EXTRA_DIST = 20 | 21 | # local files 22 | headers = state.h state_types.h 23 | libprtemca_state_la_SOURCES += $(headers) 24 | 25 | # Conditionally install the header files 26 | prtedir = $(prteincludedir)/$(subdir) 27 | nobase_prte_HEADERS = $(headers) 28 | 29 | include base/Makefile.am 30 | 31 | distclean-local: 32 | rm -f base/static-components.h 33 | -------------------------------------------------------------------------------- /src/mca/prteinstalldirs/config/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2006 Los Alamos National Security, LLC. All rights 3 | # reserved. 4 | # Copyright (c) 2007-2020 Cisco Systems, Inc. All rights reserved 5 | # Copyright (c) 2009 High Performance Computing Center Stuttgart, 6 | # University of Stuttgart. All rights reserved. 7 | # Copyright (c) 2019-2020 Intel, Inc. All rights reserved. 8 | # Copyright (c) 2022 Nanook Consulting. All rights reserved. 9 | # $COPYRIGHT$ 10 | # 11 | # Additional copyrights may follow 12 | # 13 | # $HEADER$ 14 | # 15 | 16 | noinst_LTLIBRARIES = libprtemca_prteinstalldirs_config.la 17 | 18 | libprtemca_prteinstalldirs_config_la_SOURCES = \ 19 | prte_installdirs_config.c 20 | 21 | # This file is generated; we do not want to include it in the tarball 22 | nodist_libprtemca_prteinstalldirs_config_la_SOURCES = \ 23 | install_dirs.h 24 | -------------------------------------------------------------------------------- /contrib/whitespace-purge.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (c) 2015-2016 Intel, Inc. All rights reserved. 4 | # Copyright (c) 2015 Los Alamos National Security, LLC. All rights 5 | # reserved 6 | # Copyright (c) 2015 Cisco Systems, Inc. 7 | # $COPYRIGHT$ 8 | # 9 | # Additional copyrights may follow 10 | # 11 | # $HEADER$ 12 | # 13 | 14 | for file in $(git ls-files) ; do 15 | # check for the mime-type and do not follow symbolic links. this 16 | # will cause file to print application/x-symlink for the mime-type 17 | # allowing us to only have to check if the type is application to 18 | # skip sym links, pdfs, etc. If any other file types should be 19 | # skipped add the check here. 20 | type=$(file -b --mime-type -h $file) 21 | if test ${type::4} == "text" ; then 22 | # Eliminate whitespace at the end of lines 23 | perl -pi -e 's/\s*$/\n/' $file 24 | fi 25 | done 26 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/deprecated-output-filename.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Redirect output from application processes into ``filename.rank``. A 16 | relative path value will be converted to an absolute path. The 17 | directory name may include a colon followed by a comma-delimited list 18 | of optional case-insensitive directives. Supported directives 19 | currently include ``NOCOPY`` (do not copy the output to the stdout/err 20 | streams). 21 | 22 | .. admonition:: Deprecated 23 | :class: warning 24 | 25 | This option is deprecated. Please use ``--output file=`` 26 | -------------------------------------------------------------------------------- /config/ltmain_nag_pthread.diff: -------------------------------------------------------------------------------- 1 | --- config/ltmain.sh 2 | +++ config/ltmain.sh 3 | @@ -6417,8 +6417,14 @@ 4 | func_source "$lib" 5 | 6 | # Convert "-framework foo" to "foo.ltframework" 7 | + # and "-pthread" to "-Wl,-pthread" if NAG compiler 8 | if test -n "$inherited_linker_flags"; then 9 | - tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'` 10 | + case "$CC" in 11 | + *nagfor*) 12 | + tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g' | $SED 's/-pthread/-Wl,-pthread/g'`;; 13 | + *) 14 | + tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'`;; 15 | + esac 16 | for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do 17 | case " $new_inherited_linker_flags " in 18 | *" $tmp_inherited_linker_flag "*) ;; 19 | -------------------------------------------------------------------------------- /src/mca/prteinstalldirs/env/configure.m4: -------------------------------------------------------------------------------- 1 | # -*- shell-script -*- 2 | # 3 | # Copyright (c) 2006 Los Alamos National Security, LLC. All rights 4 | # reserved. 5 | # Copyright (c) 2010-2020 Cisco Systems, Inc. All rights reserved 6 | # Copyright (c) 2019-2020 Intel, Inc. All rights reserved. 7 | # $COPYRIGHT$ 8 | # 9 | # Additional copyrights may follow 10 | # 11 | # $HEADER$ 12 | # 13 | 14 | AC_DEFUN([MCA_prte_prteinstalldirs_env_PRIORITY], [10]) 15 | 16 | AC_DEFUN([MCA_prte_prteinstalldirs_env_COMPILE_MODE], [ 17 | AC_MSG_CHECKING([for MCA component $1:$2 compile mode]) 18 | $3="static" 19 | AC_MSG_RESULT([$$3]) 20 | ]) 21 | 22 | # MCA_prteinstalldirs_config_CONFIG(action-if-can-compile, 23 | # [action-if-cant-compile]) 24 | # ------------------------------------------------ 25 | AC_DEFUN([MCA_prte_prteinstalldirs_env_CONFIG], [ 26 | AC_CONFIG_FILES([src/mca/prteinstalldirs/env/Makefile]) 27 | ]) 28 | 29 | -------------------------------------------------------------------------------- /contrib/scaling/Makefile.include: -------------------------------------------------------------------------------- 1 | # -*- makefile -*- 2 | # 3 | # Copyright (c) 2012 Los Alamos National Security, LLC. All rights reserved. 4 | # Copyright (c) 2019 Intel, Inc. All rights reserved. 5 | # Copyright (c) 2020 Cisco Systems, Inc. All rights reserved 6 | # $COPYRIGHT$ 7 | # 8 | # Additional copyrights may follow 9 | # 10 | # $HEADER$ 11 | # 12 | 13 | # Note that this file does not stand on its own. It is included by a 14 | # higher-level Makefile so that Automake features such as "make dist" 15 | # work properly (and include all the relevant files in this directory 16 | # in the distribution tarball). 17 | 18 | # If you are looking for the file that builds these examples, look at 19 | # "Makefile" in this same directory (it is *NOT* generated by 20 | # Automake). 21 | 22 | EXTRA_DIST += \ 23 | contrib/scaling/Makefile \ 24 | contrib/scaling/mpi_barrier.c \ 25 | contrib/scaling/mpi_no_op.c \ 26 | contrib/scaling/prte_no_op.c \ 27 | scaling.pl 28 | 29 | -------------------------------------------------------------------------------- /config/prte_config_files.m4: -------------------------------------------------------------------------------- 1 | # -*- shell-script -*- 2 | # 3 | # Copyright (c) 2009-2020 Cisco Systems, Inc. All rights reserved 4 | # Copyright (c) 2016-2020 Intel, Inc. All rights reserved. 5 | # Copyright (c) 2019 Research Organization for Information Science 6 | # and Technology (RIST). All rights reserved. 7 | # Copyright (c) 2022-2024 Nanook Consulting All rights reserved. 8 | # $COPYRIGHT$ 9 | # 10 | # Additional copyrights may follow 11 | # 12 | # $HEADER$ 13 | # 14 | 15 | # This file is m4_included in the top-level configure.ac 16 | 17 | AC_DEFUN([PRTE_CONFIG_FILES],[ 18 | AC_CONFIG_FILES([ 19 | src/Makefile 20 | src/etc/Makefile 21 | src/util/Makefile 22 | src/util/hostfile/Makefile 23 | src/tools/pcc/Makefile 24 | src/tools/prted/Makefile 25 | src/tools/prun/Makefile 26 | src/tools/prte_info/Makefile 27 | src/tools/prte/Makefile 28 | src/tools/pterm/Makefile 29 | ]) 30 | ]) 31 | -------------------------------------------------------------------------------- /docs/man/man1/prun.1.rst: -------------------------------------------------------------------------------- 1 | .. _man1-prun: 2 | 3 | prun 4 | ===== 5 | 6 | prun |mdash| launch an application 7 | 8 | SYNOPSIS 9 | -------- 10 | 11 | .. code:: sh 12 | 13 | shell$ prun ...options... 14 | 15 | DESCRIPTION 16 | ----------- 17 | 18 | ``prun`` submits a job to the PMIx Reference Runtime Environment 19 | (PRRTE). The user has control over various distributed virtual 20 | machine (DVM) options. 21 | 22 | Much of this same help documentation for this command is also provided 23 | through ``prun --help [topic]``. 24 | 25 | .. admonition:: PRRTE Docs TODO 26 | :class: error 27 | 28 | Need to write this man page. 29 | 30 | COMMAND LINE OPTIONS 31 | -------------------- 32 | 33 | The following command line options are supported: 34 | 35 | .. TODO - add in all supported CLI 36 | 37 | DEPRECATED COMMAND LINE OPTIONS 38 | ------------------------------- 39 | 40 | .. TODO - check for deprecated CLI and add those here 41 | 42 | 43 | .. seealso:: 44 | :ref:`prte(1) ` 45 | -------------------------------------------------------------------------------- /test/filegen.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2022 Nanook Consulting. All rights reserved. 3 | * $COPYRIGHT$ 4 | * 5 | * Additional copyrights may follow 6 | * 7 | * $HEADER$ 8 | * 9 | */ 10 | 11 | #define _GNU_SOURCE 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | 20 | int main(int argc, char **argv) 21 | { 22 | int n, limit, rc; 23 | char buffer[1024]; 24 | 25 | if (argc < 2) { 26 | fprintf(stderr, "Usage: %s \n", argv[0]); 27 | exit(1); 28 | } 29 | limit = strtol(argv[1], NULL, 10); 30 | memset(buffer, 'a', 1024); 31 | buffer[1023] = '\n'; 32 | for (n=0; n < limit; n++) { 33 | rc = write(STDOUT_FILENO, buffer, 1024); 34 | if (0 > rc) { 35 | fprintf(stderr, "Write failed: %d\n", rc); 36 | exit(1); 37 | } 38 | } 39 | exit(0); 40 | } 41 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/cli-hetero-nodes.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2025 Nanook Consulting All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | The ``hetero-nodes`` command line directive is used to indicate 16 | that the allocated nodes should be treated as having different 17 | topologies. This can be useful, for example, if a scheduler is 18 | allocating at the CPU instead of node level, it might allocate 19 | different CPUs on the various nodes. In the eyes of the runtime, 20 | this equates to a hetero node situation since the bitmap within 21 | the topology of each node will differ. 22 | 23 | .. note:: The runtime does not currently support mixes of chips 24 | with different endianness 25 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/cli-tune.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Comma-delimited list of one or more files containing PRRTE and PMIx 16 | MCA params for tuning DVM and/or application operations. Parameters in 17 | the file will be treated as *generic* parameters and subject to the 18 | translation rules/uncertainties. See ``--help mca`` for more 19 | information. 20 | 21 | Syntax in the file is: 22 | 23 | .. code:: 24 | 25 | param = value 26 | 27 | with one parameter and its associated value per line. Empty lines and 28 | lines beginning with the ``#`` character are ignored, as is any 29 | whitespace around the ``=`` character. 30 | -------------------------------------------------------------------------------- /src/mca/state/dvm/state_dvm.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015-2019 Intel, Inc. All rights reserved. 3 | * Copyright (c) 2019 Research Organization for Information Science 4 | * and Technology (RIST). All rights reserved. 5 | * 6 | * Copyright (c) 2020 Cisco Systems, Inc. All rights reserved 7 | * Copyright (c) 2022 Nanook Consulting. All rights reserved. 8 | * $COPYRIGHT$ 9 | * 10 | * Additional copyrights may follow 11 | * 12 | * $HEADER$ 13 | */ 14 | 15 | /** 16 | * @file 17 | * 18 | */ 19 | 20 | #ifndef MCA_STATE_DVM_EXPORT_H 21 | #define MCA_STATE_DVM_EXPORT_H 22 | 23 | #include "prte_config.h" 24 | 25 | #include "src/mca/state/state.h" 26 | 27 | BEGIN_C_DECLS 28 | 29 | /* 30 | * Local Component structures 31 | */ 32 | 33 | PRTE_MODULE_EXPORT extern prte_state_base_component_t prte_mca_state_dvm_component; 34 | 35 | PRTE_EXPORT extern prte_state_base_module_t prte_state_dvm_module; 36 | 37 | END_C_DECLS 38 | 39 | #endif /* MCA_STATE_DVM_EXPORT_H */ 40 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/cli-pmix-prefix.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2025 Nanook Consulting All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Prefix to be used by a PRRTE executable to look for its PMIx installation 16 | on remote nodes. This is the location of the top-level directory for the 17 | installation. If the installation has not been moved, it would be the 18 | value given to "--prefix" when the installation was configured. 19 | 20 | Note that PRRTE cannot determine the exact name of the library subdirectory 21 | under this location. For example, some systems will call it "lib" while others 22 | call it "lib64". Accordingly, PRRTE will use the library subdirectory name 23 | of the PMIx installation used to build PRRTE. 24 | 25 | -------------------------------------------------------------------------------- /src/mca/errmgr/prted/errmgr_prted.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010-2020 Cisco Systems, Inc. All rights reserved 3 | * 4 | * Copyright (c) 2019 Intel, Inc. All rights reserved. 5 | * Copyright (c) 2019 Research Organization for Information Science 6 | * and Technology (RIST). All rights reserved. 7 | * Copyright (c) 2022 Nanook Consulting. All rights reserved. 8 | * $COPYRIGHT$ 9 | * 10 | * Additional copyrights may follow 11 | * 12 | * $HEADER$ 13 | */ 14 | 15 | /** 16 | * @file 17 | * 18 | */ 19 | 20 | #ifndef MCA_ERRMGR_prted_EXPORT_H 21 | #define MCA_ERRMGR_prted_EXPORT_H 22 | 23 | #include "prte_config.h" 24 | 25 | #include "src/mca/errmgr/errmgr.h" 26 | 27 | BEGIN_C_DECLS 28 | 29 | /* 30 | * Local Component structures 31 | */ 32 | 33 | PRTE_MODULE_EXPORT extern prte_errmgr_base_component_t prte_mca_errmgr_prted_component; 34 | 35 | PRTE_EXPORT extern prte_errmgr_base_module_t prte_errmgr_prted_module; 36 | 37 | END_C_DECLS 38 | 39 | #endif /* MCA_ERRMGR_prted_EXPORT_H */ 40 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/deprecated-output-directory.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Redirect output from application processes into 16 | ``filename/job/rank/std[out,err,diag]``. A relative path value will be 17 | converted to an absolute path. The directory name may include a colon 18 | followed by a comma-delimited list of optional case-insensitive 19 | directives. Supported directives currently include ``NOJOBID`` (do not 20 | include a job-id directory level) and ``NOCOPY`` (do not copy the 21 | output to the stdout/err streams). 22 | 23 | .. admonition:: Deprecated 24 | :class: warning 25 | 26 | This option is deprecated. Please use ``--output dir=``. 27 | -------------------------------------------------------------------------------- /src/mca/prtedl/libltdl/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2004-2010 The Trustees of Indiana University. 3 | # All rights reserved. 4 | # Copyright (c) 2014-2020 Cisco Systems, Inc. All rights reserved 5 | # Copyright (c) 2019-2020 Intel, Inc. All rights reserved. 6 | # Copyright (c) 2022 Nanook Consulting. All rights reserved. 7 | # $COPYRIGHT$ 8 | # 9 | # Additional copyrights may follow 10 | # 11 | # $HEADER$ 12 | # 13 | 14 | sources = \ 15 | prtedl_libltdl.h \ 16 | prtedl_libltdl_component.c \ 17 | prtedl_libltdl_module.c 18 | 19 | # This component will only ever be built statically -- never as a DSO. 20 | 21 | noinst_LTLIBRARIES = libprtemca_prtedl_libltdl.la 22 | 23 | libprtemca_prtedl_libltdl_la_SOURCES = $(sources) 24 | libprtemca_prtedl_libltdl_la_CPPFLAGS = $(prte_prtedl_libltdl_CPPFLAGS) 25 | libprtemca_prtedl_libltdl_la_LDFLAGS = \ 26 | $(prte_prtedl_libltdl_LDFLAGS) \ 27 | -module -avoid-version 28 | libprtemca_prtedl_libltdl_la_LIBADD = $(prte_prtedl_libltdl_LIBS) 29 | -------------------------------------------------------------------------------- /src/mca/prteinstalldirs/config/configure.m4: -------------------------------------------------------------------------------- 1 | # -*- shell-script -*- 2 | # 3 | # Copyright (c) 2006 Los Alamos National Security, LLC. All rights 4 | # reserved. 5 | # Copyright (c) 2010-2020 Cisco Systems, Inc. All rights reserved 6 | # Copyright (c) 2019-2020 Intel, Inc. All rights reserved. 7 | # $COPYRIGHT$ 8 | # 9 | # Additional copyrights may follow 10 | # 11 | # $HEADER$ 12 | # 13 | 14 | AC_DEFUN([MCA_prte_prteinstalldirs_config_PRIORITY], [0]) 15 | 16 | AC_DEFUN([MCA_prte_prteinstalldirs_config_COMPILE_MODE], [ 17 | AC_MSG_CHECKING([for MCA component $1:$2 compile mode]) 18 | $3="static" 19 | AC_MSG_RESULT([$$3]) 20 | ]) 21 | 22 | 23 | # MCA_prteinstalldirs_config_CONFIG(action-if-can-compile, 24 | # [action-if-cant-compile]) 25 | # ------------------------------------------------ 26 | AC_DEFUN([MCA_prte_prteinstalldirs_config_CONFIG],[ 27 | AC_CONFIG_FILES([src/mca/prteinstalldirs/config/Makefile 28 | src/mca/prteinstalldirs/config/install_dirs.h]) 29 | ]) 30 | 31 | -------------------------------------------------------------------------------- /src/mca/prtebacktrace/base/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 3 | # University Research and Technology 4 | # Corporation. All rights reserved. 5 | # Copyright (c) 2004-2005 The University of Tennessee and The University 6 | # of Tennessee Research Foundation. All rights 7 | # reserved. 8 | # Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 9 | # University of Stuttgart. All rights reserved. 10 | # Copyright (c) 2004-2005 The Regents of the University of California. 11 | # All rights reserved. 12 | # Copyright (c) 2019-2020 Intel, Inc. All rights reserved. 13 | # Copyright (c) 2022 Nanook Consulting. All rights reserved. 14 | # $COPYRIGHT$ 15 | # 16 | # Additional copyrights may follow 17 | # 18 | # $HEADER$ 19 | # 20 | 21 | headers += \ 22 | base/base.h 23 | 24 | libprtemca_prtebacktrace_la_SOURCES += \ 25 | base/backtrace_component.c 26 | -------------------------------------------------------------------------------- /.github/workflows/pr-target.yaml: -------------------------------------------------------------------------------- 1 | name: PR Checks CI 2 | 3 | # We're using pull_request_target here instead of just pull_request so that the 4 | # action runs in the context of the base of the pull request, rather than in the 5 | # context of the merge commit. For more detail about the differences, see: 6 | # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target 7 | on: 8 | pull_request_target: 9 | # We don't need this to be run on all types of PR behavior 10 | # See https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request 11 | types: 12 | - opened 13 | - synchronize 14 | - edited 15 | 16 | permissions: {} # none 17 | 18 | jobs: 19 | check: 20 | permissions: 21 | pull-requests: write 22 | name: Check Commits 23 | runs-on: ubuntu-latest 24 | steps: 25 | - name: Pull Request Commit Checker 26 | uses: open-mpi/pr-git-commit-checker@v1.0.1 27 | with: 28 | token: "${{ secrets.GITHUB_TOKEN}}" 29 | -------------------------------------------------------------------------------- /src/mca/ras/testrm/ras_testrm.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011-2020 Cisco Systems, Inc. All rights reserved 3 | * Copyright (c) 2015-2019 Intel, Inc. All rights reserved. 4 | * Copyright (c) 2019 Research Organization for Information Science 5 | * and Technology (RIST). All rights reserved. 6 | * Copyright (c) 2021-2023 Nanook Consulting. All rights reserved. 7 | * $COPYRIGHT$ 8 | * 9 | * Additional copyrights may follow 10 | * 11 | * $HEADER$ 12 | */ 13 | 14 | #ifndef PRTE_RAS_TESTRM_H 15 | #define PRTE_RAS_TESTRM_H 16 | 17 | #include "prte_config.h" 18 | #include "src/mca/ras/base/base.h" 19 | #include "src/mca/ras/ras.h" 20 | 21 | BEGIN_C_DECLS 22 | 23 | struct prte_ras_testrm_component_t { 24 | prte_ras_base_component_t super; 25 | char *hostfile; 26 | }; 27 | typedef struct prte_ras_testrm_component_t prte_ras_testrm_component_t; 28 | 29 | PRTE_EXPORT extern prte_ras_testrm_component_t prte_mca_ras_testrm_component; 30 | PRTE_EXPORT extern prte_ras_base_module_t prte_ras_testrm_module; 31 | 32 | END_C_DECLS 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /src/prted/pmix/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2014-2020 Intel, Inc. All rights reserved. 3 | # Copyright (c) 2014-2020 Cisco Systems, Inc. All rights reserved 4 | # Copyright (c) 2022-2025 Nanook Consulting All rights reserved. 5 | # $COPYRIGHT$ 6 | # 7 | # Additional copyrights may follow 8 | # 9 | # $HEADER$ 10 | # 11 | 12 | headers += \ 13 | prted/pmix/pmix_server.h \ 14 | prted/pmix/pmix_server_internal.h 15 | 16 | libprrte_la_SOURCES += \ 17 | prted/pmix/pmix_server.c \ 18 | prted/pmix/pmix_server_fence.c \ 19 | prted/pmix/pmix_server_register_fns.c \ 20 | prted/pmix/pmix_server_dyn.c \ 21 | prted/pmix/pmix_server_pub.c \ 22 | prted/pmix/pmix_server_gen.c \ 23 | prted/pmix/pmix_server_queries.c \ 24 | prted/pmix/pmix_server_allocate.c \ 25 | prted/pmix/pmix_server_session.c \ 26 | prted/pmix/pmix_server_group.c \ 27 | prted/pmix/pmix_server_job_ctrl.c \ 28 | prted/pmix/pmix_server_monitor.c \ 29 | prted/pmix/pmix_server_notify.c 30 | -------------------------------------------------------------------------------- /.github/issue_template.md: -------------------------------------------------------------------------------- 1 | Thank you for taking the time to submit an issue! 2 | 3 | ## Background information 4 | 5 | ### What version of the PMIx Reference RTE (PRRTE) are you using? (e.g., v2.0, v3.0, git master @ hash, etc.) 6 | 7 | ##### What version of PMIx are you using? (e.g., v4.2.0, git branch name and hash, etc.) 8 | 9 | ### Please describe the system on which you are running 10 | 11 | * Operating system/version: 12 | * Computer hardware: 13 | * Network type: 14 | 15 | ----------------------------- 16 | 17 | ## Details of the problem 18 | 19 | Please describe, in detail, the problem that you are having, including the behavior you expect to see, the actual behavior that you are seeing, steps to reproduce the problem, etc. It is most helpful if you can attach a small program that a developer can use to reproduce your problem. 20 | 21 | **Note**: If you include verbatim output (or a code block), please use a [GitHub Markdown](https://help.github.com/articles/creating-and-highlighting-code-blocks/) code block like below: 22 | ```shell 23 | shell$ prun -np 2 ./hello_world 24 | ``` 25 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/deprecated-mca.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Syntax: ``--mca ``, where ``key`` is the parameter name 16 | and ``value`` is the parameter value. 17 | 18 | Pass generic MCA parameters |mdash| i.e., parameters whose project 19 | affiliation must be determined by PRRTE based on matching the name of 20 | the parameter with defined values from various projects that PRRTE 21 | knows about. 22 | 23 | .. admonition:: Deprecated 24 | :class: warning 25 | 26 | This translation can be incomplete (e.g., if a project adds or 27 | changes parameters) |mdash| thus, it is strongly recommended that 28 | users use project-specific parameters such as ``--prtemca`` or 29 | ``--pmixmca``. 30 | -------------------------------------------------------------------------------- /src/mca/prtebacktrace/configure.m4: -------------------------------------------------------------------------------- 1 | dnl -*- shell-script -*- 2 | dnl 3 | dnl Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 4 | dnl University Research and Technology 5 | dnl Corporation. All rights reserved. 6 | dnl Copyright (c) 2004-2005 The University of Tennessee and The University 7 | dnl of Tennessee Research Foundation. All rights 8 | dnl reserved. 9 | dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 10 | dnl University of Stuttgart. All rights reserved. 11 | dnl Copyright (c) 2004-2006 The Regents of the University of California. 12 | dnl All rights reserved. 13 | dnl Copyright (c) 2019-2020 Intel, Inc. All rights reserved. 14 | dnl Copyright (c) 2020 Cisco Systems, Inc. All rights reserved 15 | dnl $COPYRIGHT$ 16 | dnl 17 | dnl Additional copyrights may follow 18 | dnl 19 | dnl $HEADER$ 20 | dnl 21 | 22 | dnl we only want one :) 23 | m4_define(MCA_prte_prtebacktrace_CONFIGURE_MODE, STOP_AT_FIRST) 24 | -------------------------------------------------------------------------------- /src/mca/prtereachable/base/base.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014-2020 Intel, Inc. All rights reserved. 3 | * Copyright (c) 2020 Cisco Systems, Inc. All rights reserved 4 | * Copyright (c) 2021-2022 Nanook Consulting. All rights reserved. 5 | * $COPYRIGHT$ 6 | * 7 | * Additional copyrights may follow 8 | * 9 | * $HEADER$ 10 | */ 11 | /** @file: 12 | */ 13 | 14 | #ifndef PRTE_MCA_REACHABLE_BASE_H 15 | #define PRTE_MCA_REACHABLE_BASE_H 16 | 17 | #include "prte_config.h" 18 | #include "src/include/types.h" 19 | 20 | #include "src/mca/base/pmix_mca_base_framework.h" 21 | #include "src/mca/mca.h" 22 | 23 | #include "src/mca/prtereachable/prtereachable.h" 24 | 25 | BEGIN_C_DECLS 26 | 27 | PRTE_EXPORT extern pmix_mca_base_framework_t prte_prtereachable_base_framework; 28 | 29 | /** 30 | * Select a prtereachable module 31 | */ 32 | PRTE_EXPORT int prte_reachable_base_select(void); 33 | 34 | PRTE_EXPORT prte_reachable_t *prte_reachable_allocate(unsigned int num_local, 35 | unsigned int num_remote); 36 | 37 | END_C_DECLS 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/cli-dash-host.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Host syntax consists of a comma-delimited list of node names, each 16 | entry optionally containing a ``:N`` extension indicating the number 17 | of slots to assign to that entry: 18 | 19 | .. code:: 20 | 21 | --host node01:5,node02 22 | 23 | In the absence of the slot extension, one slot will be assigned to the 24 | node. Duplicate entries are aggregated and the number of slots 25 | assigned to that node are summed together. 26 | 27 | .. note:: A "slot" is the PRRTE term for an allocatable unit where we 28 | can launch a process. Thus, the number of slots equates to the 29 | maximum number of processes PRRTE may start on that node without 30 | oversubscribing it. 31 | -------------------------------------------------------------------------------- /src/mca/prtebacktrace/none/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 3 | # University Research and Technology 4 | # Corporation. All rights reserved. 5 | # Copyright (c) 2004-2005 The University of Tennessee and The University 6 | # of Tennessee Research Foundation. All rights 7 | # reserved. 8 | # Copyright (c) 2004-2009 High Performance Computing Center Stuttgart, 9 | # University of Stuttgart. All rights reserved. 10 | # Copyright (c) 2004-2005 The Regents of the University of California. 11 | # All rights reserved. 12 | # Copyright (c) 2019-2020 Intel, Inc. All rights reserved. 13 | # Copyright (c) 2022 Nanook Consulting. All rights reserved. 14 | # $COPYRIGHT$ 15 | # 16 | # Additional copyrights may follow 17 | # 18 | # $HEADER$ 19 | # 20 | 21 | noinst_LTLIBRARIES = libprtemca_prtebacktrace_none.la 22 | 23 | libprtemca_prtebacktrace_none_la_SOURCES = \ 24 | backtrace_none.c \ 25 | backtrace_none_component.c 26 | -------------------------------------------------------------------------------- /src/mca/schizo/ompi/schizo_ompi.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015-2020 Intel, Inc. All rights reserved. 3 | * Copyright (c) 2019 Research Organization for Information Science 4 | * and Technology (RIST). All rights reserved. 5 | * Copyright (c) 2020 Cisco Systems, Inc. All rights reserved 6 | * Copyright (c) 2021-2022 Nanook Consulting. All rights reserved. 7 | * $COPYRIGHT$ 8 | * 9 | * Additional copyrights may follow 10 | * 11 | * $HEADER$ 12 | */ 13 | 14 | #ifndef _MCA_SCHIZO_OMPI_H_ 15 | #define _MCA_SCHIZO_OMPI_H_ 16 | 17 | #include "prte_config.h" 18 | 19 | #include "types.h" 20 | 21 | #include "src/mca/base/pmix_base.h" 22 | #include "src/mca/schizo/schizo.h" 23 | 24 | BEGIN_C_DECLS 25 | 26 | typedef struct { 27 | prte_schizo_base_component_t super; 28 | int priority; 29 | bool warn_deprecations; 30 | } prte_schizo_ompi_component_t; 31 | 32 | PRTE_MODULE_EXPORT extern prte_schizo_ompi_component_t prte_mca_schizo_ompi_component; 33 | extern prte_schizo_base_module_t prte_schizo_ompi_module; 34 | 35 | END_C_DECLS 36 | 37 | #endif /* MCA_SCHIZO_OMPI_H_ */ 38 | -------------------------------------------------------------------------------- /src/mca/schizo/prte/schizo_prte.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015-2020 Intel, Inc. All rights reserved. 3 | * Copyright (c) 2019 Research Organization for Information Science 4 | * and Technology (RIST). All rights reserved. 5 | * Copyright (c) 2020 Cisco Systems, Inc. All rights reserved 6 | * Copyright (c) 2021-2022 Nanook Consulting. All rights reserved. 7 | * $COPYRIGHT$ 8 | * 9 | * Additional copyrights may follow 10 | * 11 | * $HEADER$ 12 | */ 13 | 14 | #ifndef _MCA_SCHIZO_PRTE_H_ 15 | #define _MCA_SCHIZO_PRTE_H_ 16 | 17 | #include "prte_config.h" 18 | 19 | #include "types.h" 20 | 21 | #include "src/mca/base/pmix_base.h" 22 | #include "src/mca/schizo/schizo.h" 23 | 24 | BEGIN_C_DECLS 25 | 26 | typedef struct { 27 | prte_schizo_base_component_t super; 28 | int priority; 29 | bool warn_deprecations; 30 | } prte_schizo_prte_component_t; 31 | 32 | PRTE_MODULE_EXPORT extern prte_schizo_prte_component_t prte_mca_schizo_prte_component; 33 | extern prte_schizo_base_module_t prte_schizo_prte_module; 34 | 35 | END_C_DECLS 36 | 37 | #endif /* MCA_SCHIZO_PRTE_H_ */ 38 | -------------------------------------------------------------------------------- /src/mca/prtebacktrace/execinfo/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 3 | # University Research and Technology 4 | # Corporation. All rights reserved. 5 | # Copyright (c) 2004-2005 The University of Tennessee and The University 6 | # of Tennessee Research Foundation. All rights 7 | # reserved. 8 | # Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 9 | # University of Stuttgart. All rights reserved. 10 | # Copyright (c) 2004-2005 The Regents of the University of California. 11 | # All rights reserved. 12 | # Copyright (c) 2019-2020 Intel, Inc. All rights reserved. 13 | # Copyright (c) 2022 Nanook Consulting. All rights reserved. 14 | # $COPYRIGHT$ 15 | # 16 | # Additional copyrights may follow 17 | # 18 | # $HEADER$ 19 | # 20 | 21 | noinst_LTLIBRARIES = libprtemca_prtebacktrace_execinfo.la 22 | 23 | libprtemca_prtebacktrace_execinfo_la_SOURCES = \ 24 | backtrace_execinfo.c \ 25 | backtrace_execinfo_component.c 26 | -------------------------------------------------------------------------------- /src/mca/state/prted/state_prted.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 Los Alamos National Security, LLC. 3 | * All rights reserved. 4 | * Copyright (c) 2019 Intel, Inc. All rights reserved. 5 | * Copyright (c) 2019 Research Organization for Information Science 6 | * and Technology (RIST). All rights reserved. 7 | * Copyright (c) 2020 Cisco Systems, Inc. All rights reserved 8 | * Copyright (c) 2022 Nanook Consulting. All rights reserved. 9 | * $COPYRIGHT$ 10 | * 11 | * Additional copyrights may follow 12 | * 13 | * $HEADER$ 14 | */ 15 | 16 | /** 17 | * @file 18 | * 19 | */ 20 | 21 | #ifndef MCA_STATE_PRTED_EXPORT_H 22 | #define MCA_STATE_PRTED_EXPORT_H 23 | 24 | #include "prte_config.h" 25 | 26 | #include "src/mca/state/state.h" 27 | 28 | BEGIN_C_DECLS 29 | 30 | /* 31 | * Local Component structures 32 | */ 33 | 34 | PRTE_MODULE_EXPORT extern prte_state_base_component_t prte_mca_state_prted_component; 35 | 36 | PRTE_EXPORT extern prte_state_base_module_t prte_state_prted_module; 37 | 38 | END_C_DECLS 39 | 40 | #endif /* MCA_STATE_PRTED_EXPORT_H */ 41 | -------------------------------------------------------------------------------- /src/mca/prtebacktrace/printstack/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 3 | # University Research and Technology 4 | # Corporation. All rights reserved. 5 | # Copyright (c) 2004-2005 The University of Tennessee and The University 6 | # of Tennessee Research Foundation. All rights 7 | # reserved. 8 | # Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 9 | # University of Stuttgart. All rights reserved. 10 | # Copyright (c) 2004-2005 The Regents of the University of California. 11 | # All rights reserved. 12 | # Copyright (c) 2019-2020 Intel, Inc. All rights reserved. 13 | # Copyright (c) 2022 Nanook Consulting. All rights reserved. 14 | # $COPYRIGHT$ 15 | # 16 | # Additional copyrights may follow 17 | # 18 | # $HEADER$ 19 | # 20 | 21 | noinst_LTLIBRARIES = libprtemca_prtebacktrace_printstack.la 22 | 23 | libprtemca_prtebacktrace_printstack_la_SOURCES = \ 24 | backtrace_printstack.c \ 25 | backtrace_printstack_component.c 26 | -------------------------------------------------------------------------------- /docs/man/man1/prterun.1.rst: -------------------------------------------------------------------------------- 1 | .. _man1-prterun: 2 | 3 | prterun 4 | ======== 5 | 6 | prterun |mdash| launch an application with a default DVM 7 | 8 | SYNOPSIS 9 | -------- 10 | 11 | .. code:: sh 12 | 13 | shell$ prterun ...options... 14 | 15 | DESCRIPTION 16 | ----------- 17 | 18 | ``prterun`` submits a job to the PMIx Reference Runtime Environment 19 | (PRRTE). A default set of distributed virtual 20 | machine (DVM) options are used; use :ref:`prun(1) ` if you 21 | wish to utilize specific DVM options. 22 | 23 | Much of this same help documentation for this command is also provided 24 | through ``prun --help [topic]``. 25 | 26 | .. admonition:: PRRTE Docs TODO 27 | :class: error 28 | 29 | Need to write this man page. 30 | 31 | COMMAND LINE OPTIONS 32 | -------------------- 33 | 34 | .. TODO - add in all supported CLI 35 | 36 | 37 | DEPRECATED COMMAND LINE OPTIONS 38 | ------------------------------- 39 | 40 | .. TODO - check for deprecated CLI and add those here 41 | 42 | 43 | EXIT STATUS 44 | ----------- 45 | 46 | Description of the various exit statuses of this command. 47 | 48 | .. seealso:: 49 | :ref:`prte(1) ` 50 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/cli-app-prefix.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2025 Nanook Consulting All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Prefix to be used by an app to look for its PMIx installation on remote 16 | nodes. This is the location of the top-level directory for the installation. 17 | If the installation has not been moved, it would be the value given to 18 | "--prefix" when the installation was configured. 19 | 20 | Note that PRRTE cannot determine the exact name of the library subdirectory 21 | under this location. For example, some systems will call it "lib" while others 22 | call it "lib64". Accordingly, PRRTE will use the library subdirectory name 23 | of the PMIx installation used to build PRRTE. 24 | 25 | In the absence of providing an application-specific prefix, the PMIx prefix 26 | (if given) used by PRRTE's own executables will be applied unless the 27 | "--no-app-prefix" directive is given. 28 | -------------------------------------------------------------------------------- /src/mca/grpcomm/base/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 3 | # University Research and Technology 4 | # Corporation. All rights reserved. 5 | # Copyright (c) 2004-2005 The University of Tennessee and The University 6 | # of Tennessee Research Foundation. All rights 7 | # reserved. 8 | # Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 9 | # University of Stuttgart. All rights reserved. 10 | # Copyright (c) 2004-2005 The Regents of the University of California. 11 | # All rights reserved. 12 | # Copyright (c) 2011-2013 Los Alamos National Security, LLC. 13 | # All rights reserved. 14 | # Copyright (c) 2019 Intel, Inc. All rights reserved. 15 | # Copyright (c) 2022-2024 Nanook Consulting All rights reserved. 16 | # $COPYRIGHT$ 17 | # 18 | # Additional copyrights may follow 19 | # 20 | # $HEADER$ 21 | # 22 | 23 | headers += \ 24 | base/base.h 25 | 26 | libprtemca_grpcomm_la_SOURCES += \ 27 | base/grpcomm_base_select.c \ 28 | base/grpcomm_base_frame.c 29 | -------------------------------------------------------------------------------- /src/mca/ras/simulator/ras_sim.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011-2020 Cisco Systems, Inc. All rights reserved 3 | * Copyright (c) 2015-2019 Intel, Inc. All rights reserved. 4 | * Copyright (c) 2019 Research Organization for Information Science 5 | * and Technology (RIST). All rights reserved. 6 | * Copyright (c) 2021-2022 Nanook Consulting. All rights reserved. 7 | * $COPYRIGHT$ 8 | * 9 | * Additional copyrights may follow 10 | * 11 | * $HEADER$ 12 | */ 13 | 14 | #ifndef PRTE_RAS_SIM_H 15 | #define PRTE_RAS_SIM_H 16 | 17 | #include "prte_config.h" 18 | #include "src/mca/ras/base/base.h" 19 | #include "src/mca/ras/ras.h" 20 | 21 | BEGIN_C_DECLS 22 | 23 | struct prte_ras_sim_component_t { 24 | prte_ras_base_component_t super; 25 | char *num_nodes; 26 | char *slots; 27 | char *slots_max; 28 | char *topofiles; 29 | char *topologies; 30 | bool have_cpubind; 31 | bool have_membind; 32 | }; 33 | typedef struct prte_ras_sim_component_t prte_ras_sim_component_t; 34 | 35 | PRTE_EXPORT extern prte_ras_sim_component_t prte_mca_ras_simulator_component; 36 | PRTE_EXPORT extern prte_ras_base_module_t prte_ras_sim_module; 37 | 38 | END_C_DECLS 39 | 40 | #endif 41 | -------------------------------------------------------------------------------- /src/mca/errmgr/dvm/errmgr_dvm.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010-2020 Cisco Systems, Inc. All rights reserved 3 | * Copyright (c) 2004-2011 The University of Tennessee and The University 4 | * of Tennessee Research Foundation. All rights 5 | * reserved. 6 | * Copyright (c) 2019 Research Organization for Information Science 7 | * and Technology (RIST). All rights reserved. 8 | * Copyright (c) 2016-2019 Intel, Inc. All rights reserved. 9 | * 10 | * Copyright (c) 2022 Nanook Consulting. All rights reserved. 11 | * $COPYRIGHT$ 12 | * 13 | * Additional copyrights may follow 14 | * 15 | * $HEADER$ 16 | */ 17 | 18 | /** 19 | * @file 20 | * 21 | */ 22 | 23 | #ifndef prte_errmgr_dvm_EXPORT_H 24 | #define prte_errmgr_dvm_EXPORT_H 25 | 26 | #include "prte_config.h" 27 | 28 | #include "src/mca/errmgr/errmgr.h" 29 | 30 | BEGIN_C_DECLS 31 | 32 | /* 33 | * Local Component structures 34 | */ 35 | 36 | PRTE_MODULE_EXPORT extern prte_errmgr_base_component_t prte_mca_errmgr_dvm_component; 37 | 38 | PRTE_EXPORT extern prte_errmgr_base_module_t prte_errmgr_dvm_module; 39 | 40 | END_C_DECLS 41 | 42 | #endif /* prte_errmgr_dvm_EXPORT_H */ 43 | -------------------------------------------------------------------------------- /src/include/prte_socket_errno.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 3 | * University Research and Technology 4 | * Corporation. All rights reserved. 5 | * Copyright (c) 2004-2005 The University of Tennessee and The University 6 | * of Tennessee Research Foundation. All rights 7 | * reserved. 8 | * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 9 | * University of Stuttgart. All rights reserved. 10 | * Copyright (c) 2004-2005 The Regents of the University of California. 11 | * All rights reserved. 12 | * Copyright (c) 2019 Intel, Inc. All rights reserved. 13 | * Copyright (c) 2020 Cisco Systems, Inc. All rights reserved 14 | * Copyright (c) 2021 Nanook Consulting. All rights reserved. 15 | * $COPYRIGHT$ 16 | * 17 | * Additional copyrights may follow 18 | * 19 | * $HEADER$ 20 | */ 21 | #ifndef PRTE_GET_SOCKET_ERROR_H 22 | #define PRTE_GET_SOCKET_ERROR_H 23 | 24 | #include "constants.h" 25 | #include 26 | 27 | #define prte_socket_errno errno 28 | 29 | #endif /* PRTE_GET_ERROR_H */ 30 | -------------------------------------------------------------------------------- /src/mca/filem/base/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana 3 | # University Research and Technology 4 | # Corporation. All rights reserved. 5 | # Copyright (c) 2004-2005 The University of Tennessee and The University 6 | # of Tennessee Research Foundation. All rights 7 | # reserved. 8 | # Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 9 | # University of Stuttgart. All rights reserved. 10 | # Copyright (c) 2004-2005 The Regents of the University of California. 11 | # All rights reserved. 12 | # Copyright (c) 2015 Cisco Systems, Inc. All rights reserved. 13 | # Copyright (c) 2019 Intel, Inc. All rights reserved. 14 | # Copyright (c) 2022 Nanook Consulting. All rights reserved. 15 | # $COPYRIGHT$ 16 | # 17 | # Additional copyrights may follow 18 | # 19 | # $HEADER$ 20 | # 21 | 22 | headers += \ 23 | base/base.h 24 | 25 | libprtemca_filem_la_SOURCES += \ 26 | base/filem_base_frame.c \ 27 | base/filem_base_select.c \ 28 | base/filem_base_receive.c \ 29 | base/filem_base_fns.c 30 | -------------------------------------------------------------------------------- /src/event/Makefile.am: -------------------------------------------------------------------------------- 1 | # -*- makefile -*- 2 | # 3 | # Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 4 | # University Research and Technology 5 | # Corporation. All rights reserved. 6 | # Copyright (c) 2004-2005 The University of Tennessee and The University 7 | # of Tennessee Research Foundation. All rights 8 | # reserved. 9 | # Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 10 | # University of Stuttgart. All rights reserved. 11 | # Copyright (c) 2004-2005 The Regents of the University of California. 12 | # All rights reserved. 13 | # Copyright (c) 2012 Los Alamos National Security, Inc. All rights reserved. 14 | # Copyright (c) 2014-2020 Cisco Systems, Inc. All rights reserved 15 | # Copyright (c) 2018-2020 Intel, Inc. All rights reserved. 16 | # $COPYRIGHT$ 17 | # 18 | # Additional copyrights may follow 19 | # 20 | # $HEADER$ 21 | # 22 | 23 | # This makefile.am does not stand on its own - it is included from src/Makefile.am 24 | 25 | headers += \ 26 | event/event-internal.h 27 | 28 | libprrte_la_SOURCES += \ 29 | event/event.c 30 | -------------------------------------------------------------------------------- /contrib/generate_file_list.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | # 3 | # Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 4 | # University Research and Technology 5 | # Corporation. All rights reserved. 6 | # Copyright (c) 2004-2005 The University of Tennessee and The University 7 | # of Tennessee Research Foundation. All rights 8 | # reserved. 9 | # Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 10 | # University of Stuttgart. All rights reserved. 11 | # Copyright (c) 2004-2005 The Regents of the University of California. 12 | # All rights reserved. 13 | # $COPYRIGHT$ 14 | # 15 | # Additional copyrights may follow 16 | # 17 | # $HEADER$ 18 | # 19 | 20 | if (scalar(@ARGV) != 1) { 21 | print "Usage: generate_file_list \n"; 22 | exit(3); 23 | } 24 | 25 | $file_name = @ARGV[0]; 26 | open(FILE,"$file_name") || print "File count not be opened\n"; 27 | open(TEMP,"> file_list") || print "Could not open file for writing\n"; 28 | while () { 29 | if (/Index/) { 30 | s/^Index:\s*//g; 31 | print TEMP; 32 | } 33 | } 34 | close(TEMP); 35 | close($file_name); 36 | 37 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/deprecated-gmca.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Syntax: ``--gmca ``, where ``key`` is the parameter name 16 | and ``value`` is the parameter value. The ``g`` prefix indicates that 17 | this parameter is "global", and to be applied to *all* application 18 | contexts |mdash| not just the one in which the directive appears. 19 | 20 | Pass generic MCA parameters |mdash| i.e., parameters whose project 21 | affiliation must be determined by PRRTE based on matching the name of 22 | the parameter with defined values from various projects that PRRTE 23 | knows about. 24 | 25 | .. admonition:: Deprecated 26 | :class: warning 27 | 28 | This translation can be incomplete (e.g., if known project adds or 29 | changes parameters) |mdash| thus, it is strongly recommended that 30 | users use project-specific parameters such as ``--gprtemca`` or 31 | ``--gpmixmca``. 32 | -------------------------------------------------------------------------------- /src/mca/prtedl/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2004-2010 The Trustees of Indiana University and Indiana 3 | # University Research and Technology 4 | # Corporation. All rights reserved. 5 | # Copyright (c) 2010-2020 Cisco Systems, Inc. All rights reserved 6 | # Copyright (c) 2019-2020 Intel, Inc. All rights reserved. 7 | # Copyright (c) 2022 Nanook Consulting. All rights reserved. 8 | # $COPYRIGHT$ 9 | # 10 | # Additional copyrights may follow 11 | # 12 | # $HEADER$ 13 | # 14 | 15 | # main library setup 16 | noinst_LTLIBRARIES = libprtemca_prtedl.la 17 | libprtemca_prtedl_la_SOURCES = 18 | 19 | # local files 20 | headers = prtedl.h 21 | libprtemca_prtedl_la_SOURCES += $(headers) 22 | 23 | # Ensure that the man pages are rebuilt if the prte_config.h file 24 | # changes; a "good enough" way to know if configure was run again (and 25 | # therefore the release date or version may have changed) 26 | $(nodist_man_MANS): $(top_builddir)/src/include/prte_config.h 27 | 28 | # Conditionally install the header files 29 | prtedir = $(prteincludedir)/$(subdir) 30 | nobase_prte_HEADERS = $(headers) 31 | 32 | include base/Makefile.am 33 | 34 | distclean-local: 35 | rm -f base/static-components.h 36 | rm -f $(nodist_man_MANS) 37 | -------------------------------------------------------------------------------- /src/mca/ras/base/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 3 | # University Research and Technology 4 | # Corporation. All rights reserved. 5 | # Copyright (c) 2004-2005 The University of Tennessee and The University 6 | # of Tennessee Research Foundation. All rights 7 | # reserved. 8 | # Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 9 | # University of Stuttgart. All rights reserved. 10 | # Copyright (c) 2004-2005 The Regents of the University of California. 11 | # All rights reserved. 12 | # Copyright (c) 2019 Intel, Inc. All rights reserved. 13 | # Copyright (c) 2020 Cisco Systems, Inc. All rights reserved 14 | # Copyright (c) 2022-2025 Nanook Consulting All rights reserved. 15 | # $COPYRIGHT$ 16 | # 17 | # Additional copyrights may follow 18 | # 19 | # $HEADER$ 20 | # 21 | 22 | EXTRA_DIST += \ 23 | base/help-ras-base.txt 24 | 25 | headers += \ 26 | base/base.h 27 | 28 | libprtemca_ras_la_SOURCES += \ 29 | base/ras_base_frame.c \ 30 | base/ras_base_select.c \ 31 | base/ras_base_allocate.c \ 32 | base/ras_base_node.c 33 | -------------------------------------------------------------------------------- /src/mca/ras/lsf/help-ras-lsf.txt: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # 3 | # Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana 4 | # University Research and Technology 5 | # Corporation. All rights reserved. 6 | # Copyright (c) 2004-2005 The University of Tennessee and The University 7 | # of Tennessee Research Foundation. All rights 8 | # reserved. 9 | # Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 10 | # University of Stuttgart. All rights reserved. 11 | # Copyright (c) 2004-2005 The Regents of the University of California. 12 | # All rights reserved. 13 | # Copyright (c) 2019-2020 Intel, Inc. All rights reserved. 14 | # Copyright (c) 2020 Cisco Systems, Inc. All rights reserved 15 | # Copyright (c) 2025 Nanook Consulting All rights reserved. 16 | # $COPYRIGHT$ 17 | # 18 | # Additional copyrights may follow 19 | # 20 | # $HEADER$ 21 | # 22 | # This is the US/English help file for PRTE MCA error messages. 23 | # 24 | [nodelist-failed] 25 | While trying to determine what resources are available, LSF failed when 26 | queried for a list of available nodes. This may indicate a problem with 27 | LSF or your cluster. 28 | -------------------------------------------------------------------------------- /docs/release-notes.rst: -------------------------------------------------------------------------------- 1 | Release Notes 2 | ============= 3 | 4 | - Systems that have been tested are: 5 | 6 | - Linux (various flavors/distros), 64 bit (x86 and ARM), with gcc 7 | - OS X (14.0 and above), 64 bit (x86_64 and ARM), with gcc and clang 8 | 9 | - Launch environment testing status: 10 | 11 | - ssh: fully tested 12 | - slurm: compiled, no testing 13 | - lsf: compiled using a shim header, no testing 14 | - pals: compiled, no testing 15 | - tm (Torque): compiled using a shim header, no testing 16 | 17 | - PRRTE has taken some steps towards Reproducible Builds 18 | (https://reproducible-builds.org/). Specifically, PRRTE's 19 | ``configure`` and ``make`` process, by default, records the build 20 | date and some system-specific information such as the hostname where 21 | PRRTE was built and the username who built it. If you desire a 22 | Reproducible Build, set the ``$SOURCE_DATE_EPOCH``, ``$USER`` and 23 | ``$HOSTNAME`` environment variables before invoking ``configure`` 24 | and ``make``, and PRRTE will use those values instead of invoking 25 | ``whoami`` and/or ``hostname``, respectively. See 26 | https://reproducible-builds.org/docs/source-date-epoch/ for 27 | information on the expected format and content of the 28 | ``$SOURCE_DATE_EPOCH`` variable. 29 | -------------------------------------------------------------------------------- /src/mca/state/dvm/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2015-2020 Intel, Inc. All rights reserved. 3 | # Copyright (c) 2017 IBM Corporation. All rights reserved. 4 | # Copyright (c) 2020 Cisco Systems, Inc. All rights reserved 5 | # Copyright (c) 2022 Nanook Consulting. All rights reserved. 6 | # $COPYRIGHT$ 7 | # 8 | # Additional copyrights may follow 9 | # 10 | # $HEADER$ 11 | # 12 | 13 | sources = \ 14 | state_dvm.h \ 15 | state_dvm_component.c \ 16 | state_dvm.c 17 | 18 | # Make the output library in this directory, and name it either 19 | # mca__.la (for DSO builds) or libmca__.la 20 | # (for static builds). 21 | 22 | if MCA_BUILD_prte_state_dvm_DSO 23 | component_noinst = 24 | component_install = prte_mca_state_dvm.la 25 | else 26 | component_noinst = libprtemca_state_dvm.la 27 | component_install = 28 | endif 29 | 30 | mcacomponentdir = $(prtelibdir) 31 | mcacomponent_LTLIBRARIES = $(component_install) 32 | prte_mca_state_dvm_la_SOURCES = $(sources) 33 | prte_mca_state_dvm_la_LDFLAGS = -module -avoid-version 34 | prte_mca_state_dvm_la_LIBADD = $(top_builddir)/src/libprrte.la 35 | 36 | noinst_LTLIBRARIES = $(component_noinst) 37 | libprtemca_state_dvm_la_SOURCES =$(sources) 38 | libprtemca_state_dvm_la_LDFLAGS = -module -avoid-version 39 | -------------------------------------------------------------------------------- /src/mca/common/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 3 | # University Research and Technology 4 | # Corporation. All rights reserved. 5 | # Copyright (c) 2004-2005 The University of Tennessee and The University 6 | # of Tennessee Research Foundation. All rights 7 | # reserved. 8 | # Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 9 | # University of Stuttgart. All rights reserved. 10 | # Copyright (c) 2004-2005 The Regents of the University of California. 11 | # All rights reserved. 12 | # Copyright (c) 2010-2020 Cisco Systems, Inc. All rights reserved 13 | # Copyright (c) 2019 Intel, Inc. All rights reserved. 14 | # $COPYRIGHT$ 15 | # 16 | # Additional copyrights may follow 17 | # 18 | # $HEADER$ 19 | # 20 | 21 | # Note that this file must exist, even though it is empty (there is no 22 | # "base" directory for the common framework). autogen.pl and 23 | # prte_mca.m4 assume that every framework has a top-level Makefile.am. 24 | # We *could* adjust the framework glue code to exclude "common" from 25 | # this requirement, but it's just a lot easier to have an empty 26 | # Makefile.am here. 27 | -------------------------------------------------------------------------------- /src/mca/errmgr/dvm/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2010-2020 Cisco Systems, Inc. All rights reserved 3 | # Copyright (c) 2016-2020 Intel, Inc. All rights reserved. 4 | # Copyright (c) 2017 IBM Corporation. All rights reserved. 5 | # Copyright (c) 2022 Nanook Consulting. All rights reserved. 6 | # $COPYRIGHT$ 7 | # 8 | # Additional copyrights may follow 9 | # 10 | # $HEADER$ 11 | # 12 | 13 | sources = \ 14 | errmgr_dvm.h \ 15 | errmgr_dvm_component.c \ 16 | errmgr_dvm.c 17 | 18 | # Make the output library in this directory, and name it either 19 | # mca__.la (for DSO builds) or libmca__.la 20 | # (for static builds). 21 | 22 | if MCA_BUILD_prte_errmgr_dvm_DSO 23 | component_noinst = 24 | component_install = prte_mca_errmgr_dvm.la 25 | else 26 | component_noinst = libprtemca_errmgr_dvm.la 27 | component_install = 28 | endif 29 | 30 | mcacomponentdir = $(prtelibdir) 31 | mcacomponent_LTLIBRARIES = $(component_install) 32 | prte_mca_errmgr_dvm_la_SOURCES = $(sources) 33 | prte_mca_errmgr_dvm_la_LDFLAGS = -module -avoid-version 34 | prte_mca_errmgr_dvm_la_LIBADD = $(top_builddir)/src/libprrte.la 35 | 36 | noinst_LTLIBRARIES = $(component_noinst) 37 | libprtemca_errmgr_dvm_la_SOURCES =$(sources) 38 | libprtemca_errmgr_dvm_la_LDFLAGS = -module -avoid-version 39 | -------------------------------------------------------------------------------- /src/mca/iof/base/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 3 | # University Research and Technology 4 | # Corporation. All rights reserved. 5 | # Copyright (c) 2004-2005 The University of Tennessee and The University 6 | # of Tennessee Research Foundation. All rights 7 | # reserved. 8 | # Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 9 | # University of Stuttgart. All rights reserved. 10 | # Copyright (c) 2004-2005 The Regents of the University of California. 11 | # All rights reserved. 12 | # Copyright (c) 2013 Los Alamos National Security, LLC. All rights reserved. 13 | # Copyright (c) 2019 Intel, Inc. All rights reserved. 14 | # Copyright (c) 2020 Cisco Systems, Inc. All rights reserved 15 | # Copyright (c) 2022-2025 Nanook Consulting All rights reserved. 16 | # $COPYRIGHT$ 17 | # 18 | # Additional copyrights may follow 19 | # 20 | # $HEADER$ 21 | # 22 | 23 | headers += \ 24 | base/base.h \ 25 | base/iof_base_setup.h 26 | 27 | libprtemca_iof_la_SOURCES += \ 28 | base/iof_base_frame.c \ 29 | base/iof_base_select.c \ 30 | base/iof_base_output.c \ 31 | base/iof_base_setup.c 32 | -------------------------------------------------------------------------------- /src/mca/errmgr/prted/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2010-2020 Cisco Systems, Inc. All rights reserved 3 | # Copyright (c) 2017 IBM Corporation. All rights reserved. 4 | # Copyright (c) 2017-2020 Intel, Inc. All rights reserved. 5 | # Copyright (c) 2022 Nanook Consulting. All rights reserved. 6 | # $COPYRIGHT$ 7 | # 8 | # Additional copyrights may follow 9 | # 10 | # $HEADER$ 11 | # 12 | 13 | sources = \ 14 | errmgr_prted.h \ 15 | errmgr_prted_component.c \ 16 | errmgr_prted.c 17 | 18 | # Make the output library in this directory, and name it either 19 | # mca__.la (for DSO builds) or libmca__.la 20 | # (for static builds). 21 | 22 | if MCA_BUILD_prte_errmgr_prted_DSO 23 | component_noinst = 24 | component_install = prte_mca_errmgr_prted.la 25 | else 26 | component_noinst = libprtemca_errmgr_prted.la 27 | component_install = 28 | endif 29 | 30 | mcacomponentdir = $(prtelibdir) 31 | mcacomponent_LTLIBRARIES = $(component_install) 32 | prte_mca_errmgr_prted_la_SOURCES = $(sources) 33 | prte_mca_errmgr_prted_la_LDFLAGS = -module -avoid-version 34 | prte_mca_errmgr_prted_la_LIBADD = $(top_builddir)/src/libprrte.la 35 | 36 | noinst_LTLIBRARIES = $(component_noinst) 37 | libprtemca_errmgr_prted_la_SOURCES =$(sources) 38 | libprtemca_errmgr_prted_la_LDFLAGS = -module -avoid-version 39 | -------------------------------------------------------------------------------- /src/mca/prtedl/dlopen/prtedl_dlopen.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015-2020 Cisco Systems, Inc. All rights reserved 3 | * Copyright (c) 2019-2020 Intel, Inc. All rights reserved. 4 | * Copyright (c) 2019 Research Organization for Information Science 5 | * and Technology (RIST). All rights reserved. 6 | * Copyright (c) 2022 Nanook Consulting. All rights reserved. 7 | * $COPYRIGHT$ 8 | * 9 | * Additional copyrights may follow 10 | * 11 | * $HEADER$ 12 | */ 13 | 14 | #ifndef PRTE_DL_DLOPEN 15 | #define PRTE_DL_DLOPEN 16 | 17 | #include "prte_config.h" 18 | 19 | #include "src/mca/prtedl/prtedl.h" 20 | 21 | PRTE_EXPORT extern prte_prtedl_base_module_t prte_prtedl_dlopen_module; 22 | 23 | /* 24 | * Dynamic library handles generated by this component. 25 | * 26 | * If we're debugging, keep a copy of the name of the file we've opened. 27 | */ 28 | struct prte_dl_handle_t { 29 | void *dlopen_handle; 30 | #if PRTE_ENABLE_DEBUG 31 | void *filename; 32 | #endif 33 | }; 34 | 35 | typedef struct { 36 | prte_prtedl_base_component_t base; 37 | 38 | char *filename_suffixes_mca_storage; 39 | char **filename_suffixes; 40 | } prte_prtedl_dlopen_component_t; 41 | 42 | PRTE_EXPORT extern prte_prtedl_dlopen_component_t prte_mca_prtedl_dlopen_component; 43 | 44 | #endif /* PRTE_DL_DLOPEN */ 45 | -------------------------------------------------------------------------------- /config/prte_setup_cli.m4: -------------------------------------------------------------------------------- 1 | dnl -*- shell-script -*- 2 | dnl 3 | dnl Copyright (c) 2016 Research Organization for Information Science 4 | dnl and Technology (RIST). All rights reserved. 5 | dnl Copyright (c) 2017-2019 Intel, Inc. All rights reserved. 6 | dnl Copyright (c) 2018-2020 Cisco, Inc. All rights reserved. 7 | dnl $COPYRIGHT$ 8 | dnl 9 | dnl Additional copyrights may follow 10 | dnl 11 | dnl $HEADER$ 12 | dnl 13 | 14 | dnl PRTE_CAPTURE_CONFIGURE_CLI 15 | dnl 16 | dnl Capture configure command line and do the AC substitution 17 | dnl 18 | dnl Arguments: the variable in which command line will be captured 19 | dnl 20 | dnl Dependencies: None 21 | dnl 22 | AC_DEFUN([PRTE_CAPTURE_CONFIGURE_CLI],[ 23 | # Capture configure command line do the AC substitution 24 | PRTE_VAR_SCOPE_PUSH([sed_quote_subst arg quoted_arg]) 25 | $1= 26 | for arg in "$[]@"; do 27 | sed_quote_subst='s/\(@<:@`"\\@:>@\)/\\\1/g' 28 | case "$arg" in 29 | *@<:@\\\`\"\$[]@:>@*) 30 | quoted_arg=\'`echo "$arg" | sed $sed_quote_subst`\' ;; 31 | *) 32 | quoted_arg="\'$arg\'" ;; 33 | esac 34 | 35 | eval "$1=\$$1\\ \$quoted_arg" 36 | done 37 | AC_DEFINE_UNQUOTED([$1], ["$$1"], [Capture the configure cmd line]) 38 | PRTE_VAR_SCOPE_POP 39 | AC_SUBST($1) 40 | ]) 41 | -------------------------------------------------------------------------------- /src/mca/prtereachable/weighted/reachable_weighted.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014-2020 Intel, Inc. All rights reserved. 3 | * Copyright (c) 2017 Amazon.com, Inc. or its affiliates. 4 | * All Rights reserved. 5 | * Copyright (c) 2020 Cisco Systems, Inc. All rights reserved 6 | * Copyright (c) 2021-2022 Nanook Consulting. All rights reserved. 7 | * $COPYRIGHT$ 8 | * 9 | * Additional copyrights may follow 10 | * 11 | * $HEADER$ 12 | */ 13 | 14 | #ifndef PRTE_MCA_REACHABLE_WEIGHTED_H 15 | #define PRTE_MCA_REACHABLE_WEIGHTED_H 16 | 17 | #include "prte_config.h" 18 | 19 | #ifdef HAVE_SYS_SOCKET_H 20 | # include 21 | #endif 22 | #ifdef HAVE_SYS_UN_H 23 | # include 24 | #endif 25 | 26 | #include "src/event/event-internal.h" 27 | #include "src/mca/mca.h" 28 | #include "src/mca/prtereachable/prtereachable.h" 29 | #include "src/util/proc_info.h" 30 | 31 | BEGIN_C_DECLS 32 | 33 | typedef struct { 34 | prte_reachable_base_component_t super; 35 | } prte_mca_prtereachable_weighted_component_t; 36 | 37 | PRTE_EXPORT extern prte_mca_prtereachable_weighted_component_t prte_mca_prtereachable_weighted_component; 38 | 39 | PRTE_EXPORT extern const prte_reachable_base_module_t prte_prtereachable_weighted_module; 40 | 41 | END_C_DECLS 42 | 43 | #endif /* MCA_REACHABLE_WEIGHTED_H */ 44 | -------------------------------------------------------------------------------- /src/rml/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 3 | # University Research and Technology 4 | # Corporation. All rights reserved. 5 | # Copyright (c) 2004-2005 The University of Tennessee and The University 6 | # of Tennessee Research Foundation. All rights 7 | # reserved. 8 | # Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 9 | # University of Stuttgart. All rights reserved. 10 | # Copyright (c) 2004-2005 The Regents of the University of California. 11 | # All rights reserved. 12 | # Copyright (c) 2010-2020 Cisco Systems, Inc. All rights reserved 13 | # Copyright (c) 2019 Intel, Inc. All rights reserved. 14 | # Copyright (c) 2022-2024 Nanook Consulting All rights reserved. 15 | # $COPYRIGHT$ 16 | # 17 | # Additional copyrights may follow 18 | # 19 | # $HEADER$ 20 | # 21 | 22 | # local files 23 | headers += \ 24 | rml/rml.h \ 25 | rml/rml_types.h \ 26 | rml/rml_contact.h 27 | 28 | libprrte_la_SOURCES += \ 29 | rml/rml.c \ 30 | rml/rml_send.c \ 31 | rml/rml_recv.c \ 32 | rml/rml_base_contact.c \ 33 | rml/rml_base_msg_handlers.c \ 34 | rml/routed_radix.c 35 | 36 | include rml/oob/Makefile.am 37 | -------------------------------------------------------------------------------- /src/include/prefetch.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004-2006 The Regents of the University of California. 3 | * All rights reserved. 4 | * Copyright (c) 2019 Intel, Inc. All rights reserved. 5 | * Copyright (c) 2020 Cisco Systems, Inc. All rights reserved 6 | * Copyright (c) 2021-2022 Nanook Consulting. All rights reserved. 7 | * $COPYRIGHT$ 8 | * 9 | * Additional copyrights may follow 10 | * 11 | * $HEADER$ 12 | */ 13 | 14 | /** @file 15 | * 16 | * Compiler-specific prefetch functions 17 | * 18 | * A small set of prefetch / prediction interfaces for using compiler 19 | * directives to improve memory prefetching and branch prediction 20 | */ 21 | 22 | #ifndef PRTE_PREFETCH_H 23 | #define PRTE_PREFETCH_H 24 | 25 | #include "prte_config.h" 26 | 27 | /* C code */ 28 | 29 | #if PRTE_C_HAVE_BUILTIN_EXPECT 30 | # define PMIX_LIKELY(expression) __builtin_expect(!!(expression), 1) 31 | # define PMIX_UNLIKELY(expression) __builtin_expect(!!(expression), 0) 32 | #else 33 | # define PMIX_LIKELY(expression) (expression) 34 | # define PMIX_UNLIKELY(expression) (expression) 35 | #endif 36 | 37 | #if PRTE_C_HAVE_BUILTIN_PREFETCH 38 | # define PRTE_PREFETCH(address, rw, locality) __builtin_prefetch(address, rw, locality) 39 | #else 40 | # define PRTE_PREFETCH(address, rw, locality) 41 | #endif 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /src/mca/rmaps/ppr/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2011-2020 Cisco Systems, Inc. All rights reserved 3 | # Copyright (c) 2017 IBM Corporation. All rights reserved. 4 | # Copyright (c) 2017-2020 Intel, Inc. All rights reserved. 5 | # Copyright (c) 2022-2025 Nanook Consulting All rights reserved. 6 | # $COPYRIGHT$ 7 | # 8 | # Additional copyrights may follow 9 | # 10 | # $HEADER$ 11 | # 12 | 13 | EXTRA_DIST = \ 14 | help-prte-rmaps-ppr.txt 15 | 16 | sources = \ 17 | rmaps_ppr.c \ 18 | rmaps_ppr.h \ 19 | rmaps_ppr_component.c 20 | 21 | # Make the output library in this directory, and name it either 22 | # mca__.la (for DSO builds) or libmca__.la 23 | # (for static builds). 24 | 25 | if MCA_BUILD_prte_rmaps_ppr_DSO 26 | component_noinst = 27 | component_install = prte_mca_rmaps_ppr.la 28 | else 29 | component_noinst = libprtemca_rmaps_ppr.la 30 | component_install = 31 | endif 32 | 33 | mcacomponentdir = $(prtelibdir) 34 | mcacomponent_LTLIBRARIES = $(component_install) 35 | prte_mca_rmaps_ppr_la_SOURCES = $(sources) 36 | prte_mca_rmaps_ppr_la_LDFLAGS = -module -avoid-version 37 | prte_mca_rmaps_ppr_la_LIBADD = $(top_builddir)/src/libprrte.la 38 | 39 | noinst_LTLIBRARIES = $(component_noinst) 40 | libprtemca_rmaps_ppr_la_SOURCES =$(sources) 41 | libprtemca_rmaps_ppr_la_LDFLAGS = -module -avoid-version 42 | -------------------------------------------------------------------------------- /src/tools/pcc/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 3 | # University Research and Technology 4 | # Corporation. All rights reserved. 5 | # Copyright (c) 2004-2005 The University of Tennessee and The University 6 | # of Tennessee Research Foundation. All rights 7 | # reserved. 8 | # Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 9 | # University of Stuttgart. All rights reserved. 10 | # Copyright (c) 2004-2005 The Regents of the University of California. 11 | # All rights reserved. 12 | # Copyright (c) 2006-2020 Cisco Systems, Inc. All rights reserved 13 | # Copyright (c) 2014-2020 Intel, Inc. All rights reserved. 14 | # Copyright (c) 2014-2019 Research Organization for Information Science 15 | # and Technology (RIST). All rights reserved. 16 | # Copyright (c) 2021-2025 Nanook Consulting All rights reserved. 17 | # $COPYRIGHT$ 18 | # 19 | # Additional copyrights may follow 20 | # 21 | # $HEADER$ 22 | # 23 | 24 | if PRTE_HAVE_PMIXCC 25 | 26 | install-exec-hook: 27 | (cd $(DESTDIR)$(bindir); rm -f pcc; $(LN_S) $(PMIXCC_PATH)$(EXEEXT) pcc) 28 | 29 | uninstall-local: 30 | rm -f $(DESTDIR)$(bindir)/pcc$(EXEEXT) 31 | 32 | endif 33 | -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- 1 | PMIx Reference Runtime Environment (PRRTE) |prte_ver| 2 | ===================================================== 3 | 4 | The project is formally referred to in documentation by "PRRTE", and 5 | the GitHub repository is ``prrte``. 6 | 7 | .. note:: We have found that most users do not like typing the two 8 | consecutive ``r`` letters in the name. Hence, all of the 9 | internal API symbols, environment variables, MCA frameworks, 10 | and CLI executables all use the abbreviated ``prte`` (one 11 | ``r``, not two) for convenience. 12 | 13 | Documentation locations 14 | ======================= 15 | 16 | This documentation can be found in the following locations: 17 | 18 | * On the web: https://docs.prrte.org/ 19 | * In the tarball: ``docs/_build/html/index.html`` 20 | * Installed: ``$prefix/share/doc/prrte/html/index.html`` 21 | 22 | Table of contents 23 | ================= 24 | 25 | .. toctree:: 26 | :maxdepth: 2 27 | :numbered: 28 | 29 | quickstart 30 | release-notes 31 | getting-help 32 | install 33 | configuration 34 | terminology 35 | how-things-work/index 36 | hosts/index 37 | placement/index 38 | launching-apps/index 39 | notifications 40 | session-directory 41 | developers/index 42 | contributing 43 | license 44 | man/index 45 | versions 46 | news/index 47 | -------------------------------------------------------------------------------- /contrib/platform/utk/cray_xc30_darter: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2014 The University of Tennessee and The University 2 | # of Tennessee Research Foundation. All rights 3 | # reserved. 4 | 5 | # Debug options 6 | enable_mem_debug=no 7 | enable_mem_profile=no 8 | enable_debug=no 9 | enable_debug_symbols=no 10 | #enable_pretty_print_stacktrace=no 11 | with_valgrind=no 12 | enable_contrib_no_build= 13 | 14 | # Extensions and language bindings 15 | enable_io_romio=yes 16 | enable_oshmem=no 17 | enable_mpi_cxx=no 18 | enable_mpi_cxx_seek=no 19 | enable_cxx_exceptions=no 20 | enable_binaries=yes 21 | 22 | # Components to load/ignore 23 | with_alps=yes 24 | with_tm=no 25 | with_slurm=no 26 | with_xpmem=yes 27 | with_verbs=no 28 | enable_mca_no_build=crs,filem,routed-linear,snapc,pml-example,pml-cm,ess-cnos,grpcomm-cnos,plm-rsh,btl-tcp,oob-ud,ras-simulator,mpool-fake,maffinity-first_use,maffinity-libnuma,paffinity-linux 29 | enable_mca_static=btl:ugni,btl:self,btl:vader,pml:ob1,coll:ml 30 | #enable_mca_direct=pml-ob1 31 | with_threads=yes 32 | enable_heterogeneous=no 33 | with_memory_manager=linux 34 | #enable_ipv6=no 35 | #enable_prte_static_ports=no 36 | #enable_pty_support=no 37 | 38 | # Setup for static build on Cray 39 | enable_static=yes 40 | enable_shared=no 41 | enable_dlopen=no 42 | enable_getpwuid=no 43 | enable_hwloc_pci=no 44 | 45 | -------------------------------------------------------------------------------- /docs/quickstart.rst: -------------------------------------------------------------------------------- 1 | .. _label-quickstart: 2 | 3 | Quick start 4 | =========== 5 | 6 | In many cases, PRRTE can be built and installed by simply 7 | indicating the installation directory on the command line: 8 | 9 | .. code-block:: sh 10 | 11 | $ tar xf prrte-.tar.bz2 12 | $ cd prrte- 13 | $ ./configure --prefix= |& tee config.out 14 | ...lots of output... 15 | $ make -j 8 |& tee make.out 16 | ...lots of output... 17 | $ make install |& tee install.out 18 | ...lots of output... 19 | 20 | Note that there are many, many configuration options to the 21 | ``./configure`` step. Some of them may be needed for your particular 22 | environmnet; see below for desciptions of the options available. 23 | 24 | If your installation prefix path is not writable by a regular user, 25 | you may need to use ``sudo`` or ``su`` to run the ``make install`` 26 | step. For example: 27 | 28 | .. code-block:: sh 29 | 30 | $ sudo make install |& tee install.out 31 | [sudo] password for builduser: 32 | ...lots of output... 33 | 34 | Finally, note that VPATH builds are fully supported. For example: 35 | 36 | .. code-block:: sh 37 | 38 | $ tar xf prrte-.tar.bz2 39 | $ cd prrte- 40 | $ mkdir build 41 | $ cd build 42 | $ ../configure --prefix= |& tee config.out 43 | ...etc. 44 | -------------------------------------------------------------------------------- /src/mca/ras/testrm/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2011-2020 Cisco Systems, Inc. All rights reserved 3 | # Copyright (c) 2017 IBM Corporation. All rights reserved. 4 | # Copyright (c) 2017-2020 Intel, Inc. All rights reserved. 5 | # Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 6 | # $COPYRIGHT$ 7 | # 8 | # Additional copyrights may follow 9 | # 10 | # $HEADER$ 11 | # 12 | 13 | sources = \ 14 | ras_testrm.h \ 15 | ras_testrm_component.c \ 16 | ras_testrm.c 17 | 18 | # Make the output library in this directory, and name it either 19 | # mca__.la (for DSO builds) or libmca__.la 20 | # (for static builds). 21 | 22 | if MCA_BUILD_prte_ras_testrm_DSO 23 | lib = 24 | lib_sources = 25 | component = prte_mca_ras_testrm.la 26 | component_sources = $(sources) 27 | else 28 | lib = libprtemca_ras_testrm.la 29 | lib_sources = $(sources) 30 | component = 31 | component_sources = 32 | endif 33 | 34 | mcacomponentdir = $(prtelibdir) 35 | mcacomponent_LTLIBRARIES = $(component) 36 | prte_mca_ras_testrm_la_SOURCES = $(component_sources) 37 | prte_mca_ras_testrm_la_LDFLAGS = -module -avoid-version 38 | prte_mca_ras_testrm_la_LIBADD = $(top_builddir)/src/libprrte.la 39 | 40 | noinst_LTLIBRARIES = $(lib) 41 | libprtemca_ras_testrm_la_SOURCES = $(lib_sources) 42 | libprtemca_ras_testrm_la_LDFLAGS = -module -avoid-version 43 | -------------------------------------------------------------------------------- /src/mca/errmgr/base/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2004-2010 The Trustees of Indiana University and Indiana 3 | # University Research and Technology 4 | # Corporation. All rights reserved. 5 | # Copyright (c) 2004-2005 The University of Tennessee and The University 6 | # of Tennessee Research Foundation. All rights 7 | # reserved. 8 | # Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 9 | # University of Stuttgart. All rights reserved. 10 | # Copyright (c) 2004-2005 The Regents of the University of California. 11 | # All rights reserved. 12 | # Copyright (c) 2012-2013 Los Alamos National Security, Inc. All rights reserved. 13 | # Copyright (c) 2017-2019 Intel, Inc. All rights reserved. 14 | # Copyright (c) 2020 Cisco Systems, Inc. All rights reserved 15 | # Copyright (c) 2022-2025 Nanook Consulting All rights reserved. 16 | # $COPYRIGHT$ 17 | # 18 | # Additional copyrights may follow 19 | # 20 | # $HEADER$ 21 | # 22 | 23 | EXTRA_DIST += \ 24 | base/help-errmgr-base.txt 25 | 26 | headers += \ 27 | base/errmgr_private.h \ 28 | base/base.h 29 | 30 | libprtemca_errmgr_la_SOURCES += \ 31 | base/errmgr_base_select.c \ 32 | base/errmgr_base_frame.c \ 33 | base/errmgr_base_fns.c 34 | -------------------------------------------------------------------------------- /src/pmix/Makefile.am: -------------------------------------------------------------------------------- 1 | # -*- makefile -*- 2 | # 3 | # Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 4 | # University Research and Technology 5 | # Corporation. All rights reserved. 6 | # Copyright (c) 2004-2016 The University of Tennessee and The University 7 | # of Tennessee Research Foundation. All rights 8 | # reserved. 9 | # Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 10 | # University of Stuttgart. All rights reserved. 11 | # Copyright (c) 2004-2005 The Regents of the University of California. 12 | # All rights reserved. 13 | # Copyright (c) 2014-2020 Cisco Systems, Inc. All rights reserved 14 | # Copyright (c) 2015 Research Organization for Information Science 15 | # and Technology (RIST). All rights reserved. 16 | # Copyright (c) 2017-2020 Intel, Inc. All rights reserved. 17 | # Copyright (c) 2021 Nanook Consulting. All rights reserved. 18 | # $COPYRIGHT$ 19 | # 20 | # Additional copyrights may follow 21 | # 22 | # $HEADER$ 23 | # 24 | 25 | # This makefile.am does not stand on its own - it is included from src/Makefile.am 26 | 27 | # Source code files 28 | headers += \ 29 | pmix/pmix-internal.h 30 | 31 | libprrte_la_SOURCES += \ 32 | pmix/pmix.c 33 | -------------------------------------------------------------------------------- /src/tools/prun/prun.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004-2010 The Trustees of Indiana University and Indiana 3 | * University Research and Technology 4 | * Corporation. All rights reserved. 5 | * Copyright (c) 2004-2005 The University of Tennessee and The University 6 | * of Tennessee Research Foundation. All rights 7 | * reserved. 8 | * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 9 | * University of Stuttgart. All rights reserved. 10 | * Copyright (c) 2004-2005 The Regents of the University of California. 11 | * All rights reserved. 12 | * Copyright (c) 2007-2020 Cisco Systems, Inc. All rights reserved 13 | * Copyright (c) 2012-2013 Los Alamos National Security, LLC. 14 | * All rights reserved 15 | * Copyright (c) 2014-2019 Intel, Inc. All rights reserved. 16 | * Copyright (c) 2021 Nanook Consulting All rights reserved. 17 | * $COPYRIGHT$ 18 | * 19 | * Additional copyrights may follow 20 | * 21 | * $HEADER$ 22 | */ 23 | 24 | #ifndef PRUN_H 25 | #define PRUN_H 26 | 27 | #include "prte_config.h" 28 | 29 | BEGIN_C_DECLS 30 | 31 | /** 32 | * Main body of prun functionality 33 | */ 34 | int prun(int argc, char *argv[]); 35 | 36 | END_C_DECLS 37 | 38 | #endif /* PRTERUN_PRTERUN_H */ 39 | -------------------------------------------------------------------------------- /src/mca/ras/simulator/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2011-2020 Cisco Systems, Inc. All rights reserved 3 | # Copyright (c) 2017 IBM Corporation. All rights reserved. 4 | # Copyright (c) 2017-2020 Intel, Inc. All rights reserved. 5 | # Copyright (c) 2022-2025 Nanook Consulting All rights reserved. 6 | # $COPYRIGHT$ 7 | # 8 | # Additional copyrights may follow 9 | # 10 | # $HEADER$ 11 | # 12 | 13 | sources = \ 14 | ras_sim.h \ 15 | ras_sim_component.c \ 16 | ras_sim_module.c 17 | 18 | # Make the output library in this directory, and name it either 19 | # mca__.la (for DSO builds) or libmca__.la 20 | # (for static builds). 21 | 22 | if MCA_BUILD_prte_ras_simulator_DSO 23 | lib = 24 | lib_sources = 25 | component = prte_mca_ras_simulator.la 26 | component_sources = $(sources) 27 | else 28 | lib = libprtemca_ras_simulator.la 29 | lib_sources = $(sources) 30 | component = 31 | component_sources = 32 | endif 33 | 34 | mcacomponentdir = $(prtelibdir) 35 | mcacomponent_LTLIBRARIES = $(component) 36 | prte_mca_ras_simulator_la_SOURCES = $(component_sources) 37 | prte_mca_ras_simulator_la_LDFLAGS = -module -avoid-version 38 | prte_mca_ras_simulator_la_LIBADD = $(top_builddir)/src/libprrte.la 39 | 40 | noinst_LTLIBRARIES = $(lib) 41 | libprtemca_ras_simulator_la_SOURCES = $(lib_sources) 42 | libprtemca_ras_simulator_la_LDFLAGS = -module -avoid-version 43 | -------------------------------------------------------------------------------- /src/docs/prrte-rst-content/cli-allow-run-as-root.rst: -------------------------------------------------------------------------------- 1 | .. -*- rst -*- 2 | 3 | Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. 4 | Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. 5 | 6 | $COPYRIGHT$ 7 | 8 | Additional copyrights may follow 9 | 10 | $HEADER$ 11 | 12 | .. The following line is included so that Sphinx won't complain 13 | about this file not being directly included in some toctree 14 | 15 | Allow execution as root **(STRONGLY DISCOURAGED)**. 16 | 17 | Running as root exposes the user to potentially catastrophic file 18 | system corruption and damage |mdash| e.g., if the user accidentally 19 | points the root of the session directory to a system required point, 20 | this directory and all underlying elements will be deleted upon job 21 | completion, thereby rendering the system inoperable. 22 | 23 | It is recognized that some environments (e.g., containers) may require 24 | operation as root, and that the user accepts the risks in those 25 | scenarios. Accordingly, one can override PRRTE's run-as-root 26 | protection by providing one of the following: 27 | 28 | * The ``--allow-run-as-root`` command line directive 29 | * Adding **BOTH** of the following environmental parameters: 30 | 31 | * ``PRTE_ALLOW_RUN_AS_ROOT=1`` 32 | * ``PRTE_ALLOW_RUN_AS_ROOT_CONFIRM=1`` 33 | 34 | Again, we recommend this only be done if absolutely necessary. 35 | -------------------------------------------------------------------------------- /src/mca/plm/base/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 3 | # University Research and Technology 4 | # Corporation. All rights reserved. 5 | # Copyright (c) 2004-2005 The University of Tennessee and The University 6 | # of Tennessee Research Foundation. All rights 7 | # reserved. 8 | # Copyright (c) 2004-2009 High Performance Computing Center Stuttgart, 9 | # University of Stuttgart. All rights reserved. 10 | # Copyright (c) 2004-2005 The Regents of the University of California. 11 | # All rights reserved. 12 | # Copyright (c) 2009-2020 Cisco Systems, Inc. All rights reserved 13 | # Copyright (c) 2015-2019 Intel, Inc. All rights reserved. 14 | # Copyright (c) 2022-2025 Nanook Consulting All rights reserved. 15 | # $COPYRIGHT$ 16 | # 17 | # Additional copyrights may follow 18 | # 19 | # $HEADER$ 20 | # 21 | 22 | EXTRA_DIST += \ 23 | base/help-plm-base.txt 24 | 25 | headers += \ 26 | base/base.h \ 27 | base/plm_private.h 28 | 29 | libprtemca_plm_la_SOURCES += \ 30 | base/plm_base_frame.c \ 31 | base/plm_base_select.c \ 32 | base/plm_base_receive.c \ 33 | base/plm_base_launch_support.c \ 34 | base/plm_base_jobid.c \ 35 | base/plm_base_prted_cmds.c 36 | -------------------------------------------------------------------------------- /examples/README: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2016 Intel, Inc. All rights reserved. 2 | # $COPYRIGHT$ 3 | 4 | The files in this directory are sample PMIx applications provided both 5 | as a trivial primer to PMIx as well as simple tests to ensure that your 6 | PMIx Reference Server (PSVR) installation is working properly: 7 | 8 | client.c: 9 | A simple PMIx client that attaches to the server and performs a few 10 | simple PMIx_Get calls following a blocking fence operation that returns 11 | all collected data from calls to PMIx_Put. 12 | 13 | debugger.c: 14 | Mimics a debugger tool. Contacts the PSVR to obtain 15 | nspace information and displays it. Takes user input as to the application 16 | to be "debugged", and then instructs PSVR to launch the companion 17 | "debuggerd" daemons on the nodes where the application is running. The 18 | daemons then connect to the local PSVR daemon and issue a "breakpoint" 19 | notification so the application knows the debugger has attached and is 20 | released from its barrier. The debugger then cleans up and quits. 21 | 22 | dmodex.c: 23 | A simple PMIx client that attaches to the server and performs a few 24 | simple PMIx_Get calls following a blocking fence operation that has 25 | been directed _not_ to return any collected data from calls to PMIx_Put. 26 | 27 | dynamic.c: 28 | 29 | 30 | The Makefile assumes that the pcc wrapper compiler is in your path. 31 | 32 | Make today a PMIx day! 33 | -------------------------------------------------------------------------------- /src/mca/odls/base/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana 3 | # University Research and Technology 4 | # Corporation. All rights reserved. 5 | # Copyright (c) 2004-2005 The University of Tennessee and The University 6 | # of Tennessee Research Foundation. All rights 7 | # reserved. 8 | # Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 9 | # University of Stuttgart. All rights reserved. 10 | # Copyright (c) 2004-2005 The Regents of the University of California. 11 | # All rights reserved. 12 | # Copyright (c) 2012-2013 Los Alamos National Security, LLC. 13 | # All rights reserved 14 | # Copyright (c) 2019 Intel, Inc. All rights reserved. 15 | # Copyright (c) 2020 Cisco Systems, Inc. All rights reserved 16 | # Copyright (c) 2022-2025 Nanook Consulting All rights reserved. 17 | # $COPYRIGHT$ 18 | # 19 | # Additional copyrights may follow 20 | # 21 | # $HEADER$ 22 | # 23 | 24 | EXTRA_DIST += \ 25 | base/help-prte-odls-base.txt 26 | 27 | headers += \ 28 | base/base.h 29 | 30 | libprtemca_odls_la_SOURCES += \ 31 | base/odls_base_frame.c \ 32 | base/odls_base_select.c \ 33 | base/odls_base_default_fns.c \ 34 | base/odls_base_bind.c 35 | -------------------------------------------------------------------------------- /docs/how-things-work/schedulers/flow_of_control.rst: -------------------------------------------------------------------------------- 1 | Flow-of-Control 2 | =============== 3 | 4 | Describe how allocation requests are flowed to the scheduler, 5 | scheduler attachment upon startup of either side, where response 6 | to allocation requests are returned and how they get back to 7 | the requestor, where session controls are received for allocation 8 | instantiation and how that is done, where session control is 9 | called to indicate all jobs complete in session. 10 | 11 | Probably best to start with an overview of how things flow 12 | and then drill down into the respective steps. 13 | 14 | Allocation requests have to be serviced by the scheduler. Since 15 | a requestor could attach directly to the scheduler (e.g., in the 16 | case of a tool submitting a session request) or to a daemon within 17 | the RM (who must then relay it to its system controller for forwarding 18 | to the scheduler), the scheduler must inform the RM of the allocation 19 | via the ``PMIx_Session_control`` API - i.e., the RM cannot guarantee 20 | its ability to intercept and process an allocation response to learn 21 | of a session that needs to be instantiated. 22 | 23 | PRRTE's role in the ``PMIx_Allocation_request`` flow is simply to 24 | pass the request on to the scheduler, and transport the reply back 25 | to the requestor. 26 | 27 | PRRTE only creates a session object as a result of a call from the 28 | scheduler via ``PMIx_Session_control``. 29 | -------------------------------------------------------------------------------- /src/mca/plm/lsf/help-plm-lsf.txt: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # 3 | # Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 4 | # University Research and Technology 5 | # Corporation. All rights reserved. 6 | # Copyright (c) 2004-2005 The University of Tennessee and The University 7 | # of Tennessee Research Foundation. All rights 8 | # reserved. 9 | # Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 10 | # University of Stuttgart. All rights reserved. 11 | # Copyright (c) 2004-2005 The Regents of the University of California. 12 | # All rights reserved. 13 | # Copyright (c) 2017 IBM Corporation. All rights reserved. 14 | # Copyright (c) 2017-2020 Intel, Inc. All rights reserved. 15 | # Copyright (c) 2020 Cisco Systems, Inc. All rights reserved 16 | # Copyright (c) 2025 Nanook Consulting All rights reserved. 17 | # $COPYRIGHT$ 18 | # 19 | # Additional copyrights may follow 20 | # 21 | # $HEADER$ 22 | # 23 | [lsb_launch-failed] 24 | The LSF process starter (lsb_launch) failed to start the daemons on 25 | the nodes in the allocation. 26 | Returned : %d 27 | lsberrno : (%d) %s 28 | 29 | This may mean that one or more of the nodes in the LSF allocation is 30 | not setup properly. Below is a list of the %d nodes that were passed 31 | to lsb_launch: 32 | %s 33 | -------------------------------------------------------------------------------- /src/mca/prteinstalldirs/base/base.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2006-2013 Los Alamos National Security, LLC. All rights 3 | * reserved. 4 | * Copyright (c) 2007-2020 Cisco Systems, Inc. All rights reserved 5 | * Copyright (c) 2010 Sandia National Laboratories. All rights reserved. 6 | * Copyright (c) 2019-2020 Intel, Inc. All rights reserved. 7 | * Copyright (c) 2021-2022 Nanook Consulting. All rights reserved. 8 | * $COPYRIGHT$ 9 | * 10 | * Additional copyrights may follow 11 | * 12 | * $HEADER$ 13 | * 14 | */ 15 | 16 | #ifndef PRTE_INSTALLDIRS_BASE_H 17 | #define PRTE_INSTALLDIRS_BASE_H 18 | 19 | #include "prte_config.h" 20 | #include "src/mca/base/pmix_mca_base_framework.h" 21 | #include "src/mca/prteinstalldirs/prteinstalldirs.h" 22 | 23 | /* 24 | * Global functions for MCA overall prteinstalldirs open and close 25 | */ 26 | BEGIN_C_DECLS 27 | 28 | /** 29 | * Framework structure declaration 30 | */ 31 | PRTE_EXPORT extern pmix_mca_base_framework_t prte_prteinstalldirs_base_framework; 32 | 33 | /* Just like prte_install_dirs_expand() (see prteinstalldirs.h), but will 34 | also insert the value of the environment variable $PRTE_DESTDIR, if 35 | it exists/is set. This function should *only* be used during the 36 | setup routines of prteinstalldirs. */ 37 | char *prte_install_dirs_expand_setup(const char *input); 38 | 39 | END_C_DECLS 40 | 41 | #endif /* PRTE_BASE_INSTALLDIRS_H */ 42 | -------------------------------------------------------------------------------- /src/mca/grpcomm/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 3 | # University Research and Technology 4 | # Corporation. All rights reserved. 5 | # Copyright (c) 2004-2005 The University of Tennessee and The University 6 | # of Tennessee Research Foundation. All rights 7 | # reserved. 8 | # Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 9 | # University of Stuttgart. All rights reserved. 10 | # Copyright (c) 2004-2005 The Regents of the University of California. 11 | # All rights reserved. 12 | # Copyright (c) 2010-2020 Cisco Systems, Inc. All rights reserved 13 | # Copyright (c) 2019 Intel, Inc. All rights reserved. 14 | # Copyright (c) 2022 Nanook Consulting. All rights reserved. 15 | # $COPYRIGHT$ 16 | # 17 | # Additional copyrights may follow 18 | # 19 | # $HEADER$ 20 | # 21 | 22 | # main library setup 23 | noinst_LTLIBRARIES = libprtemca_grpcomm.la 24 | libprtemca_grpcomm_la_SOURCES = 25 | 26 | # local files 27 | headers = grpcomm.h 28 | 29 | libprtemca_grpcomm_la_SOURCES += $(headers) 30 | 31 | # Conditionally install the header files 32 | prtedir = $(prteincludedir)/$(subdir) 33 | nobase_prte_HEADERS = $(headers) 34 | 35 | include base/Makefile.am 36 | 37 | distclean-local: 38 | rm -f base/static-components.h 39 | -------------------------------------------------------------------------------- /src/mca/prtereachable/weighted/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2014-2020 Intel, Inc. All rights reserved. 3 | # Copyright (c) 2017 IBM Corporation. All rights reserved. 4 | # Copyright (c) 2020 Cisco Systems, Inc. All rights reserved 5 | # Copyright (c) 2022 Nanook Consulting. All rights reserved. 6 | # $COPYRIGHT$ 7 | # 8 | # Additional copyrights may follow 9 | # 10 | # $HEADER$ 11 | # 12 | 13 | sources = \ 14 | reachable_weighted.h \ 15 | reachable_weighted_component.c \ 16 | reachable_weighted.c 17 | 18 | # Make the output library in this directory, and name it either 19 | # mca__.la (for DSO builds) or libmca__.la 20 | # (for static builds). 21 | 22 | if MCA_BUILD_prte_prtereachable_weighted_DSO 23 | component_noinst = 24 | component_install = prte_mca_prtereachable_weighted.la 25 | else 26 | component_noinst = libprtemca_prtereachable_weighted.la 27 | component_install = 28 | endif 29 | 30 | mcacomponentdir = $(prtelibdir) 31 | mcacomponent_LTLIBRARIES = $(component_install) 32 | prte_mca_prtereachable_weighted_la_SOURCES = $(sources) 33 | prte_mca_prtereachable_weighted_la_LDFLAGS = -module -avoid-version 34 | prte_mca_prtereachable_weighted_la_LIBADD = $(top_builddir)/src/libprrte.la 35 | 36 | noinst_LTLIBRARIES = $(component_noinst) 37 | libprtemca_prtereachable_weighted_la_SOURCES =$(sources) 38 | libprtemca_prtereachable_weighted_la_LDFLAGS = -module -avoid-version 39 | -------------------------------------------------------------------------------- /src/mca/state/prted/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2011 Los Alamos National Security, LLC. 3 | # All rights reserved. 4 | # Copyright (c) 2017 IBM Corporation. All rights reserved. 5 | # Copyright (c) 2017-2020 Intel, Inc. All rights reserved. 6 | # Copyright (c) 2020 Cisco Systems, Inc. All rights reserved 7 | # Copyright (c) 2022 Nanook Consulting. All rights reserved. 8 | # $COPYRIGHT$ 9 | # 10 | # Additional copyrights may follow 11 | # 12 | # $HEADER$ 13 | # 14 | 15 | sources = \ 16 | state_prted.h \ 17 | state_prted_component.c \ 18 | state_prted.c 19 | 20 | # Make the output library in this directory, and name it either 21 | # mca__.la (for DSO builds) or libmca__.la 22 | # (for static builds). 23 | 24 | if MCA_BUILD_prte_state_prted_DSO 25 | component_noinst = 26 | component_install = prte_mca_state_prted.la 27 | else 28 | component_noinst = libprtemca_state_prted.la 29 | component_install = 30 | endif 31 | 32 | mcacomponentdir = $(prtelibdir) 33 | mcacomponent_LTLIBRARIES = $(component_install) 34 | prte_mca_state_prted_la_SOURCES = $(sources) 35 | prte_mca_state_prted_la_LDFLAGS = -module -avoid-version 36 | prte_mca_state_prted_la_LIBADD = $(top_builddir)/src/libprrte.la 37 | 38 | noinst_LTLIBRARIES = $(component_noinst) 39 | libprtemca_state_prted_la_SOURCES =$(sources) 40 | libprtemca_state_prted_la_LDFLAGS = -module -avoid-version 41 | -------------------------------------------------------------------------------- /src/mca/prtebacktrace/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 3 | # University Research and Technology 4 | # Corporation. All rights reserved. 5 | # Copyright (c) 2004-2005 The University of Tennessee and The University 6 | # of Tennessee Research Foundation. All rights 7 | # reserved. 8 | # Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 9 | # University of Stuttgart. All rights reserved. 10 | # Copyright (c) 2004-2005 The Regents of the University of California. 11 | # All rights reserved. 12 | # Copyright (c) 2010-2020 Cisco Systems, Inc. All rights reserved 13 | # Copyright (c) 2019-2020 Intel, Inc. All rights reserved. 14 | # Copyright (c) 2022 Nanook Consulting. All rights reserved. 15 | # $COPYRIGHT$ 16 | # 17 | # Additional copyrights may follow 18 | # 19 | # $HEADER$ 20 | # 21 | 22 | # main library setup 23 | noinst_LTLIBRARIES = libprtemca_prtebacktrace.la 24 | libprtemca_prtebacktrace_la_SOURCES = 25 | 26 | # local files 27 | headers = prtebacktrace.h 28 | libprtemca_prtebacktrace_la_SOURCES += $(headers) 29 | 30 | # Conditionally install the header files 31 | prtedir = $(prteincludedir)/$(subdir) 32 | nobase_prte_HEADERS = $(headers) 33 | 34 | include base/Makefile.am 35 | 36 | distclean-local: 37 | rm -f base/static-components.h 38 | -------------------------------------------------------------------------------- /docs/news/news-v4.x.rst: -------------------------------------------------------------------------------- 1 | PRRTE v4.x series 2 | ================= 3 | 4 | This file contains all the NEWS updates for the PRRTE v4.x 5 | series, in reverse chronological order. 6 | 7 | 4.0.0 -- TBD 8 | ------------ 9 | .. important:: This is the first release in the v4 family. The intent 10 | for this series is to provide regular "reference tags", 11 | effectively serving as milestones for any development 12 | that might occur after the project achieved a stable 13 | landing zone at the conclusion of the v3 series. It 14 | is expected, therefore, that releases shall be infrequent 15 | and rare occurrences, primarily driven by the completion 16 | of some significant feature or some particularly 17 | critical bug fix. 18 | 19 | For this initial release, that feature is completion of 20 | support for the Group family of PMIx APIs. This includes 21 | support for all three of the group construction modes, 22 | including the new "bootstrap" method. 23 | 24 | Note that while PRRTE v4 will build and execute against 25 | PMIx v5, proper execution of the various group construction 26 | modes requires that your application use PMIx v6 or above. 27 | 28 | A full list of individual changes will not be provided here, 29 | but will commence with the v4.0.1 release. 30 | -------------------------------------------------------------------------------- /docs/news/index.rst: -------------------------------------------------------------------------------- 1 | .. PMIx NEWS 2 | 3 | This page serves as a high level NEWS page which includes NEWS 4 | from various PMIx series 5 | 6 | News 7 | ==== 8 | 9 | This file contains the main features as well as overviews of specific 10 | bug fixes (and other actions) for each version of PRRTE since 11 | version 1.0. 12 | 13 | PRRTE typically releases two separate version 14 | series simultaneously. Since these series have different goals and 15 | are semi-independent of each other, a single NEWS-worthy item may be 16 | introduced into different series at different times. For example, 17 | feature F was introduced in the vA.B series at version vA.B.C, and was 18 | later introduced into the vX.Y series at vX.Y.Z. 19 | 20 | The first time feature F is released, the item will be listed in the 21 | vA.B.C section, denoted as: 22 | 23 | (** also to appear: X.Y.Z) -- indicating that this item is also 24 | likely to be included in future release 25 | version vX.Y.Z. 26 | 27 | When vX.Y.Z is later released, the same NEWS-worthy item will also be 28 | included in the vX.Y.Z section and be denoted as: 29 | 30 | (** also appeared: A.B.C) -- indicating that this item was previously 31 | included in release version vA.B.C. 32 | 33 | :ref:`search` 34 | 35 | .. toctree:: 36 | :maxdepth: 1 37 | 38 | news-v4.x 39 | news-v3.x 40 | news-v2.x 41 | news-v1.x 42 | -------------------------------------------------------------------------------- /src/mca/errmgr/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 3 | # University Research and Technology 4 | # Corporation. All rights reserved. 5 | # Copyright (c) 2004-2005 The University of Tennessee and The University 6 | # of Tennessee Research Foundation. All rights 7 | # reserved. 8 | # Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 9 | # University of Stuttgart. All rights reserved. 10 | # Copyright (c) 2004-2005 The Regents of the University of California. 11 | # All rights reserved. 12 | # Copyright (c) 2010-2020 Cisco Systems, Inc. All rights reserved 13 | # Copyright (c) 2019 Intel, Inc. All rights reserved. 14 | # Copyright (c) 2022-2025 Nanook Consulting All rights reserved. 15 | # $COPYRIGHT$ 16 | # 17 | # Additional copyrights may follow 18 | # 19 | # $HEADER$ 20 | # 21 | 22 | # main library setup 23 | noinst_LTLIBRARIES = libprtemca_errmgr.la 24 | libprtemca_errmgr_la_SOURCES = 25 | 26 | # local files 27 | headers = errmgr.h 28 | libprtemca_errmgr_la_SOURCES += $(headers) 29 | 30 | # pkgdata setup 31 | EXTRA_DIST = 32 | 33 | # Conditionally install the header files 34 | prtedir = $(prteincludedir)/$(subdir) 35 | nobase_prte_HEADERS = $(headers) 36 | 37 | include base/Makefile.am 38 | 39 | distclean-local: 40 | rm -f base/static-components.h 41 | -------------------------------------------------------------------------------- /src/mca/plm/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 3 | # University Research and Technology 4 | # Corporation. All rights reserved. 5 | # Copyright (c) 2004-2005 The University of Tennessee and The University 6 | # of Tennessee Research Foundation. All rights 7 | # reserved. 8 | # Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 9 | # University of Stuttgart. All rights reserved. 10 | # Copyright (c) 2004-2005 The Regents of the University of California. 11 | # All rights reserved. 12 | # Copyright (c) 2010-2020 Cisco Systems, Inc. All rights reserved 13 | # Copyright (c) 2019 Intel, Inc. All rights reserved. 14 | # Copyright (c) 2022-2025 Nanook Consulting All rights reserved. 15 | # $COPYRIGHT$ 16 | # 17 | # Additional copyrights may follow 18 | # 19 | # $HEADER$ 20 | # 21 | 22 | # main library setup 23 | noinst_LTLIBRARIES = libprtemca_plm.la 24 | libprtemca_plm_la_SOURCES = 25 | 26 | # pkgdata setup 27 | EXTRA_DIST = 28 | 29 | # local files 30 | headers = plm.h plm_types.h 31 | libprtemca_plm_la_SOURCES += $(headers) 32 | 33 | # Conditionally install the header files 34 | prtedir = $(prteincludedir)/$(subdir) 35 | nobase_prte_HEADERS = $(headers) 36 | 37 | include base/Makefile.am 38 | 39 | distclean-local: 40 | rm -f base/static-components.h 41 | -------------------------------------------------------------------------------- /src/mca/odls/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 3 | # University Research and Technology 4 | # Corporation. All rights reserved. 5 | # Copyright (c) 2004-2005 The University of Tennessee and The University 6 | # of Tennessee Research Foundation. All rights 7 | # reserved. 8 | # Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 9 | # University of Stuttgart. All rights reserved. 10 | # Copyright (c) 2004-2005 The Regents of the University of California. 11 | # All rights reserved. 12 | # Copyright (c) 2010-2020 Cisco Systems, Inc. All rights reserved 13 | # Copyright (c) 2019 Intel, Inc. All rights reserved. 14 | # Copyright (c) 2022-2025 Nanook Consulting All rights reserved. 15 | # $COPYRIGHT$ 16 | # 17 | # Additional copyrights may follow 18 | # 19 | # $HEADER$ 20 | # 21 | 22 | # main library setup 23 | noinst_LTLIBRARIES = libprtemca_odls.la 24 | libprtemca_odls_la_SOURCES = 25 | 26 | # pkgdata setup 27 | EXTRA_DIST = 28 | 29 | # local files 30 | headers = odls.h odls_types.h 31 | libprtemca_odls_la_SOURCES += $(headers) 32 | 33 | # Conditionally install the header files 34 | prtedir = $(prteincludedir)/$(subdir) 35 | nobase_prte_HEADERS = $(headers) 36 | 37 | include base/Makefile.am 38 | 39 | distclean-local: 40 | rm -f base/static-components.h 41 | -------------------------------------------------------------------------------- /src/util/parse_options.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 3 | * University Research and Technology 4 | * Corporation. All rights reserved. 5 | * Copyright (c) 2004-2006 The University of Tennessee and The University 6 | * of Tennessee Research Foundation. All rights 7 | * reserved. 8 | * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 9 | * University of Stuttgart. All rights reserved. 10 | * Copyright (c) 2004-2005 The Regents of the University of California. 11 | * All rights reserved. 12 | * Copyright (c) 2008 Sun Microsystems, Inc. All rights reserved. 13 | * Copyright (c) 2019 Intel, Inc. All rights reserved. 14 | * Copyright (c) 2020 Cisco Systems, Inc. All rights reserved 15 | * Copyright (c) 2022 Nanook Consulting. All rights reserved. 16 | * $COPYRIGHT$ 17 | * 18 | * Additional copyrights may follow 19 | * 20 | * $HEADER$ 21 | */ 22 | 23 | /** @file: 24 | * 25 | */ 26 | 27 | #ifndef _PRTE_PARSE_OPTIONS_H_ 28 | #define _PRTE_PARSE_OPTIONS_H_ 29 | 30 | #include "prte_config.h" 31 | 32 | BEGIN_C_DECLS 33 | 34 | PRTE_EXPORT void pmix_util_parse_range_options(char *input, char ***output); 35 | 36 | PRTE_EXPORT void prte_util_get_ranges(char *inp, char ***startpts, char ***endpts); 37 | 38 | END_C_DECLS 39 | #endif 40 | -------------------------------------------------------------------------------- /src/mca/plm/tm/help-plm-tm.txt: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # 3 | # Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 4 | # University Research and Technology 5 | # Corporation. All rights reserved. 6 | # Copyright (c) 2004-2005 The University of Tennessee and The University 7 | # of Tennessee Research Foundation. All rights 8 | # reserved. 9 | # Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 10 | # University of Stuttgart. All rights reserved. 11 | # Copyright (c) 2004-2005 The Regents of the University of California. 12 | # All rights reserved. 13 | # Copyright (c) 2019-2020 Intel, Inc. All rights reserved. 14 | # Copyright (c) 2020 Cisco Systems, Inc. All rights reserved 15 | # Copyright (c) 2025 Nanook Consulting All rights reserved. 16 | # $COPYRIGHT$ 17 | # 18 | # Additional copyrights may follow 19 | # 20 | # $HEADER$ 21 | # 22 | # 23 | [tm-spawn-failed] 24 | The TM (PBS / Torque) process starter failed to spawn a daemon (prted) 25 | on a remote node. 26 | 27 | Command line: %s 28 | Node name: %s 29 | Launch id: %d 30 | 31 | If you do not understand this error mesage, please try the following: 32 | 33 | 1. Ensure that the executable "prted" is in your PATH 34 | 2. Use the --prefix option to indicate where we can 35 | find that executable 36 | 3. Talk to your local system administrator 37 | --------------------------------------------------------------------------------