[Swift-commit] r6928 - in SwiftTutorials/CIC_2013-08-09: . part03

wilde at ci.uchicago.edu wilde at ci.uchicago.edu
Wed Aug 21 18:05:21 CDT 2013


Author: wilde
Date: 2013-08-21 18:05:21 -0500 (Wed, 21 Aug 2013)
New Revision: 6928

Added:
   SwiftTutorials/CIC_2013-08-09/part03/
   SwiftTutorials/CIC_2013-08-09/part03/p3.swift
   SwiftTutorials/CIC_2013-08-09/part03/sites.xml
Removed:
   SwiftTutorials/CIC_2013-08-09/part03/p6.swift
   SwiftTutorials/CIC_2013-08-09/part03/sites.xml
Log:
moved

Copied: SwiftTutorials/CIC_2013-08-09/part03/p3.swift (from rev 6868, SwiftTutorials/CIC_2013-08-09/part06/p6.swift)
===================================================================
--- SwiftTutorials/CIC_2013-08-09/part03/p3.swift	                        (rev 0)
+++ SwiftTutorials/CIC_2013-08-09/part03/p3.swift	2013-08-21 23:05:21 UTC (rev 6928)
@@ -0,0 +1,24 @@
+type file;
+
+app (file o) mysim (int timesteps)
+{
+  simulate timesteps stdout=@filename(o);
+}
+
+app (file o) analyze (file s[])
+{
+  stats @filenames(s) stdout=@filename(o);
+}
+
+file sims[];
+int  nsim = @toInt(@arg("nsim","10"));
+int steps = @toInt(@arg("steps","1"));
+
+foreach i in [0:nsim-1] {
+  file simout <single_file_mapper; file=@strcat("output/sim_",i,".out")>;
+  simout = mysim(steps);
+  sims[i] = simout;
+}
+
+file stats<"output/average.out">;
+stats = analyze(sims);

Deleted: SwiftTutorials/CIC_2013-08-09/part03/p6.swift
===================================================================
--- SwiftTutorials/CIC_2013-08-09/part06/p6.swift	2013-08-15 16:31:36 UTC (rev 6868)
+++ SwiftTutorials/CIC_2013-08-09/part03/p6.swift	2013-08-21 23:05:21 UTC (rev 6928)
@@ -1,24 +0,0 @@
-type file;
-
-app (file o) mysim (int timesteps)
-{
-  simulate timesteps stdout=@filename(o);
-}
-
-app (file o) analyze (file s[])
-{
-  stats @filenames(s) stdout=@filename(o);
-}
-
-file sims[];
-int  nsim = @toInt(@arg("nsim","10"));
-int steps = @toInt(@arg("steps","1"));
-
-foreach i in [0:nsim-1] {
-  file simout <single_file_mapper; file=@strcat("output/sim_",i,".out")>;
-  simout = mysim(steps);
-  sims[i] = simout;
-}
-
-file stats<"output/average.out">;
-stats = analyze(sims);

Deleted: SwiftTutorials/CIC_2013-08-09/part03/sites.xml
===================================================================
--- SwiftTutorials/CIC_2013-08-09/part06/sites.xml	2013-08-15 16:31:36 UTC (rev 6868)
+++ SwiftTutorials/CIC_2013-08-09/part03/sites.xml	2013-08-21 23:05:21 UTC (rev 6928)
@@ -1,9 +0,0 @@
-<config>
-   <pool handle="localhost">
-      <execution provider="coaster" jobmanager="local:local"/>
-      <profile namespace="karajan" key="jobThrottle">0.03</profile>
-      <profile namespace="karajan" key="initialScore">10000</profile>
-      <filesystem provider="local"/>
-      <workdirectory>{env.HOME}/work</workdirectory>
-   </pool>
-</config>

Copied: SwiftTutorials/CIC_2013-08-09/part03/sites.xml (from rev 6922, SwiftTutorials/CIC_2013-08-09/part06/sites.xml)
===================================================================
--- SwiftTutorials/CIC_2013-08-09/part03/sites.xml	                        (rev 0)
+++ SwiftTutorials/CIC_2013-08-09/part03/sites.xml	2013-08-21 23:05:21 UTC (rev 6928)
@@ -0,0 +1,9 @@
+<config>
+   <pool handle="localhost">
+      <execution provider="coaster" jobmanager="local:local"/>
+      <profile namespace="karajan" key="jobThrottle">0.20</profile>
+      <profile namespace="karajan" key="initialScore">10000</profile>
+      <filesystem provider="local"/>
+      <workdirectory>{env.HOME}/work</workdirectory>
+   </pool>
+</config>




More information about the Swift-commit mailing list