[Swift-commit] r6560 - in SwiftTutorials/CMTS_2013-06-17/basic_swift: part01 part02 part03 part04 part05 part06 part07

wilde at ci.uchicago.edu wilde at ci.uchicago.edu
Sun Jun 16 11:52:26 CDT 2013


Author: wilde
Date: 2013-06-16 11:52:26 -0500 (Sun, 16 Jun 2013)
New Revision: 6560

Added:
   SwiftTutorials/CMTS_2013-06-17/basic_swift/part01/apps
   SwiftTutorials/CMTS_2013-06-17/basic_swift/part01/sites.xml
   SwiftTutorials/CMTS_2013-06-17/basic_swift/part02/apps
   SwiftTutorials/CMTS_2013-06-17/basic_swift/part02/sites.xml
   SwiftTutorials/CMTS_2013-06-17/basic_swift/part03/apps
   SwiftTutorials/CMTS_2013-06-17/basic_swift/part03/sites.xml
   SwiftTutorials/CMTS_2013-06-17/basic_swift/part04/sites.xml
   SwiftTutorials/CMTS_2013-06-17/basic_swift/part05/apps
   SwiftTutorials/CMTS_2013-06-17/basic_swift/part05/sites.xml
   SwiftTutorials/CMTS_2013-06-17/basic_swift/part06/apps
   SwiftTutorials/CMTS_2013-06-17/basic_swift/part06/sites.xml
   SwiftTutorials/CMTS_2013-06-17/basic_swift/part07/apps
Removed:
   SwiftTutorials/CMTS_2013-06-17/basic_swift/part01/tc
   SwiftTutorials/CMTS_2013-06-17/basic_swift/part02/tc
   SwiftTutorials/CMTS_2013-06-17/basic_swift/part03/tc
   SwiftTutorials/CMTS_2013-06-17/basic_swift/part05/tc
   SwiftTutorials/CMTS_2013-06-17/basic_swift/part06/tc
   SwiftTutorials/CMTS_2013-06-17/basic_swift/part07/tc
Modified:
   SwiftTutorials/CMTS_2013-06-17/basic_swift/part01/README
   SwiftTutorials/CMTS_2013-06-17/basic_swift/part02/README
   SwiftTutorials/CMTS_2013-06-17/basic_swift/part03/README
   SwiftTutorials/CMTS_2013-06-17/basic_swift/part04/README
   SwiftTutorials/CMTS_2013-06-17/basic_swift/part05/README
   SwiftTutorials/CMTS_2013-06-17/basic_swift/part06/README
   SwiftTutorials/CMTS_2013-06-17/basic_swift/part07/README
Log:
Initial revisions for CMTS workshop.

Modified: SwiftTutorials/CMTS_2013-06-17/basic_swift/part01/README
===================================================================
--- SwiftTutorials/CMTS_2013-06-17/basic_swift/part01/README	2013-06-16 13:30:27 UTC (rev 6559)
+++ SwiftTutorials/CMTS_2013-06-17/basic_swift/part01/README	2013-06-16 16:52:26 UTC (rev 6560)
@@ -4,37 +4,41 @@
 
 Verify that random.sh is in your path, and that it works:
 
-$ which random.sh
-$ random.sh
+  $ which random.sh
+  $ random.sh
 
 Study the Swift program:
 
-$ cat p1.swift
+  $ cat p1.swift
 
-Examine the tool catalog file:
+Examine the app location file, telling swift which apps are installed
+and where to find them (e.g., from $PATH or a specific pathname):
 
-$ cat tc
+  $ cat apps
 
 Run the program:
 
-$ swift -tc.file tc p1.swift
+  $ swift p1.swift
 
 Look at the output:
 
