Sometimes we only want to specify for a process grid the number of slices and then automatically compute the right number of rows and columns.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | total_processors |
Total processors in the grid |
||
integer, | intent(in) | :: | set_slices |
Desired number of slices |
||
integer, | intent(out) | :: | rows |
Computed number of rows |
||
integer, | intent(out) | :: | columns |
Computed number of columns |