This module provides basic information on the parallel environment
Information about parallel runs
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | comm_size | size of MPI communicator |
|||
integer, | private | :: | rank | MPI rank |
|||
integer, | private | :: | root | MPI root rank |
|||
integer, | private | :: | comm | MPI communicator |
|||
integer, | private | :: | nThreads | Maximal Number of OpenMP threads |
|||
logical, | private | :: | 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 |