[Swift-commit] r6557 - SwiftTutorials/OHBM_2013-06-16
wilde at ci.uchicago.edu
wilde at ci.uchicago.edu
Fri Jun 14 19:29:02 CDT 2013
Author: wilde
Date: 2013-06-14 19:29:02 -0500 (Fri, 14 Jun 2013)
New Revision: 6557
Modified:
SwiftTutorials/OHBM_2013-06-16/README
Log:
Add suggested demo sequence to README
Modified: SwiftTutorials/OHBM_2013-06-16/README
===================================================================
--- SwiftTutorials/OHBM_2013-06-16/README 2013-06-15 00:14:44 UTC (rev 6556)
+++ SwiftTutorials/OHBM_2013-06-16/README 2013-06-15 00:29:02 UTC (rev 6557)
@@ -55,15 +55,61 @@
In the examples below, use atlas00.swift through atlas02.swift,
and atlas03.swift for all runs on beagle and cloud.
+ # APPROXIMATE *SUGGESTED* DEMO SEQUENCE
+
+ # Show first Swift script:
+
+ ./clean.sh
+ swift atlas00.swift
+
+ # Show struct data types for fMRI "ANALYZE 7.5" Volumes, @arg, and parallel foreach loop
+
+ ./clean.sh
+ ./makedata.sh data_10 10
+ swift atlas01.swift -d=data_10
+
+ # While above are running, do this in another window to view its activity:
+
+ watch ps -u $USER -H
+
+ # Show same script running on a cluster
+
+ ./clean.sh
+ ./makedata.sh data_50 50
+ swift -tc.file apps.midway atlas01.swift -d=data_50
+
+ # Show compound functions, imported libs, and full workflow
+
+ ./clean.sh
+ swift atlas02.swift -d=data_2
+
+ ./clean.sh
+ swift -tc.file apps.midway atlas02.swift -d=data_50
+
+ # Show full script, optimized for remote exec, running on beagle
+
+ ./clean.sh
+ swift -tc.file apps.beagle atlas02.swift -d=data_20
+
+ # Show full script running on Amazon EC2
+
+ ./clean.sh
+ # Start cloud resources and services here (document!)
+ swift -tc.file apps.amazon atlas02.swift -d=data_20
+
+ # Grand finale: show full script running on multiple resources
+
+ ./clean.sh
+ swift -tc.file apps.everywhere atlas02.swift -d=data_20
+
+### Obsolete below this line.... clean up vvvvvv
+
+
# On localhost:
swift genatlas.swift # processes data/ directory by default
swift genatlas.swift -d=data_100 # process data_100/ directory
- # While above are running, do this in another window to view its activity:
-
- watch ps -u $USER -H
-
# With most parallel work on a midway parition (edit sites.xml to set partition)
swift -tc.file apps.midway genatlas.swift
More information about the Swift-commit
mailing list