next up previous contents
Next: zio_new_distarray Up: Module zio_data (Source File: Previous: zio_get_zio_npes

zio_new_decomp

INTERFACE:

         integer function zio_new_decomp(decomp,p1,p2,p3,p4,p5)
DESCRIPTION:

Create a descriptor for parallel decomposition of up to 5-D which has p1,p2,...processes along axes. Here, process ranks change fastest along the first axis, then second axis,... (In MPI's Cartesian process topology, rank ordering is the opposite.)

REVISION HISTORY:

       2003-Jan-31 -- first prototype
       2003-Aug-16 -- support single task mode: ZIO_SPMD undefined
USES:
         implicit none
OUTPUT PARAMETERS:
         integer, intent(out) :: decomp
INPUT PARAMETERS:
         integer, intent(in)  :: p1              ! ignored for non-SPMD
         integer, optional, intent(in)  :: p2    ! ignored for non-SPMD
         integer, optional, intent(in)  :: p3    ! ignored for non-SPMD
         integer, optional, intent(in)  :: p4    ! ignored for non-SPMD
         integer, optional, intent(in)  :: p5    ! ignored for non-SPMD

\



Yun (Helen) He
Tue Dec 9 16:16:02 PST 2003