[Swift-commit] r7015 - in SwiftTutorials/swift-cray-tutorial: app bin

wilde at ci.uchicago.edu wilde at ci.uchicago.edu
Tue Aug 27 19:42:31 CDT 2013


Author: wilde
Date: 2013-08-27 19:42:31 -0500 (Tue, 27 Aug 2013)
New Revision: 7015

Removed:
   SwiftTutorials/swift-cray-tutorial/app/addsims.sh
   SwiftTutorials/swift-cray-tutorial/app/genrand.sh
   SwiftTutorials/swift-cray-tutorial/app/simulatepos.sh
   SwiftTutorials/swift-cray-tutorial/bin/sitecount.sh
Log:
remove fossible scripts.

Deleted: SwiftTutorials/swift-cray-tutorial/app/addsims.sh
===================================================================
--- SwiftTutorials/swift-cray-tutorial/app/addsims.sh	2013-08-28 00:39:20 UTC (rev 7014)
+++ SwiftTutorials/swift-cray-tutorial/app/addsims.sh	2013-08-28 00:42:31 UTC (rev 7015)
@@ -1,8 +0,0 @@
-#! /bin/bash
-
-while read f1 ; do
-  read -u 3 f2 
-  if [ _$f1 = _ ]; then f1=0; fi
-  if [ _$f2 = _ ]; then f2=0; fi
-  echo $(($f1+$f2)) 
-done <$1 3<$2

Deleted: SwiftTutorials/swift-cray-tutorial/app/genrand.sh
===================================================================
--- SwiftTutorials/swift-cray-tutorial/app/genrand.sh	2013-08-28 00:39:20 UTC (rev 7014)
+++ SwiftTutorials/swift-cray-tutorial/app/genrand.sh	2013-08-28 00:42:31 UTC (rev 7015)
@@ -1,38 +0,0 @@
-#! /bin/bash
-
-log() {
-  printf "Start time: "; /bin/date
-  printf "Job is running on node: "; /bin/hostname
-  printf "Job running as user: "; /usr/bin/id
-
-  echo "Environment:"
-  /bin/env | /bin/sort
-}
-
-runtime=${1:-0}
-range=${2:-100}
-biasfile=${3:-nobias}
-scale=${4:-1}
-n=${5:-1}
-
-if [ $biasfile = nobias ]; then
-  offset=0
-else
-  read offset <$biasfile
-fi
-
-# run for some number of "timesteps"
-
-sleep $runtime
-
-# emit n "simulation results", scaled and biased by the specified argument values
-
-for ((i=0;i<n;i++)); do
-  value=$(((($RANDOM)*32768)+$RANDOM))
-  echo $(( ($value%range)*scale+offset))
-done
-
-# log environmental data
-
-log 1>&2
-

Deleted: SwiftTutorials/swift-cray-tutorial/app/simulatepos.sh
===================================================================
--- SwiftTutorials/swift-cray-tutorial/app/simulatepos.sh	2013-08-28 00:39:20 UTC (rev 7014)
+++ SwiftTutorials/swift-cray-tutorial/app/simulatepos.sh	2013-08-28 00:42:31 UTC (rev 7015)
@@ -1,38 +0,0 @@
-#! /bin/bash
-
-log() {
-  printf "Start time: "; /bin/date
-  printf "Job is running on node: "; /bin/hostname
-  printf "Job running as user: "; /usr/bin/id
-
-  echo "Environment:"
-  /bin/env | /bin/sort
-}
-
-runtime=${1:-0}
-range=${2:-100}
-biasfile=${3:-nobias}
-scale=${4:-1}
-n=${5:-1}
-
-if [ $biasfile = nobias ]; then
-  offset=0
-else
-  read offset <$biasfile
-fi
-
-# run for some number of "timesteps"
-
-sleep $runtime
-
-# emit n "simulation results", scaled and biased by the specified argument values
-
-for ((i=0;i<n;i++)); do
-  value=$(((($RANDOM)*32768)+$RANDOM))
-  echo $(( ($value%range)*scale+offset))
-done
-
-# log environmental data
-
-log 1>&2
-

Deleted: SwiftTutorials/swift-cray-tutorial/bin/sitecount.sh
===================================================================
--- SwiftTutorials/swift-cray-tutorial/bin/sitecount.sh	2013-08-28 00:39:20 UTC (rev 7014)
+++ SwiftTutorials/swift-cray-tutorial/bin/sitecount.sh	2013-08-28 00:42:31 UTC (rev 7015)
@@ -1 +0,0 @@
-grep "submitting" cps*.log | awk '{print $5}' | sed -e 's/:.*//' | sort | uniq -c




More information about the Swift-commit mailing list