IMPLICIT DOUBLE PRECISION (A-H,O-Z) INCLUDE 'mpif.h' INTEGER RTYPE PARAMETER (RTYPE=MPI_DOUBLE_PRECISION) * *** IMPLICIT REAL (A-H,O-Z) *** INCLUDE 'mpif.h' *** INTEGER RTYPE *** PARAMETER (RTYPE=MPI_REAL) * * NPROCS: total number of processors * NP, NQ: processor grid, NP*NQ = NPROCS * MYRANK: my rank in MPI_COMM_WORLD * NGLOB, MGLOB: total grid points * NLOCA, MLOCA: local grid points * RANK_X, RANK_Y: coordinates in the NPxNQ proc grid. * IOFFSET, JOFFSET: coordinates of lower-left corner in the global grid. * INTEGER NPROCS, NP, NQ, MYRANK, NGLOB, MGLOB, NLOCA, MLOCA, + RANK_X, RANK_Y, IOFFSET, JOFFSET COMMON /PARMS/ NPROCS, NP, NQ, MYRANK, NGLOB, MGLOB, NLOCA, MLOCA, + RANK_X, RANK_Y, IOFFSET, JOFFSET