minor, add barrier in lrtsexit
authorYanhua Sun <sun51@illinois.edu>
Wed, 30 Jan 2013 05:33:44 +0000 (23:33 -0600)
committerYanhua Sun <sun51@illinois.edu>
Wed, 30 Jan 2013 05:33:44 +0000 (23:33 -0600)
src/arch/gemini_gni/machine.c

index 6c8f2c97b3523c726c7af55cba1897d6fd5e740e..6d219cd837201f26b6f4d7a0587a5fb1c0af72ed 100644 (file)
@@ -4086,6 +4086,7 @@ void LrtsExit()
     //printf("FINAL [%d, %d]  register=%lld, send=%lld\n", myrank, CmiMyRank(), register_memory_size, buffered_send_msg); 
     mempool_destroy(CpvAccess(mempool));
 #endif
+    PMI_Barrier();
     PMI_Finalize();
     exit(0);
 }