From dfdc3fe1a2d4141e41e7ab410cd6b6145e5750ea Mon Sep 17 00:00:00 2001
From: sjplimp
processors Px Py Pz keyword args ...-
grid arg = cart or cart/reorder or xyz or xzy or yxz or yzx or zxy or zyx
- cart = use MPI_Cart() methods to layout 3d grid of procs with reorder = 0
- cart/reorder = use MPI_Cart() methods to layout 3d grid of procs with reorder = 1
- xyz,xzy,yxz,yzx,zxy,zyx = layout 3d grid of procs in IJK order
+ grid arg = gstyle params ...
+ gstyle = onelevel or twolevel or numa or custom
+ onelevel params = none
+ twolevel params = Cx Cy Cz
+ Cx,Cy,Cz = # of cores in each dimension of 3d sub-grid assigned to each node
+ numa params = none
+ custom params = fname
+ fname = file containing grid layout
+ map arg = cart or cart/reorder or xyz or xzy or yxz or yzx or zxy or zyx
+ cart = use MPI_Cart() methods to map processors to 3d grid with reorder = 0
+ cart/reorder = use MPI_Cart() methods to map processors to 3d grid with reorder = 1
+ xyz,xzy,yxz,yzx,zxy,zyx = map procesors to 3d grid in IJK ordering
numa arg = none
part args = Psend Precv cstyle
Psend = partition # (1 to Np) which will send its processor layout
Precv = partition # (1 to Np) which will recv the processor layout
cstyle = multiple
- multiple = Psend layout will be multiple of Precv layout in each dimension
- file arg = fname
- fname = name of file to write processor mapping info to
+ multiple = Psend grid will be multiple of Precv grid in each dimension
+ file arg = outname
+ outname = name of file to write 3d grid of processors to
processors * * 5 processors 2 4 4 -processors 2 4 4 grid xyz -processors * * 8 grid xyz -processors * * * numa -processors 4 8 16 custom myfile +processors * * 8 map xyz +processors * * * grid numa +processors 4 8 16 grid custom myfile processors * * * part 1 2 multiple
Description: @@ -238,11 +245,7 @@ same name. It can be used before a restart file is read to change the 3d processor grid from what is specified in the restart file.
-You cannot use more than one of the level2, level3, or numa -keywords. -
-The numa keyword cannot be used with the part keyword, and it -ignores the grid setting. +
The grid numa keyword only currently works with the map cart option.
Related commands:
@@ -251,6 +254,6 @@ switchDefault:
-The option defaults are Px Py Pz = * * * and grid = cart. +
The option defaults are Px Py Pz = * * *, grid = level1, and map = cart.