A better version of NUMROC (NUMber Rows Or Columns). Returns the local dimension given global matrix + distribution parameters.
numroc2(N, NB, IPROC, NPROCS)
Global number of rows/cols.
Block size.
Coordinate of the process whose local info is to be determined.
Total number of processors over which matrix is distributed.
For advanced users only.