fixed an unitialized variable to please Valgrind.
authorGengbin Zheng <gzheng@illinois.edu>
Tue, 12 Apr 2011 04:21:54 +0000 (23:21 -0500)
committerGengbin Zheng <gzheng@illinois.edu>
Tue, 12 Apr 2011 04:21:54 +0000 (23:21 -0500)
src/conv-core/cputopology.C

index 10da373d16a57d2a0126223081c9a6e89675ddb1..f48b186ab8379251b54e2a2b24bf6b1c8226cca2 100644 (file)
@@ -545,6 +545,7 @@ extern "C" void CmiInitCPUTopology(char **argv)
   msg->procs[0].ip = myip;
   msg->procs[0].ncores = CmiNumCores();
   msg->procs[0].rank = 0;
+  msg->procs[0].nodeID = 0;
   CmiReduce(msg, sizeof(hostnameMsg)+sizeof(_procInfo), combineMessage);
 
     // blocking here