distribute_work_atoms Subroutine

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

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

number of energies to be distributed

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