git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7368 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2011-12-15 00:27:25 +00:00
parent 6376eeec92
commit fb16c0eb30
2 changed files with 6 additions and 8 deletions

View File

@ -174,18 +174,14 @@ void ProcMap::numa_grid(int nprocs, int *user_procgrid, int *procgrid,
procs_per_node = name_map.begin()->second;
procs_per_numa = procs_per_node / numa_nodes;
// error return if any of these conditions met
// error if any of these conditions met
if (procs_per_numa < 4 || // less than 4 procs per numa node
procs_per_node % numa_nodes || // no-op since numa_nodes = 1 for now
nprocs % procs_per_numa || // total procs not a multiple of node
nprocs == procs_per_numa || // only 1 node used
if (nprocs % procs_per_numa || // total procs not a multiple of node
user_procgrid[0] > 1 || // user specified grid > 1 in any dim
user_procgrid[1] > 1 ||
user_procgrid[2] > 1)
error->all(FLERR,"Could not create numa 3d grid of processors");
// user settings for the factorization per numa node
// currently not user settable
// if user specifies 1 for a proc grid dimension,