Provided by: mpi-doc_1.2.7-10ubuntu1_all
MPE_Decomp1d - Compute a balanced decomposition of a 1-D array
int MPE_Decomp1d( n, size, rank, s, e ) int n, size, rank, *s, *e;
n - Length of the array size - Number of processors in decomposition rank - Rank of this processor in the decomposition (0 <= rank < size)
s,e - Array indices are s:e, with the original array considered as 1:n.
decomp.c 6/14/2000 MPE_Decomp1d(4)