[Swift-commit] r8382 - SwiftApps/subjobs/mpicatsnsleep

ketan at ci.uchicago.edu ketan at ci.uchicago.edu
Tue Mar 3 12:58:25 CST 2015


Author: ketan
Date: 2015-03-03 12:58:25 -0600 (Tue, 03 Mar 2015)
New Revision: 8382

Added:
   SwiftApps/subjobs/mpicatsnsleep/swift.conf
Modified:
   SwiftApps/subjobs/mpicatsnsleep/catsnsleepmpi.swift
   SwiftApps/subjobs/mpicatsnsleep/runcetus.sh
Log:
adding conf

Modified: SwiftApps/subjobs/mpicatsnsleep/catsnsleepmpi.swift
===================================================================
--- SwiftApps/subjobs/mpicatsnsleep/catsnsleepmpi.swift	2015-02-27 20:02:44 UTC (rev 8381)
+++ SwiftApps/subjobs/mpicatsnsleep/catsnsleepmpi.swift	2015-03-03 18:58:25 UTC (rev 8382)
@@ -7,9 +7,9 @@
 
 file out[]<simple_mapper; location="outdir", prefix="f.",suffix=".out">;
 
-foreach j in [1:toInt(arg("n","1"))] {
+foreach i in [1:toInt(arg("n","1"))] {
   file data<"data.txt">;
-  file sout<single_file_mapper; file=strcat("outdir/f.",j,".stdout")>;
-  file serr<single_file_mapper; file=strcat("outdir/f.",j,".stderr")>;
-  (out[j],sout,serr) = cat(data);
+  file sout<single_file_mapper; file=strcat("outdir/f.",i,".stdout")>;
+  file serr<single_file_mapper; file=strcat("outdir/f.",i,".stderr")>;
+  (out[i],sout,serr) = cat(data);
 }

Modified: SwiftApps/subjobs/mpicatsnsleep/runcetus.sh
===================================================================
--- SwiftApps/subjobs/mpicatsnsleep/runcetus.sh	2015-02-27 20:02:44 UTC (rev 8381)
+++ SwiftApps/subjobs/mpicatsnsleep/runcetus.sh	2015-03-03 18:58:25 UTC (rev 8382)
@@ -7,7 +7,8 @@
 #mpixlc mpicatnap.c -o mpicatnap
 
 #New method
-/home/ketan/swift-0.95/cog/modules/swift/dist/swift-svn/bin/swift -sites.file cobalt.cetus.xml -config cf -tc.file apps catsnsleepmpi.swift -n=16 -s=1
+#/home/ketan/swift-0.95/cog/modules/swift/dist/swift-svn/bin/swift -sites.file cobalt.cetus.xml -config cf -tc.file apps catsnsleepmpi.swift -n=16 -s=1
+/home/ketan/swift-k/dist/swift-svn/bin/swift catsnsleepmpi.swift -n=16 -s=1
 
 #A testblock run
 #qsub -A ATPESC2013 -n 32 -t 5 -q low --mode c16 --mode script testblock.sh # --disable_preboot

Added: SwiftApps/subjobs/mpicatsnsleep/swift.conf
===================================================================
--- SwiftApps/subjobs/mpicatsnsleep/swift.conf	                        (rev 0)
+++ SwiftApps/subjobs/mpicatsnsleep/swift.conf	2015-03-03 18:58:25 UTC (rev 8382)
@@ -0,0 +1,35 @@
+sites : cluster
+site.cluster {
+    execution {
+        type: "coaster"
+        URL: "localhost"
+        jobManager: "local:cobalt"
+        options {
+            maxNodesPerJob: 32
+            maxJobs: 1
+            tasksPerNode: 2
+            # Option ignored: globus:mode = script
+            #workerLoggingLevel = "DEBUG"
+            nodeGranularity: 32
+        }
+    }
+    filesystem {
+        type: "local"
+        URL: "localhost"
+    }
+    staging : swift
+    workDirectory: "/home/ketan/swiftwork"
+    maxParallelTasks: 30
+    initialParallelTasks: 29
+    app.bgsh {
+        executable: "/home/ketan/SwiftApps/subjobs/bg.sh"
+        maxWallTime: "00:04:00"
+        env.SUBBLOCK_SIZE="16"
+    }
+}
+
+executionRetries: 0
+keepSiteDir: false
+providerStagingPinSwiftFiles: false
+alwaysTransferWrapperLog: false
+




More information about the Swift-commit mailing list