KORC module containing subroutines to initilize, control, and to finalize parallel communications.
Subroutine for initializing MPI and open MP communications.
This subroutine initializes MPI and open MP communications and looks for errors durignt this procces. The system environment variables, which are modified by the user at the moment of running/submitting a KORC simulation, are used to determine the open MP configuration. Some open MP parameters are displayed on the screen/output file.
@param[in] params Core KORC simulation parameters. @param mpi_process_finalized Flag indicating whether an individual MPI process was finalized correctly. @param mpierr MPI error status.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
logical, | private | :: | timed_already | = | .FALSE. | Flag to determine if a first call to WMPI_TIME() was made already. |
|
real(kind=rp), | private | :: | t1 | Variable to be used in timing a parallel section of KORC. |
|||
real(kind=rp), | private | :: | t2 | Variable to be used in timing a parallel section of KORC. |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(in) | :: | params | Core KORC simulation parameters. |
@brief Subroutine for finalizing MPI communications. @details This subroutine finalizes all the MPI communications and looks for errors durignt this procces.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(in) | :: | params |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(inout) | :: | params |