fixed an unitialized variable to please Valgrind.
[charm.git] / 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