[Swift-commit] r6091 - SwiftTutorials/UofC_2012-11-27
wozniak at ci.uchicago.edu
wozniak at ci.uchicago.edu
Tue Nov 27 12:03:54 CST 2012
Author: wozniak
Date: 2012-11-27 12:03:54 -0600 (Tue, 27 Nov 2012)
New Revision: 6091
Modified:
SwiftTutorials/UofC_2012-11-27/README
Log:
Notes for exercises 2 and 3
Modified: SwiftTutorials/UofC_2012-11-27/README
===================================================================
--- SwiftTutorials/UofC_2012-11-27/README 2012-11-27 17:59:27 UTC (rev 6090)
+++ SwiftTutorials/UofC_2012-11-27/README 2012-11-27 18:03:54 UTC (rev 6091)
@@ -7,8 +7,6 @@
Change directory into the created directory called "tutorial"
-Use bin/setup.sh to add tutorial programs to your PATH
-
This directory contains:
bin: script tools for the tutorial
@@ -16,6 +14,9 @@
An output directory will be created by the Swift scripts
+
+Use bin/setup.sh to add tutorial programs to your PATH
+
Run:
source bin/setup.sh
@@ -37,8 +38,31 @@
runswift scripts/script01.swift
+Check that the output is created in the output directory
+EXERCISE 2 - Run parallel jobs
+The Swift syntax in scripts/script02.swift runs the getinfo
+script 25 times in parallel. Each job produces an output
+file with a different name.
+
+runswift scripts/script02.swift
+
+Check that the output is created successfully
+
+EXERCISE 3 - Run parallel jobs with pipelines
+
+The Swift syntax in scripts/script02.swift runs the getinfo
+script 25 times in parallel. Each job produces an output
+file with a different name. Each output file is then read by the
+filterinfo task, which produces output in _concurrent
+
+Inspect bin/filterinfo.sh to see what it does to the output of getinfo.sh
+
+runswift scripts/script03.swift
+
+
+
CLEAN UP
Simply run: bin/cleanup and enter y to confirm
More information about the Swift-commit
mailing list