-$ cat _concurrent/*
+  $ cat _concurrent/*
 
 Look at the other files generated:
 
-$ ls -l
+  $ ls -l
 
 We'll talk more about these files later
 
-$ cleanup
+This will remove log and temp files, first prompting you for
+confirmation:
 
-Then test the sript a few more times.
+  $ cleanup  
 
-$ swift -tc.file tc p1.swift; cat _concurrent/*
+Then test the sript a few more times:
 
-$ swift -tc.file tc p1.swift; cat _concurrent/*
+  $ swift -tc.file tc p1.swift; cat _concurrent/*
 
-$ swift -tc.file tc p1.swift; cat _concurrent/*
+  $ swift -tc.file tc p1.swift; cat _concurrent/*
+
+  $ swift -tc.file tc p1.swift; cat _concurrent/*

Copied: SwiftTutorials/CMTS_2013-06-17/basic_swift/part01/apps (from rev 6559, SwiftTutorials/CMTS_2013-06-17/basic_swift/part01/tc)
===================================================================
--- SwiftTutorials/CMTS_2013-06-17/basic_swift/part01/apps	                        (rev 0)
+++ SwiftTutorials/CMTS_2013-06-17/basic_swift/part01/apps	2013-06-16 16:52:26 UTC (rev 6560)
@@ -0,0 +1 @@
+localhost random random.sh

Added: SwiftTutorials/CMTS_2013-06-17/basic_swift/part01/sites.xml
===================================================================
--- SwiftTutorials/CMTS_2013-06-17/basic_swift/part01/sites.xml	                        (rev 0)
+++ SwiftTutorials/CMTS_2013-06-17/basic_swift/part01/sites.xml	2013-06-16 16:52:26 UTC (rev 6560)
@@ -0,0 +1,9 @@
+<config>
+
+  <pool handle="localhost">
+    <execution provider="local"/>
+    <filesystem provider="local"/>
+    <workdirectory>/scratch/midway/{env.USER}/swiftwork</workdirectory>
+  </pool>
+
+</config>

Deleted: SwiftTutorials/CMTS_2013-06-17/basic_swift/part01/tc
===================================================================
--- SwiftTutorials/CMTS_2013-06-17/basic_swift/part01/tc	2013-06-16 13:30:27 UTC (rev 6559)
+++ SwiftTutorials/CMTS_2013-06-17/basic_swift/part01/tc	2013-06-16 16:52:26 UTC (rev 6560)
@@ -1 +0,0 @@
-localhost random random.sh

Modified: SwiftTutorials/CMTS_2013-06-17/basic_swift/part02/README
===================================================================
--- SwiftTutorials/CMTS_2013-06-17/basic_swift/part02/README	2013-06-16 13:30:27 UTC (rev 6559)
+++ SwiftTutorials/CMTS_2013-06-17/basic_swift/part02/README	2013-06-16 16:52:26 UTC (rev 6560)
@@ -1,33 +1,36 @@
 
-TOPIC: specifying the output filenames
+TOPIC:   Specifying the output filenames
 
+
 Study the Swift program:
 
-$ cat p2.swift
+  $ cat p2.swift
 
 Examine the tool catalog file:
 
-$ cat tc
+  $ cat tc
 
 Run the program:
 
-$ swift -tc.file tc p2.swift
+  $ swift -tc.file tc p2.swift
 
 Look at the output:
 
-$ cat sim.out
+  $ cat sim.out
 
 Then test the sript a few more times.
 
-$ swift -tc.file tc p1.swift; cat sim.out
+  $ swift -tc.file tc p1.swift; cat sim.out
 
-$ swift -tc.file tc p1.swift; cat sim.out
+  $ swift -tc.file tc p1.swift; cat sim.out
 
-$ swift -tc.file tc p1.swift; cat sim.out
+  $ swift -tc.file tc p1.swift; cat sim.out
 
 Things to try:
 
-- change the output filename
+  o change the output filename
 
-- add a dir component to the output filename
+  o add a directory component to the output filename
 
+  o try using fully qualified file names
+

Copied: SwiftTutorials/CMTS_2013-06-17/basic_swift/part02/apps (from rev 6559, SwiftTutorials/CMTS_2013-06-17/basic_swift/part02/tc)
===================================================================
--- SwiftTutorials/CMTS_2013-06-17/basic_swift/part02/apps	                        (rev 0)
+++ SwiftTutorials/CMTS_2013-06-17/basic_swift/part02/apps	2013-06-16 16:52:26 UTC (rev 6560)
@@ -0,0 +1 @@
+localhost random random.sh

Added: SwiftTutorials/CMTS_2013-06-17/basic_swift/part02/sites.xml
===================================================================
--- SwiftTutorials/CMTS_2013-06-17/basic_swift/part02/sites.xml	                        (rev 0)
+++ SwiftTutorials/CMTS_2013-06-17/basic_swift/part02/sites.xml	2013-06-16 16:52:26 UTC (rev 6560)
@@ -0,0 +1,9 @@
+<config>
+
+  <pool handle="localhost">
+    <execution provider="local"/>
+    <filesystem provider="local"/>
+    <workdirectory>/scratch/midway/{env.USER}/swiftwork</workdirectory>
+  </pool>
+
+</config>

Deleted: SwiftTutorials/CMTS_2013-06-17/basic_swift/part02/tc
===================================================================
--- SwiftTutorials/CMTS_2013-06-17/basic_swift/part02/tc	2013-06-16 13:30:27 UTC (rev 6559)
+++ SwiftTutorials/CMTS_2013-06-17/basic_swift/part02/tc	2013-06-16 16:52:26 UTC (rev 6560)
@@ -1 +0,0 @@
-localhost random random.sh

Modified: SwiftTutorials/CMTS_2013-06-17/basic_swift/part03/README
===================================================================
--- SwiftTutorials/CMTS_2013-06-17/basic_swift/part03/README	2013-06-16 13:30:27 UTC (rev 6559)
+++ SwiftTutorials/CMTS_2013-06-17/basic_swift/part03/README	2013-06-16 16:52:26 UTC (rev 6560)
@@ -1,20 +1,23 @@
 
-TOPIC: run many instances of a "simulation" program in a foreach() loop
+TOPIC:   Run many instances of a "simulation" program in parallel
+         with a foreach() loop
 
 
 Run the program:
 
-$ swift -tc.file tc p3.swift
+  $ swift p3.swift
 
 Look at the output:
 
-$ cd _concurrent
-$ ls -l
-$ cat *
+  $ cd _concurrent
+  $ ls -l
+  $ cat *
 
 Look at the order in which the files were written:
 
-$ ls -lt
+  $ ls -lt
 
-We'll come back to this...
+Run p3.swift a few more times, noting how the order changes.
 
+Swift runs the apps in a foreach loop with high concurrency:
+you cant count on what order they run in!

Copied: SwiftTutorials/CMTS_2013-06-17/basic_swift/part03/apps (from rev 6559, SwiftTutorials/CMTS_2013-06-17/basic_swift/part03/tc)
===================================================================
--- SwiftTutorials/CMTS_2013-06-17/basic_swift/part03/apps	                        (rev 0)
+++ SwiftTutorials/CMTS_2013-06-17/basic_swift/part03/apps	2013-06-16 16:52:26 UTC (rev 6560)
@@ -0,0 +1 @@
+localhost random random.sh

Added: SwiftTutorials/CMTS_2013-06-17/basic_swift/part03/sites.xml
===================================================================
--- SwiftTutorials/CMTS_2013-06-17/basic_swift/part03/sites.xml	                        (rev 0)
+++ SwiftTutorials/CMTS_2013-06-17/basic_swift/part03/sites.xml	2013-06-16 16:52:26 UTC (rev 6560)
@@ -0,0 +1,9 @@
+<config>
+
+  <pool handle="localhost">
+    <execution provider="local"/>
+    <filesystem provider="local"/>
+    <workdirectory>/scratch/midway/{env.USER}/swiftwork</workdirectory>
+  </pool>
+
+</config>

Deleted: SwiftTutorials/CMTS_2013-06-17/basic_swift/part03/tc
===================================================================
--- SwiftTutorials/CMTS_2013-06-17/basic_swift/part03/tc	2013-06-16 13:30:27 UTC (rev 6559)
+++ SwiftTutorials/CMTS_2013-06-17/basic_swift/part03/tc	2013-06-16 16:52:26 UTC (rev 6560)
@@ -1 +0,0 @@
-localhost random random.sh

Modified: SwiftTutorials/CMTS_2013-06-17/basic_swift/part04/README
===================================================================
--- SwiftTutorials/CMTS_2013-06-17/basic_swift/part04/README	2013-06-16 13:30:27 UTC (rev 6559)
+++ SwiftTutorials/CMTS_2013-06-17/basic_swift/part04/README	2013-06-16 16:52:26 UTC (rev 6560)
@@ -1,42 +1,59 @@
 
-TOPIC: run a program in a foreach() loop with explicitly named output files.
+TOPIC:   Run a program in a foreach() loop with explicitly named output files.
 
 
 Study the program:
 
-- @strcat() is a Swift builtin function (the @name() form is used for many but not all builtins)
+  @strcat() is a Swift builtin function (the @name() form is used for many but not all builtins)
 
-- Note that @strcat() coerces numeric args to strings 
+  Note that @strcat() coerces numeric args to strings 
 
-- <"filename"> was a shorthand for <single_file_mapper;...> but the latter is more flexible.
+  <"filename"> was a shorthand for <single_file_mapper;...> but the latter is more flexible.
 
+
 Run the program:
 
-$ swift -tc.file tc p4.swift
+  $ swift -tc.file tc p4.swift
 
 Look at the output:
 
-$ cd output
-$ ls -l
-$ cat *
+  $ cd output
+  $ ls -l
+  $ cat *
 
 
-Try:
+Try these exercises:
 
-- Adjust the script to take the number of simulations to do from the command line
+  o Adjust the script to take the number of simulations to do from the command line
 
-  @arg("argname") returns arguments after the .swift script on the swift command line:
+    @arg("argname") returns arguments after the .swift script on the swift command line:
 
-    swift -tc.file tc p4.swift -myarg1=value1 ...
+      swift -tc.file tc p4.swift -myarg1=value1 ...
 
-  @arg("argname","default") returns "default" if the argname is not given on the command line
+    @arg("argname","default") returns "default" if the argname is not given on the command line
 
-  @toInt() converts strings to integers:
+    @toInt() converts strings to integers:
 
-    @toInt(@arg("myArg1"))
+      @toInt(@arg("myArg1"))
 
 
-- trace(expr1,...) traces expressions on stdout.
+  o Add some output tracing.
 
-  Try inserting a few traces.  But remember: Swift is *very* concurrent!
+    trace(expr1,...) traces expressions on stdout.
 
+    tracef() allows some simple formatting ala printf (but with slighly different codes)
+    see: http://www.swiftlang.org/guides/trunk/userguide/userguide.html#_tracef
+
+    Try inserting a few traces.  But remember: Swift is *very* concurrent!
+
+  o Use readData() to read the output files back in to the Swift script and print their values.
+
+  o Use readData() to read both a scalar and an array
+
+  o create a version of Random that prints pairs, and read these into arrays
+
+  o Experiment with sparse arrays
+
+  o Experiment with string-indexed arrays (hash tables)
+
+

Added: SwiftTutorials/CMTS_2013-06-17/basic_swift/part04/sites.xml
===================================================================
--- SwiftTutorials/CMTS_2013-06-17/basic_swift/part04/sites.xml	                        (rev 0)
+++ SwiftTutorials/CMTS_2013-06-17/basic_swift/part04/sites.xml	2013-06-16 16:52:26 UTC (rev 6560)
@@ -0,0 +1,9 @@
+<config>
+
+  <pool handle="localhost">
+    <execution provider="local"/>
+    <filesystem provider="local"/>
+    <workdirectory>/scratch/midway/{env.USER}/swiftwork</workdirectory>
+  </pool>
+
+</config>

Modified: SwiftTutorials/CMTS_2013-06-17/basic_swift/part05/README
===================================================================
--- SwiftTutorials/CMTS_2013-06-17/basic_swift/part05/README	2013-06-16 13:30:27 UTC (rev 6559)
+++ SwiftTutorials/CMTS_2013-06-17/basic_swift/part05/README	2013-06-16 16:52:26 UTC (rev 6560)
@@ -1,51 +1,39 @@
 
+TOPIC:   Add a program that "analyzes" the output the parallel simulations
 
-TOPIC: Add a program that "analyzes" the output the parallel simulations
 
-
 Study the program:
 
-We added a new app to "analyze" all the simulation outputs:
+  We added a new app to "analyze" all the simulation outputs:
 
-app (file o) analyze (file s[])
-{
-  average @filenames(s) stdout=@filename(o);
-}
+  app (file o) analyze (file s[])
+  {
+    average @filenames(s) stdout=@filename(o);
+  }
 
 Nots that it expects an array of files as its input, and that
 it uses @filenames() to place the names of all the files on 
 the command line to the "average" program.
 
 Average does:  
---------------------
-#! /bin/sh
 
-awk '
-
-{ sum += $1}
-
-END { print sum/NR }
-' $*
--------------------
-
-
+  awk '    { sum += $1}
+       END { print sum/NR } ' $*
+  
 At the end of the script we insert:
 
-file stats<"output/average.out">;
-stats = analyze(sims);
+  file stats<"output/average.out">;
+  stats = analyze(sims);
 
 ...which runs the analysis *after* all the simulations complete.
 
-
 Run the program:
 
-$ swift -tc.file tc p5.swift
+  $ swift p5.swift
 
-Look at the output:
+Inspect the output:
 
-$ cd output
-$ ls -l
-$ cat sim*.out
-$ cat average.out
-
-
+  $ cd output
+  $ ls -l
+  $ cat sim*.out
+  $ cat average.out

Copied: SwiftTutorials/CMTS_2013-06-17/basic_swift/part05/apps (from rev 6559, SwiftTutorials/CMTS_2013-06-17/basic_swift/part05/tc)
===================================================================
--- SwiftTutorials/CMTS_2013-06-17/basic_swift/part05/apps	                        (rev 0)
+++ SwiftTutorials/CMTS_2013-06-17/basic_swift/part05/apps	2013-06-16 16:52:26 UTC (rev 6560)
@@ -0,0 +1,2 @@
+localhost random  random.sh
+localhost average avg.sh

Added: SwiftTutorials/CMTS_2013-06-17/basic_swift/part05/sites.xml
===================================================================
--- SwiftTutorials/CMTS_2013-06-17/basic_swift/part05/sites.xml	                        (rev 0)
+++ SwiftTutorials/CMTS_2013-06-17/basic_swift/part05/sites.xml	2013-06-16 16:52:26 UTC (rev 6560)
@@ -0,0 +1,9 @@
+<config>
+
+  <pool handle="localhost">
+    <execution provider="local"/>
+    <filesystem provider="local"/>
+    <workdirectory>/scratch/midway/{env.USER}/swiftwork</workdirectory>
+  </pool>
+
+</config>

Deleted: SwiftTutorials/CMTS_2013-06-17/basic_swift/part05/tc
===================================================================
--- SwiftTutorials/CMTS_2013-06-17/basic_swift/part05/tc	2013-06-16 13:30:27 UTC (rev 6559)
+++ SwiftTutorials/CMTS_2013-06-17/basic_swift/part05/tc	2013-06-16 16:52:26 UTC (rev 6560)
@@ -1,2 +0,0 @@
-localhost random  random.sh
-localhost average avg.sh

Modified: SwiftTutorials/CMTS_2013-06-17/basic_swift/part06/README
===================================================================
--- SwiftTutorials/CMTS_2013-06-17/basic_swift/part06/README	2013-06-16 13:30:27 UTC (rev 6559)
+++ SwiftTutorials/CMTS_2013-06-17/basic_swift/part06/README	2013-06-16 16:52:26 UTC (rev 6560)
@@ -1,28 +1,42 @@
 
-TOPIC: add arguments to the "simulation" program
-(to control number of steps, range of output, and number of output lines)
+TOPIC:   Add arguments to the "simulation" program
+         (to control number of steps, range of output, and number of output lines)
 
 
-Test new versions of the "simulation" program:
+Test these new versions of the "simulation" program:
 
   random.sh                            # original
   random2.sh [runtime]                 # runtime in seconds; defaults to 1 sec
   random3.sh [runtime] [range]         # requests random numbers in {0:range-1}
   random4.sh [runtime] [range] [count] # requests "count" random numbers in {0:range}
 
-p6.swift changes to random2 for the simulation program and adds an argument.
+p6.swift uses random2 for the simulation program and adds an argument.
 
 Run the program:
 
-$ swift -tc.file tc p6.swift -steps=3  # each simulation takes 3 seconds
+  $ swift p6.swift -steps=3  # each simulation takes 3 seconds
 
 Next we need to use the parallel cluster for our simulations!
 
-Try:
+Try these exercises:
 
-- change to random3.sh and add the extra argument "range"
+  o Change to random3.sh and add the extra command line argument " -range= "
 
-- change to random4.sh and add yet another argument "count"
+  o Change to random4.sh and add yet another argument " -count= "
 
+Also try adjusting the runtime concurrency throttle for "localhost"
 
+  $ cp sites.xml faster.xml
+  $ vi faster.xml
+  # Add these lines before the </pool> closing tag
+    <profile namespace="karajan" key="initialScore">10000</profile>
+    <profile namespace="karajan" key="jobThrottle">.03</profile> 
+  
+  $ swift -sites.file faster.xml p6.swift
 
+Note the increased number of active jobs
+
+
+
+
+

Copied: SwiftTutorials/CMTS_2013-06-17/basic_swift/part06/apps (from rev 6559, SwiftTutorials/CMTS_2013-06-17/basic_swift/part06/tc)
===================================================================
--- SwiftTutorials/CMTS_2013-06-17/basic_swift/part06/apps	                        (rev 0)
+++ SwiftTutorials/CMTS_2013-06-17/basic_swift/part06/apps	2013-06-16 16:52:26 UTC (rev 6560)
@@ -0,0 +1,2 @@
+localhost random2  random2.sh
+localhost average avg.sh

Added: SwiftTutorials/CMTS_2013-06-17/basic_swift/part06/sites.xml
===================================================================
--- SwiftTutorials/CMTS_2013-06-17/basic_swift/part06/sites.xml	                        (rev 0)
+++ SwiftTutorials/CMTS_2013-06-17/basic_swift/part06/sites.xml	2013-06-16 16:52:26 UTC (rev 6560)
@@ -0,0 +1,9 @@
+<config>
+
+  <pool handle="localhost">
+    <execution provider="local"/>
+    <filesystem provider="local"/>
+    <workdirectory>/scratch/midway/{env.USER}/swiftwork</workdirectory>
+  </pool>
+
+</config>

Deleted: SwiftTutorials/CMTS_2013-06-17/basic_swift/part06/tc
===================================================================
--- SwiftTutorials/CMTS_2013-06-17/basic_swift/part06/tc	2013-06-16 13:30:27 UTC (rev 6559)
+++ SwiftTutorials/CMTS_2013-06-17/basic_swift/part06/tc	2013-06-16 16:52:26 UTC (rev 6560)
@@ -1,2 +0,0 @@
-localhost random2  random2.sh
-localhost average avg.sh

Modified: SwiftTutorials/CMTS_2013-06-17/basic_swift/part07/README
===================================================================
--- SwiftTutorials/CMTS_2013-06-17/basic_swift/part07/README	2013-06-16 13:30:27 UTC (rev 6559)
+++ SwiftTutorials/CMTS_2013-06-17/basic_swift/part07/README	2013-06-16 16:52:26 UTC (rev 6560)
@@ -1,9 +1,8 @@
 
-TOPIC: Run the "simulations" on the parallel cluster
+TOPIC:   Run the "simulations" on the parallel cluster
 
 
-Til now we've been running our "simulations" on the local login host.
-
+So far we've been running our "simulations" on the local login host.
 Now we'll run them on the parallel cluster.
 
 The script will be the same as previous, but we change the tool catalog to
@@ -12,20 +11,20 @@
 
 We changed file "tc" from:
 
-localhost random4  random4.sh
-localhost average  avg.sh
+  localhost random4  random4.sh
+  localhost average  avg.sh
 
 to:
 
-westmere  random4  random4.sh
-localhost average  avg.sh
+  cmtsworkshop  random4  random4.sh
+  localhost     average  avg.sh
 
-And we added the "sites.xml" file which specifies two "pools" of resources,
-the "local host" pool (which we've been using till now) and the "westmere" pool.
+And we added a pool entry to "sites.xml" file which specifies two "pools" of resources,
+the "local host" pool (which we've been using till now) and the "cmtsworkshop" pool.
 
-To run, we now add the sites.xml file to the swift command line:
+To run:
 
-$ swift -tc.file tc -sites.file sites.xml p7.swift -steps=10 -range=1000 -count=6 -nsim=100
+  $ swift p7.swift -steps=10 -range=1000 -count=6 -nsim=100
 
 Note that we're now asking for 100 simulations to be run, each of which
 is to run for 10 steps (ie 10 seconds).
@@ -40,20 +39,20 @@
     <workdirectory>/scratch/midway/{env.USER}/swiftwork</workdirectory>
   </pool>
 
-  <pool handle="westmere">
+  <pool handle="cmtsworkshop">
     <execution provider="coaster" jobmanager="local:slurm"/>
 
     <!-- Set partition and account here: -->
-    <profile namespace="globus" key="queue">westmere</profile>
-    <profile namespace="globus" key="ppn">12</profile>
-    <!-- <profile namespace="globus" key="project">pi-wilde</profile> -->
+    <profile namespace="globus" key="queue">cmtsworkshop</profile>
+    <profile namespace="globus" key="ppn">8</profile>
+    <profile namespace="globus" key="project">cmtsworkshop</profile> -->
 
     <!-- Set number of jobs and nodes per job here: -->
     <profile namespace="globus" key="slots">1</profile>
     <profile namespace="globus" key="maxnodes">1</profile>
     <profile namespace="globus" key="nodegranularity">1</profile>
-    <profile namespace="globus" key="jobsPerNode">12</profile> <!-- apps per node! -->
-    <profile namespace="karajan" key="jobThrottle">.11</profile> <!-- eg .11 -> 12 -->
+    <profile namespace="globus" key="jobsPerNode">8</profile>    <!-- apps per node -->
+    <profile namespace="karajan" key="jobThrottle">.07</profile> <!-- eg .07 -> 8   -->
 
     <!-- Set estimated app time (maxwalltime) and requested job time (maxtime) here: -->
     <profile namespace="globus" key="maxWalltime">00:15:00</profile>
@@ -74,8 +73,8 @@
 
 Try:
 
-- running more app() calls at once:  change jobsPerNode and jobThrottle
+  o running more app() calls at once:  change jobsPerNode and jobThrottle
 
-- requesting more than 1 slurm job at once: change slots
+  o requesting more than 1 slurm job at once: change slots
 
-- requesting nodes in units greater than 1: change maxnodes and nodeGranularity
+  o requesting nodes in units greater than 1: change maxnodes and nodeGranularity

Copied: SwiftTutorials/CMTS_2013-06-17/basic_swift/part07/apps (from rev 6559, SwiftTutorials/CMTS_2013-06-17/basic_swift/part07/tc)
===================================================================
--- SwiftTutorials/CMTS_2013-06-17/basic_swift/part07/apps	                        (rev 0)
+++ SwiftTutorials/CMTS_2013-06-17/basic_swift/part07/apps	2013-06-16 16:52:26 UTC (rev 6560)
@@ -0,0 +1,2 @@
+westmere  random4  random4.sh
+localhost average  avg.sh

Deleted: SwiftTutorials/CMTS_2013-06-17/basic_swift/part07/tc
===================================================================
--- SwiftTutorials/CMTS_2013-06-17/basic_swift/part07/tc	2013-06-16 13:30:27 UTC (rev 6559)
+++ SwiftTutorials/CMTS_2013-06-17/basic_swift/part07/tc	2013-06-16 16:52:26 UTC (rev 6560)
@@ -1,2 +0,0 @@
-westmere  random4  random4.sh
-localhost average  avg.sh




More information about the Swift-commit mailing list