1 INTEGER FUNCTION npreroc( N, NB, IPROC, ISRCPROC, NPROCS )
9 INTEGER iproc, isrcproc, n, nb, nprocs
46 INTEGER extrablks, mydist, nblocks
55 mydist = mod( nprocs+iproc-isrcproc, nprocs )
63 npreroc = (nblocks/nprocs) * nb * mydist
67 extrablks = mod( nblocks, nprocs )
71 IF( mydist.LE.extrablks )
THEN