mod_mympi Module

Wrapper for the definition of the MPI helper functions

Note

ruess: taken from Pkkr_sidebranch2D_2014_12_16, created by Bernd Zimmermann


Variables

Type Visibility Attributes Name Initial
integer, public, save :: myrank = -1
integer, public, save :: nranks = -1
integer, public, save :: master = -1
logical, public, save :: mpiatom = .false.
integer, public, save :: mpiadapt = -1

Subroutines

public subroutine mympi_init()

License
Creative Commons License
Category
communication, KKRhost

Initialization of the MPI process

Arguments

None

public subroutine distribute_work_energies(n_work, distribute_rest)

License
Creative Commons License
Category
communication, KKRhost

Wrapper for work distribution over energies, also saves parallelization information for later use in t_mpi_c_grid

Read more…

Arguments

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

decide wether or not to distribute the rest rank or leave them idle

logical, intent(in), optional :: distribute_rest

public subroutine distribute_work_atoms(n_work, i1_start, i1_end, distribute_rest)

License
Creative Commons License
Category
communication, KKRhost

wrapper for work distribution over atoms, also saves parallelization information for later use in t_mpi_c_grid

Read more…

Arguments

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

decide wether or not to distribute the rest rank or leave them idle

integer, intent(out) :: i1_start

number of energies to be distributed

integer, intent(out) :: i1_end
logical, intent(in), optional :: distribute_rest

number of energies to be distributed