This module provides basic information on the parallel environment
Information about parallel runs
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | comm_size |
size of MPI communicator |
|||
integer, | public | :: | rank |
MPI rank |
|||
integer, | public | :: | root |
MPI root rank |
|||
integer, | public | :: | comm |
MPI communicator |
|||
integer, | public | :: | nThreads |
Maximal Number of OpenMP threads |
|||
logical, | public | :: | isRoot |
Whether this process is the root |
Initialize the environment. This routine is called by tem_start which should be the very first action in a program.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_comm_env_type) | :: | proc |
The process communicator type |
|||
integer, | intent(in), | optional | :: | comm |
mpi communicator if it is predefined as in apesmate |
Initialize a debug environment for just one process without envoking MPI
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_comm_env_type) | :: | proc |
The process communicator type |
Finalize the environment. This routine is called by tem_finalize which should be the very last action in a program.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_comm_env_type) | :: | proc |
The process communicator type |