--with-production must also turn off Record/replay overhead
authorFilippo Gioachin <gioachin@uiuc.edu>
Fri, 12 Feb 2010 02:31:49 +0000 (20:31 -0600)
committerFilippo Gioachin <gioachin@uiuc.edu>
Fri, 12 Feb 2010 02:31:49 +0000 (20:31 -0600)
build

diff --git a/build b/build
index 6c981354ea55be29295665561f1f6cc27cbaf4a4..1841beed8afab03b9a5a1d129e4f9bc34517e8e4 100755 (executable)
--- a/build
+++ b/build
@@ -89,7 +89,7 @@ syntax() {
   echo '  --basedir=DIR             shortcut for the above two - DIR/include and DIR/lib'
   echo '  -j[N]              parallel make, N is the number of paralle make jobs'
   echo "  --with-romio       build AMPI with ROMIO library"
-  echo "  --with-production  build Charm++ with CMK_OPTIMIZE"
+  echo "  --with-production  build Charm++ with all optimizations for maximum performance"
   echo "  --destination=DIR  build Charm++ inside DIR, by default the destination is <version>"
   echo "  --suffix=DIR       append DIR to the destination directory of the Charm++ build"
   echo "  --tau-makefile=FILE Specify which TAU stub makefile to use"
@@ -529,6 +529,7 @@ fi
 if test -n "$WITH_PRODUCTION"
 then
     echo '#define CMK_OPTIMIZE' >> $ConvHeader
+    echo '#define CMK_REPLAYSYSTEM  0' >> $ConvHeader
 fi
 
 # build with Tau