[Swift-commit] r8208 - in SwiftTutorials/ATPESC_2014-08-14/swift-t/examples: 01-hello 02-loop 03-blas 04-py 05-md

tga at ci.uchicago.edu tga at ci.uchicago.edu
Thu Aug 14 14:16:48 CDT 2014


Author: tga
Date: 2014-08-14 14:16:47 -0500 (Thu, 14 Aug 2014)
New Revision: 8208

Modified:
   SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/01-hello/run-compute.sh
   SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/02-loop/run-compute.sh
   SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/02-loop/run-local.sh
   SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/03-blas/build.sh
   SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/03-blas/run-compute.sh
   SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/03-blas/run-local.sh
   SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/04-py/run-compute.sh
   SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/04-py/run-local.sh
   SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/05-md/run-compute-md.sh
   SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/05-md/run-compute-mds.sh
   SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/05-md/run-local-md.sh
   SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/05-md/run-local-mds.sh
Log:
Avoid using source - only works in bash (not dash, which is /bin/sh on some systems)

Modified: SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/01-hello/run-compute.sh
===================================================================
--- SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/01-hello/run-compute.sh	2014-08-14 19:10:42 UTC (rev 8207)
+++ SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/01-hello/run-compute.sh	2014-08-14 19:16:47 UTC (rev 8208)
@@ -1,6 +1,6 @@
 #!/bin/sh -eu
 
-source ../../cfg/setup-compute.sh
+. ../../cfg/setup-compute.sh
 SETTINGS=../../cfg/settings-compute.sh
 
 PROGRAM=hello

Modified: SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/02-loop/run-compute.sh
===================================================================
--- SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/02-loop/run-compute.sh	2014-08-14 19:10:42 UTC (rev 8207)
+++ SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/02-loop/run-compute.sh	2014-08-14 19:16:47 UTC (rev 8208)
@@ -1,6 +1,6 @@
 #!/bin/bash -eu
 
-source ../../cfg/setup-compute.sh
+. ../../cfg/setup-compute.sh
 SETTINGS=../../cfg/settings-compute.sh
 
 PROCS=4

Modified: SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/02-loop/run-local.sh
===================================================================
--- SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/02-loop/run-local.sh	2014-08-14 19:10:42 UTC (rev 8207)
+++ SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/02-loop/run-local.sh	2014-08-14 19:16:47 UTC (rev 8208)
@@ -1,6 +1,6 @@
 #!/bin/sh -eu
 
-source ../../cfg/setup-local.sh
+. ../../cfg/setup-local.sh
 
 PROGRAM=loop
 stc     ${PROGRAM}.swift

Modified: SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/03-blas/build.sh
===================================================================
--- SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/03-blas/build.sh	2014-08-14 19:10:42 UTC (rev 8207)
+++ SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/03-blas/build.sh	2014-08-14 19:16:47 UTC (rev 8208)
@@ -33,7 +33,7 @@
 TCLSH=${TCL_HOME}/bin/tclsh8.5
 
 # This loads many Tcl configuration variables
-source ${TCL_CONFIG}
+. ${TCL_CONFIG}
 check "tclConfig.sh failed!"
 
 CFLAGS="-fPIC -std=gnu99 -g -I ${CBLAS_INCLUDE}"

Modified: SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/03-blas/run-compute.sh
===================================================================
--- SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/03-blas/run-compute.sh	2014-08-14 19:10:42 UTC (rev 8207)
+++ SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/03-blas/run-compute.sh	2014-08-14 19:16:47 UTC (rev 8208)
@@ -1,6 +1,6 @@
 #!/bin/sh -eu
 
-source ../../cfg/setup-compute.sh
+. ../../cfg/setup-compute.sh
 SETTINGS=../../cfg/settings-compute.sh
 
 export TURBINE_USER_LIB=${PWD}

Modified: SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/03-blas/run-local.sh
===================================================================
--- SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/03-blas/run-local.sh	2014-08-14 19:10:42 UTC (rev 8207)
+++ SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/03-blas/run-local.sh	2014-08-14 19:16:47 UTC (rev 8208)
@@ -1,6 +1,6 @@
 #!/bin/bash -eu
 
-source ../../cfg/setup-local.sh
+. ../../cfg/setup-local.sh
 
 export TURBINE_USER_LIB=${PWD}
 

Modified: SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/04-py/run-compute.sh
===================================================================
--- SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/04-py/run-compute.sh	2014-08-14 19:10:42 UTC (rev 8207)
+++ SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/04-py/run-compute.sh	2014-08-14 19:16:47 UTC (rev 8208)
@@ -1,6 +1,6 @@
 #!/bin/sh -eu
 
-source ../../cfg/setup-compute.sh
+. ../../cfg/setup-compute.sh
 SETTINGS=../../cfg/settings-compute.sh
 
 PROGRAM=add

Modified: SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/04-py/run-local.sh
===================================================================
--- SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/04-py/run-local.sh	2014-08-14 19:10:42 UTC (rev 8207)
+++ SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/04-py/run-local.sh	2014-08-14 19:16:47 UTC (rev 8208)
@@ -1,6 +1,6 @@
 #!/bin/bash -eu
 
-source ../../cfg/setup-local.sh
+. ../../cfg/setup-local.sh
 
 PROGRAM=add
 stc     ${PROGRAM}.swift

Modified: SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/05-md/run-compute-md.sh
===================================================================
--- SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/05-md/run-compute-md.sh	2014-08-14 19:10:42 UTC (rev 8207)
+++ SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/05-md/run-compute-md.sh	2014-08-14 19:16:47 UTC (rev 8208)
@@ -1,7 +1,7 @@
 #!/bin/bash -eu
 
-source ../../cfg/setup-compute.sh
-source setup-md.sh
+. ../../cfg/setup-compute.sh
+. setup-md.sh
 SETTINGS=../../cfg/settings-compute.sh
 
 PROGRAM=run-md

Modified: SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/05-md/run-compute-mds.sh
===================================================================
--- SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/05-md/run-compute-mds.sh	2014-08-14 19:10:42 UTC (rev 8207)
+++ SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/05-md/run-compute-mds.sh	2014-08-14 19:16:47 UTC (rev 8208)
@@ -15,8 +15,8 @@
   shift
 done
 
-source ../../cfg/setup-local.sh
-source setup-md.sh
+. ../../cfg/setup-local.sh
+. setup-md.sh
 SETTINGS=../../cfg/settings-compute.sh
 
 PROGRAM=run-mds

Modified: SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/05-md/run-local-md.sh
===================================================================
--- SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/05-md/run-local-md.sh	2014-08-14 19:10:42 UTC (rev 8207)
+++ SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/05-md/run-local-md.sh	2014-08-14 19:16:47 UTC (rev 8208)
@@ -1,7 +1,7 @@
 #!/bin/bash -eu
 
-source ../../cfg/setup-local.sh
-source setup-md.sh
+. ../../cfg/setup-local.sh
+. setup-md.sh
 
 PROGRAM=run-md
 stc     ${PROGRAM}.swift

Modified: SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/05-md/run-local-mds.sh
===================================================================
--- SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/05-md/run-local-mds.sh	2014-08-14 19:10:42 UTC (rev 8207)
+++ SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/05-md/run-local-mds.sh	2014-08-14 19:16:47 UTC (rev 8208)
@@ -16,8 +16,8 @@
   shift
 done
 
-source ../../cfg/setup-local.sh
-source setup-md.sh
+. ../../cfg/setup-local.sh
+. setup-md.sh
 
 PROGRAM=run-mds
 stc     ${PROGRAM}.swift




More information about the Swift-commit mailing list