ParaMonte Fortran 2.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation. |
Go to the source code of this file.
Functions/Subroutines | |
program | xgetImageCountMPI |
This program contains instructions to determine the number of MPI-parallel processes and MPI image ranks used in MPI-parallelized programs. More... | |
program xgetImageCountMPI |
This program contains instructions to determine the number of MPI-parallel processes and MPI image ranks used in MPI-parallelized programs.
A primary goal for the design of this program is to allow automatic invocation of the MPI-parallel versions of the ParaMonte library from within dynamic programming language environments (e.g., MATLAB, Python, R, ...) without the use having to explicitly specify the MPI-parallelism or the specific MPI vendor used.
The goal is to allow to write scripts in dynamic languages that are parallelism-agnostic.
Corresponding to each MPI-parallelized ParaMonte library, a binary for this program will also be generated that can be called from within dynamic languages using system-level applications to check if and which MPI library is being used on the command line.
Multiple execution scenarios are possible:
<imageCount>
and <imageRank>
are replaced with the actual inferred positive integer values at runtime.1
for imageCount
implies that either:mpiexec
launcher), or,mpiexec
is 1
.0
for both the <imageCount>
and <imageRank>
, as in the following:imageCount
can determine whether a runtime error has occurred or not.xget
in the program name stands for execute and get.
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.
Definition at line 47 of file getImageCountMPI.F90.