Heuristic to get good split factor for a given process grid OR a given number of processes \return split factor consistent with process grid or number of processes
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | numproc |
total number of processes or (if split_pgrid) process grid dimension to split Desired split factor |
||
integer, | intent(in) | :: | nsplit |
total number of processes or (if split_pgrid) process grid dimension to split Desired split factor |
||
logical, | intent(in) | :: | split_pgrid |
whether to split process grid |
||
integer, | intent(in), | optional | :: | pdim_nonsplit |
if split_pgrid: other process grid dimension |