[Swift-commit] r6463 - in demo/cray: . swift-1.0

wilde at ci.uchicago.edu wilde at ci.uchicago.edu
Wed Apr 17 14:28:45 CDT 2013


Author: wilde
Date: 2013-04-17 14:28:45 -0500 (Wed, 17 Apr 2013)
New Revision: 6463

Added:
   demo/cray/swift-1.0/README
   demo/cray/swift-1.0/setup.csh
   demo/cray/swift-1.0/setup.sh
Removed:
   demo/cray/README
   demo/cray/setup.csh
   demo/cray/setup.sh
Log:
a bit more re-working for the T/K split.  Added a common intro README.

Deleted: demo/cray/README
===================================================================
--- demo/cray/README	2013-04-17 19:07:58 UTC (rev 6462)
+++ demo/cray/README	2013-04-17 19:28:45 UTC (rev 6463)
@@ -1,52 +0,0 @@
-
-INTRODUCTION TO SWIFT
-
-SETUP
-
-Obtain the tutorial package
-
-Change directory into the created directory called "tutorial"
-
-This directory contains:
-
-bin:     script tools for the tutorial
-scripts: Swift scripts for the tutorial
-
-TO START, do:
-
-$ source setup.sh # to add tutorial programs to your PATH
-
-...and then verify:
-
-$ random.sh # should be found in your PATH now
-
-
-
-The tutorial is arranged in parts.  To begin:
-
-$ cd part01
-$ cat README
-
-When finished:
-
-$ cd ../part02  # etc
-
-In each part, you can type "cleanup" after running a few swift scripts
-to remove the old logs that build up, and (usually) the output files.
-
-
-The topics of the tutorial parts are:
-
-part01: First Swift script - run a "simulation" program, random.sh
-
-part02: Specifying the output filenames
-
-part03: Run many instances of a "simulation" program in a foreach() loop
-
-part04: run a program in a foreach() loop with explicitly named output files.
-
-part05: Add a program that "analyzes" the output the parallel simulations
-
-part06: Add arguments to the "simulation" program
-
-part07: Run the "simulations" on the parallel cluster

Deleted: demo/cray/setup.csh
===================================================================
--- demo/cray/setup.csh	2013-04-17 19:07:58 UTC (rev 6462)
+++ demo/cray/setup.csh	2013-04-17 19:28:45 UTC (rev 6463)
@@ -1,35 +0,0 @@
-
-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

Deleted: demo/cray/setup.sh
===================================================================
--- demo/cray/setup.sh	2013-04-17 19:07:58 UTC (rev 6462)
+++ demo/cray/setup.sh	2013-04-17 19:28:45 UTC (rev 6463)
@@ -1,36 +0,0 @@
-
-module load swift
-
-export SBATCH_RESERVATION=swift
-
-DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
-
-echo Adding $DIR/bin to PATH:
-
-PATH=$DIR/bin:$PATH
-
-echo $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
-fi
-
-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

Copied: demo/cray/swift-1.0/README (from rev 6457, demo/cray/README)
===================================================================
--- demo/cray/swift-1.0/README	                        (rev 0)
+++ demo/cray/swift-1.0/README	2013-04-17 19:28:45 UTC (rev 6463)
@@ -0,0 +1,52 @@
+
+INTRODUCTION TO SWIFT
+
+SETUP
+
+Obtain the tutorial package
+
+Change directory into the created directory called "tutorial"
+
+This directory contains:
+
+bin:     script tools for the tutorial
+scripts: Swift scripts for the tutorial
+
+TO START, do:
+
+$ source setup.sh # to add tutorial programs to your PATH
+
+...and then verify:
+
+$ random.sh # should be found in your PATH now
+
+
+
+The tutorial is arranged in parts.  To begin:
+
+$ cd part01
+$ cat README
+
+When finished:
+
+$ cd ../part02  # etc
+
+In each part, you can type "cleanup" after running a few swift scripts
+to remove the old logs that build up, and (usually) the output files.
+
+
+The topics of the tutorial parts are:
+
+part01: First Swift script - run a "simulation" program, random.sh
+
+part02: Specifying the output filenames
+
+part03: Run many instances of a "simulation" program in a foreach() loop
+
+part04: run a program in a foreach() loop with explicitly named output files.
+
+part05: Add a program that "analyzes" the output the parallel simulations
+
+part06: Add arguments to the "simulation" program
+
+part07: Run the "simulations" on the parallel cluster

Copied: demo/cray/swift-1.0/setup.csh (from rev 6457, demo/cray/setup.csh)
===================================================================
--- demo/cray/swift-1.0/setup.csh	                        (rev 0)
+++ demo/cray/swift-1.0/setup.csh	2013-04-17 19:28:45 UTC (rev 6463)
@@ -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

Copied: demo/cray/swift-1.0/setup.sh (from rev 6457, demo/cray/setup.sh)
===================================================================
--- demo/cray/swift-1.0/setup.sh	                        (rev 0)
+++ demo/cray/swift-1.0/setup.sh	2013-04-17 19:28:45 UTC (rev 6463)
@@ -0,0 +1,36 @@
+
+module load swift
+
+export SBATCH_RESERVATION=swift
+
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+
+echo Adding $DIR/bin to PATH:
+
+PATH=$DIR/bin:$PATH
+
+echo $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
+fi
+
+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