[Swift-commit] r6428 - SwiftTutorials/UofC_2013-04-09

wozniak at ci.uchicago.edu wozniak at ci.uchicago.edu
Tue Apr 9 13:10:42 CDT 2013


Author: wozniak
Date: 2013-04-09 13:10:41 -0500 (Tue, 09 Apr 2013)
New Revision: 6428

Added:
   SwiftTutorials/UofC_2013-04-09/setup.csh
Log:
CSH version of setup.sh


Added: SwiftTutorials/UofC_2013-04-09/setup.csh
===================================================================
--- SwiftTutorials/UofC_2013-04-09/setup.csh	                        (rev 0)
+++ SwiftTutorials/UofC_2013-04-09/setup.csh	2013-04-09 18:10:41 UTC (rev 6428)
@@ -0,0 +1,35 @@
+
+module load swift
+
+setenv SBATCH_RESERVATION swift
+
+set DIR=`dirname ${0}`
+cd $DIR
+set DIR=`pwd`
+
+echo Adding $DIR/bin to PATH:
+setenv PATH $DIR/bin:$PATH
+
+mkdir -p $HOME/.swift
+
+if ( -f $HOME/.swift/swift.properties ) then
+  echo Adding properties to end of $HOME/.swift/swift.properties
+else
+  echo creating $HOME/.swift/swift.properties
+endif
+
+cat >>$HOME/.swift/swift.properties <<END
+
+# Properties for Swift Tutorial
+
+status.mode=provider
+use.provider.staging=false
+use.wrapper.staging=false
+wrapperlog.always.transfer=true
+execution.retries=0
+lazy.errors=false
+provider.staging.pin.swiftfiles=false
+sitedir.keep=true
+file.gc.enabled=false
+tcp.port.range=50000,51000
+END




More information about the Swift-commit mailing list