korc_hpc Module

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.



Contents


Variables

TypeVisibility AttributesNameInitial
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.


Subroutines

public subroutine korc_abort()

Read more…

Arguments

None

public subroutine initialize_mpi(params)

Read more…

Arguments

Type IntentOptional AttributesName
type(KORC_PARAMS), intent(inout) :: params

Core KORC simulation parameters.

public subroutine timing_KORC(params)

Read more…

Arguments

Type IntentOptional AttributesName
type(KORC_PARAMS), intent(in) :: params

Core KORC simulation parameters.

public subroutine finalize_mpi(params)

@brief Subroutine for finalizing MPI communications. @details This subroutine finalizes all the MPI communications and looks for errors durignt this procces.

Read more…

Arguments

Type IntentOptional AttributesName
type(KORC_PARAMS), intent(in) :: params

public subroutine initialize_communications(params)

Arguments

Type IntentOptional AttributesName
type(KORC_PARAMS), intent(inout) :: params