Grid_getProcGridInfo(integer(OUT) :: comm(MDIM), integer(OUT) :: procGrid(MDIM), integer(OUT) :: me(MDIM))
For Uniform Grid, and for the purpose of running the pfft routines the processors are logically configured as a cartesian grid, where each grid point represents a processor. Each dimension has its own communicator which is split from MPI_COMM_WORLD. This routine returns the communicators, the number of processors in each communicator, and the identity of the processor in each communicator.
comm - communicator along each dimension procGrid - number of processors in each communicator me - identity of MyPE in each of the communicators