Changing fault tolerance test cases to include message logging.
authorEsteban Meneses <emenese2@illinois.edu>
Thu, 5 Apr 2012 17:25:28 +0000 (12:25 -0500)
committerEsteban Meneses <emenese2@illinois.edu>
Thu, 5 Apr 2012 17:25:28 +0000 (12:25 -0500)
tests/ampi/jacobi3d/Makefile
tests/ampi/jacobi3d/jacobi.C

index 01fbdb9f80319f163cb7b30ec6ff519cebe61364..1aa679c8fd171d095be9cb7df9e491814c4e3cb4 100644 (file)
@@ -5,14 +5,14 @@ OBJS = jacobi.o
 all: jacobi
 
 jacobi: $(OBJS)
-       $(CHARMC) -o jacobi $(OBJS) -lm -memory isomalloc
+       $(CHARMC) -o jacobi $(OBJS) -lm -memory isomalloc -module DummyLB
 
 jacobi.o: jacobi.C
        $(CHARMC) -language ampic -swapglobals jacobi.C 
 
 fttest: jacobi
-       ./charmrun ./jacobi 2 2 2 200 +vp8 +p8 +isomalloc_sync +killFile kill_01.txt
-       ./charmrun ./jacobi 4 2 2 200 +vp16 +p8 +isomalloc_sync +killFile kill_02.txt
+       ./charmrun ./jacobi 2 2 2 200 +vp8 +p8 +balancer DummyLB +isomalloc_sync +killFile kill_01.txt
+       ./charmrun ./jacobi 4 2 2 200 +vp16 +p8 +balancer DummyLB +isomalloc_sync +killFile kill_02.txt
 
 clean:
        rm -f *.o jacobi jacobi.o *~ moduleinit.C charmrun conv-host jacobi-cpp jacobi.iso jacobi-get jacobi.tls
index 9284607f14be9a8013395ed94ef994422aaed1fe..3754e1fcee15370bd6061441aa4391c96a8aa424 100644 (file)
@@ -227,8 +227,11 @@ int main(int ac, char** av)
     starttime = MPI_Wtime();
 #ifdef AMPI
     if(iter%CKPT_FREQ == 50) {
-      AMPI_MemCheckpoint();
-      //MPI_Migrate();
+#ifdef CMK_MEM_CHECKPOINT
+               AMPI_MemCheckpoint();
+#elif CMK_MESSAGE_LOGGING
+               MPI_Migrate();
+#endif
     }
 #endif
   }