[Swift-commit] r6483 - demo/cray/bin

wozniak at ci.uchicago.edu wozniak at ci.uchicago.edu
Thu Apr 18 16:09:18 CDT 2013


Author: wozniak
Date: 2013-04-18 16:09:18 -0500 (Thu, 18 Apr 2013)
New Revision: 6483

Added:
   demo/cray/bin/run-swift-2-qsub.sh
Log:
Run script for Raven: points to Swift/T installation in Wozniak's Public directory


Added: demo/cray/bin/run-swift-2-qsub.sh
===================================================================
--- demo/cray/bin/run-swift-2-qsub.sh	                        (rev 0)
+++ demo/cray/bin/run-swift-2-qsub.sh	2013-04-18 21:09:18 UTC (rev 6483)
@@ -0,0 +1,32 @@
+#!/bin/bash
+
+PATH+=:/home/users/p01577/Public/turbine/bin
+PATH+=:/home/users/p01577/Public/turbine/scripts/submit/cray
+PATH+=:/home/users/p01577/Public/stc/bin
+
+echo Turbine tools:
+which turbine || exit 1
+which turbine-aprun-run.zsh || exit 1
+echo STC:
+which stc || exit 1
+echo
+
+SCRIPT_SWIFT=$1
+shift
+ARGS=${*}
+
+if [[ ${SCRIPT_SWIFT} == "" ]]
+then
+  echo "No script!"
+  exit 1
+fi
+
+SCRIPT_TCL=${SCRIPT_SWIFT%.swift}.tcl
+
+stc ${SCRIPT_SWIFT} ${SCRIPT_TCL} || exit 1
+
+export TURBINE_LOG=0
+export TURBINE_OUTPUT=${PWD}
+export NODES=3
+export PPN=3
+turbine-aprun-run.zsh ${SCRIPT_TCL} ${ARGS}


Property changes on: demo/cray/bin/run-swift-2-qsub.sh
___________________________________________________________________
Added: svn:executable
   + *




More information about the Swift-commit mailing list