[Swift-commit] r5900 - SwiftApps/CMTS/dimers

davidk at ci.uchicago.edu davidk at ci.uchicago.edu
Fri Aug 10 12:36:34 CDT 2012


Author: davidk
Date: 2012-08-10 12:36:34 -0500 (Fri, 10 Aug 2012)
New Revision: 5900

Modified:
   SwiftApps/CMTS/dimers/rundimers.sh
Log:
Build packages as needed


Modified: SwiftApps/CMTS/dimers/rundimers.sh
===================================================================
--- SwiftApps/CMTS/dimers/rundimers.sh	2012-08-10 17:22:52 UTC (rev 5899)
+++ SwiftApps/CMTS/dimers/rundimers.sh	2012-08-10 17:36:34 UTC (rev 5900)
@@ -36,6 +36,15 @@
     mkdir $rundir
 fi
 
+# Ensure binaries are build
+if [ ! -x "bin/restart2data" ] || [ ! -x "bin/insert_molecules" ]; then
+   echo Building packages
+   cd src
+   make
+   cd ..
+   echo
+fi
+
 # Copy input files
 cp input_files/* $rundir
 echo Run directory $rundir: site=$execsite paramfile=$paramfile




More information about the Swift-commit mailing list