git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8030 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -155,6 +155,7 @@ void ProcMap::numa_grid(int nprocs, int *user_procgrid, int *procgrid,
|
|||||||
|
|
||||||
// get names of all nodes
|
// get names of all nodes
|
||||||
|
|
||||||
|
int name_length;
|
||||||
char node_name[MPI_MAX_PROCESSOR_NAME];
|
char node_name[MPI_MAX_PROCESSOR_NAME];
|
||||||
MPI_Get_processor_name(node_name,&name_length);
|
MPI_Get_processor_name(node_name,&name_length);
|
||||||
node_name[name_length] = '\0';
|
node_name[name_length] = '\0';
|
||||||
|
|||||||
Reference in New Issue
Block a user