utilities
0.0
|
Functions | |
MPI_Comm | comm_self () |
Return MPI_COMM_SELF in an MPI program, or an appropriate dummy if not. More... | |
MPI_Comm | comm_global () |
Return the MPI communicator containing all processes available for participation in computation. If MPI support has been compiled (either mpi.h has already been included, or HAVE_MPI_H has been defined) but not yet initialised, MPI will be initialised, and then MPI_COMM_WORLD is selected. Otherwise, in the case of a program compiled with PPIDD, and for which PPIDD has already been initialised, this will be the PPIDD worker communicator. Otherwise, in the case of a program compiled with GA, and for which GA has already been initialised, this will be the GA worker communicator. Otherwise, if MPI support has is active, MPI_COMM_WORLD is selected. Otherwise (completely serial code), a place-holder is chosen. In the Molpro context, if running in mppx mode, MPI_COMM_SELF is always returned. More... | |
int | size_global () |
Query the size of the global MPI communicator. More... | |
int | rank_global () |
Query the rank in the global MPI communicator. More... | |
int | init () |
In MPI environment initialize; otherwise do nothing. Intended to support MPI-agnostic programs. More... | |
int | finalize () |
In MPI environment finalize; otherwise do nothing. More... | |
|
inline |
Return the MPI communicator containing all processes available for participation in computation. If MPI support has been compiled (either mpi.h has already been included, or HAVE_MPI_H has been defined) but not yet initialised, MPI will be initialised, and then MPI_COMM_WORLD is selected. Otherwise, in the case of a program compiled with PPIDD, and for which PPIDD has already been initialised, this will be the PPIDD worker communicator. Otherwise, in the case of a program compiled with GA, and for which GA has already been initialised, this will be the GA worker communicator. Otherwise, if MPI support has is active, MPI_COMM_WORLD is selected. Otherwise (completely serial code), a place-holder is chosen. In the Molpro context, if running in mppx mode, MPI_COMM_SELF is always returned.
|
inline |
Return MPI_COMM_SELF in an MPI program, or an appropriate dummy if not.
|
inline |
In MPI environment finalize; otherwise do nothing.
|
inline |
In MPI environment initialize; otherwise do nothing. Intended to support MPI-agnostic programs.
|
inline |
Query the rank in the global MPI communicator.
|
inline |
Query the size of the global MPI communicator.