[Swift-commit] r2113 - in SwiftApps/SIDGrid/swift/projects/skenny: . check_env

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Thu Jul 10 16:09:33 CDT 2008


Author: skenny
Date: 2008-07-10 16:09:32 -0500 (Thu, 10 Jul 2008)
New Revision: 2113

Added:
   SwiftApps/SIDGrid/swift/projects/skenny/check_env/
   SwiftApps/SIDGrid/swift/projects/skenny/check_env/env.swift
   SwiftApps/SIDGrid/swift/projects/skenny/check_env/envBatch.swift
   SwiftApps/SIDGrid/swift/projects/skenny/check_env/swift_exec.sh
   SwiftApps/SIDGrid/swift/projects/skenny/check_env/test.rsl
Log:
simple swift run for checking the environment on a worker node

Added: SwiftApps/SIDGrid/swift/projects/skenny/check_env/env.swift
===================================================================
--- SwiftApps/SIDGrid/swift/projects/skenny/check_env/env.swift	                        (rev 0)
+++ SwiftApps/SIDGrid/swift/projects/skenny/check_env/env.swift	2008-07-10 21:09:32 UTC (rev 2113)
@@ -0,0 +1,8 @@
+type file {}						//define a type for file
+(file t) env () { 			//procedure declaration
+    app {
+        env stdout=@filename(t);	//redirect stdout to a file
+    }
+}
+
+file e = env();		//procedure call

Added: SwiftApps/SIDGrid/swift/projects/skenny/check_env/envBatch.swift
===================================================================
--- SwiftApps/SIDGrid/swift/projects/skenny/check_env/envBatch.swift	                        (rev 0)
+++ SwiftApps/SIDGrid/swift/projects/skenny/check_env/envBatch.swift	2008-07-10 21:09:32 UTC (rev 2113)
@@ -0,0 +1,17 @@
+type file {}						//define a type for file
+(file t) env () { 			//procedure declaration
+    app {
+        env stdout=@filename(t);	//redirect stdout to a file
+    }
+}
+
+file e = env();
+file f = env();
+file g = env();
+file h = env();
+file i = env();
+file j = env();
+file k = env();
+file l = env();
+file m = env();
+file n = env();

Added: SwiftApps/SIDGrid/swift/projects/skenny/check_env/swift_exec.sh
===================================================================
--- SwiftApps/SIDGrid/swift/projects/skenny/check_env/swift_exec.sh	                        (rev 0)
+++ SwiftApps/SIDGrid/swift/projects/skenny/check_env/swift_exec.sh	2008-07-10 21:09:32 UTC (rev 2113)
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+/disks/gpfs/fmri/cnari/swift/sbuilds_old/cog/modules/vdsk/dist/vdsk-svn/bin/swift -tc.file /disks/gpfs/fmri/cnari/swift/config/tc.data -sites.file ./sites_ranger.xml env.swift -user="skenny"
+
+
+
+
+
+


Property changes on: SwiftApps/SIDGrid/swift/projects/skenny/check_env/swift_exec.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: SwiftApps/SIDGrid/swift/projects/skenny/check_env/test.rsl
===================================================================
--- SwiftApps/SIDGrid/swift/projects/skenny/check_env/test.rsl	                        (rev 0)
+++ SwiftApps/SIDGrid/swift/projects/skenny/check_env/test.rsl	2008-07-10 21:09:32 UTC (rev 2113)
@@ -0,0 +1,12 @@
+&
+
+(hostCount=4)
+
+(maxtime=5)
+
+(count=4)
+
+(project=TG-STA060008N)
+
+(executable=/bin/hostname)
+




More information about the Swift-commit mailing list