*** empty log message ***
authorAbhinav Bhatele <bhatele@illinois.edu>
Mon, 27 Apr 2009 21:10:24 +0000 (21:10 +0000)
committerAbhinav Bhatele <bhatele@illinois.edu>
Mon, 27 Apr 2009 21:10:24 +0000 (21:10 +0000)
examples/bigsim/charm/jacobi2d/Makefile
examples/bigsim/charm/jacobi2d/jacobi2d.C

index 2c59e302bbabcb9ff5485d6e26367c103f956035..eac761be6b1fd306b123dae4ade4a9f21e9f4faf 100644 (file)
@@ -1,4 +1,4 @@
-OPTS   = -O3
+OPTS   = -g -DUSE_TOPOMAP=1
 CHARMC = ../../../../bin/charmc $(OPTS)
 
 OBJS = jacobi2d.o
index e69751b6fdffdcc7b3418a12737814b82cb5224d..3a4db78c1407604280076a7884723efb252f2e5a 100644 (file)
@@ -49,8 +49,6 @@
 #define TOP            3
 #define BOTTOM         4
 
-#define USE_TOPOMAP    0
-
 double startTime;
 double endTime;
 
@@ -106,8 +104,8 @@ class Main : public CBase_Main
 
       // Create new array of worker chares
 #if USE_TOPOMAP
-      CkPrintf("Topology Mapping is being done ... \n");
       CProxy_JacobiMap map = CProxy_JacobiMap::ckNew(num_chare_x, num_chare_y);
+      CkPrintf("Topology Mapping is being done ... \n");
       CkArrayOptions opts(num_chare_x, num_chare_y);
       opts.setMap(map);
       array = CProxy_Jacobi::ckNew(opts);