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

This commit is contained in:
sjplimp
2012-04-20 14:55:44 +00:00
parent e84f267315
commit 0b0d59a71f

View File

@ -155,6 +155,7 @@ void ProcMap::numa_grid(int nprocs, int *user_procgrid, int *procgrid,
// get names of all nodes
int name_length;
char node_name[MPI_MAX_PROCESSOR_NAME];
MPI_Get_processor_name(node_name,&name_length);
node_name[name_length] = '\0';