AMPI: always assume no anytime migration and static insertion.
[charm.git] / src / libs / ck-libs / ampi / ampi.C
index 888f58211a2527f7736f40b7e2520549a4476875..c86c071dfeeb71933286a213f8b6aaac7a9a5fee 100644 (file)
@@ -546,6 +546,10 @@ static void ampiNodeInit(void)
   AMPI_threadstart_idx = TCHARM_Register_thread_function(AMPI_threadstart);
 
   nodeinit_has_been_called=1;
+
+   // ASSUME NO ANYTIME MIGRATION and STATIC INSERTON
+  _isAnytimeMigration = false;
+  _isStaticInsertion = true;
 }
 
 #if PRINT_IDLE
@@ -790,7 +794,6 @@ static ampi *ampiInit(char **argv)
       CkpvAccess(conv_com_object).doneCreating();
 #else
       arr=CProxy_ampi::ckNew(parent,worldComm,opts);
-
 #endif
 
       //Broadcast info. to the mpi_worlds array