1 INTEGER FUNCTION numroc( N, NB, IPROC, ISRCPROC, NPROCS )
9 INTEGER iproc, isrcproc, n, nb, nprocs
43 INTEGER extrablks, mydist, nblocks
52 mydist = mod( nprocs+iproc-isrcproc, nprocs )
60 numroc = (nblocks/nprocs) * nb
64 extrablks = mod( nblocks, nprocs )
68 IF( mydist.LT.extrablks )
THEN
73 ELSE IF( mydist.EQ.extrablks )
THEN