[Swift-commit] r6090 - SwiftTutorials/UofC_2012-11-27

wozniak at ci.uchicago.edu wozniak at ci.uchicago.edu
Tue Nov 27 11:59:27 CST 2012


Author: wozniak
Date: 2012-11-27 11:59:27 -0600 (Tue, 27 Nov 2012)
New Revision: 6090

Modified:
   SwiftTutorials/UofC_2012-11-27/README
Log:
Initial notes for setup and script01

Modified: SwiftTutorials/UofC_2012-11-27/README
===================================================================
--- SwiftTutorials/UofC_2012-11-27/README	2012-11-27 17:49:13 UTC (rev 6089)
+++ SwiftTutorials/UofC_2012-11-27/README	2012-11-27 17:59:27 UTC (rev 6090)
@@ -1,6 +1,44 @@
 
-Introduction to Swift
+INTRODUCTION TO SWIFT
 
+SETUP
 
-Exercise 1 - Run a simple command under Swift
+Obtain the tutorial package
 
+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
+scripts: Swift scripts for the tutorial
+
+An output directory will be created by the Swift scripts
+
+Run:
+
+source bin/setup.sh
+
+EXERCISE 1 - Run a simple command under Swift
+
+This script simply runs the getinfo command found in bin/getinfo.sh
+
+You can run this on the login node by typing:
+
+bin/getinfo.sh
+
+Inspect getinfo.sh to see what it does.
+
+The Swift syntax in scripts/script01.swift directs the output of
+getinfo.sh to file output/info.txt
+
+Run the Swift script by typing:
+
+runswift scripts/script01.swift
+
+
+
+CLEAN UP
+
+Simply run: bin/cleanup and enter y to confirm




More information about the Swift-commit mailing list