[Swift-commit] r4284 - SwiftApps/Montage/exec

jonmon at ci.uchicago.edu jonmon at ci.uchicago.edu
Tue Apr 5 19:29:54 CDT 2011


Author: jonmon
Date: 2011-04-05 19:29:54 -0500 (Tue, 05 Apr 2011)
New Revision: 4284

Modified:
   SwiftApps/Montage/exec/montage.sh
Log:
o SwiftApps/Montage/exec/montage.sh
  -- Added check to pick the correct internalhostname variable depending if I am on the login1 or login2 node on PADS


Modified: SwiftApps/Montage/exec/montage.sh
===================================================================
--- SwiftApps/Montage/exec/montage.sh	2011-04-05 19:11:18 UTC (rev 4283)
+++ SwiftApps/Montage/exec/montage.sh	2011-04-06 00:29:54 UTC (rev 4284)
@@ -14,6 +14,12 @@
 
 mkdir ${WORK_DIRECTORY}
 
+if [ $HOSTNAME == "login2.pads.ci.uchicago.edu" ]; then
+    echo "#site internalhostname=192.5.86.6" >> sites.properties
+elif [ $HOSTNAME == "login1.pads.ci.uchicago.edu" ]; then
+    echo "#site internalhostname=192.5.86.5" >> sites.properties
+fi
+
 echo "#site work=/gpfs/pads/jonmon/Swift/work/pads" >> sites.properties
 echo "#site slots=$1" >> sites.properties
 




More information about the Swift-commit mailing list