parallelisation_setup_m Module

Initialises parallelisation framework


Uses


Contents


Variables

Type Visibility Attributes Name Initial
logical, protected :: is_rank_info_writer = .false.

Can be used to select rank, which rank performs output to screen. Only for GRILLIX code part Will be set to rank 0 in parallelisation_init


Subroutines

public subroutine parallelisation_init(filename, comm_handler)

Initialises MPI-environment and prints some general information

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename

Filename where parameters of MPI topology are read from

type(comm_handler_t), intent(inout) :: comm_handler

Communicators

public subroutine parallelisation_finalize()

Finalises MPI-environment

Arguments

None

public subroutine set_rank_info_writer(rank_info_writer)

Sets rank_info_writer as rank that performs info output within GRILLIX

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: rank_info_writer