Wrapper for the definition of the MPI helper functions
Note
ruess: taken from Pkkr_sidebranch2D_2014_12_16, created by Bernd Zimmermann
| 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 |
Wrapper for work distribution over energies, also saves parallelization information for later use in t_mpi_c_grid
| Type | Intent | Optional | 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 |
wrapper for work distribution over atoms, also saves parallelization information for later use in t_mpi_c_grid
| Type | Intent | Optional | 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 |