[Swift-commit] r6902 - in branches/release-0.94/tests/sites: . stampede

davidk at ci.uchicago.edu davidk at ci.uchicago.edu
Tue Aug 20 15:31:27 CDT 2013


Author: davidk
Date: 2013-08-20 15:31:27 -0500 (Tue, 20 Aug 2013)
New Revision: 6902

Added:
   branches/release-0.94/tests/sites/stampede/
   branches/release-0.94/tests/sites/stampede/sanity.setup.sh
   branches/release-0.94/tests/sites/stampede/sanity.source.sh
   branches/release-0.94/tests/sites/stampede/sanity.swift
   branches/release-0.94/tests/sites/stampede/sanity.timeout
   branches/release-0.94/tests/sites/stampede/sites.template.xml
   branches/release-0.94/tests/sites/stampede/swift.properties
   branches/release-0.94/tests/sites/stampede/tc.template.data
   branches/release-0.94/tests/sites/stampede/title.txt
Log:
Stampede site test


Added: branches/release-0.94/tests/sites/stampede/sanity.setup.sh
===================================================================
--- branches/release-0.94/tests/sites/stampede/sanity.setup.sh	                        (rev 0)
+++ branches/release-0.94/tests/sites/stampede/sanity.setup.sh	2013-08-20 20:31:27 UTC (rev 6902)
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+USERNAME=$BLUES_USERNAME
+
+if [[ -z $USERNAME ]] 
+then
+    echo "Remote username not provided. Skipping sites configs"
+else
+    ls *xml
+    cat sites.xml  | sed "s/{env.USER}/$USERNAME/" > tmp && mv tmp sites.xml
+fi


Property changes on: branches/release-0.94/tests/sites/stampede/sanity.setup.sh
___________________________________________________________________
Added: svn:executable
   + *

Added: branches/release-0.94/tests/sites/stampede/sanity.source.sh
===================================================================
--- branches/release-0.94/tests/sites/stampede/sanity.source.sh	                        (rev 0)
+++ branches/release-0.94/tests/sites/stampede/sanity.source.sh	2013-08-20 20:31:27 UTC (rev 6902)
@@ -0,0 +1,6 @@
+#!/bin/bash
+if [ "$HOSTNAME" == "midway001" ]
+then
+   export GLOBUS_HOSTNAME=swift.rcc.uchicago.edu
+   export GLOBUS_TCP_PORT_RANGE=50000,51000
+fi;


Property changes on: branches/release-0.94/tests/sites/stampede/sanity.source.sh
___________________________________________________________________
Added: svn:executable
   + *

Added: branches/release-0.94/tests/sites/stampede/sanity.swift
===================================================================
--- branches/release-0.94/tests/sites/stampede/sanity.swift	                        (rev 0)
+++ branches/release-0.94/tests/sites/stampede/sanity.swift	2013-08-20 20:31:27 UTC (rev 6902)
@@ -0,0 +1,11 @@
+type file;
+
+app (file out, file err) remote_driver ()
+{
+    date stdout=@filename(out) stderr=@filename(err);
+}
+
+file driver_out <simple_mapper; prefix="sanity", suffix=".out">;
+file driver_err <simple_mapper; prefix="sanity", suffix=".err">;
+
+(driver_out, driver_err) = remote_driver();
\ No newline at end of file

Added: branches/release-0.94/tests/sites/stampede/sanity.timeout
===================================================================
--- branches/release-0.94/tests/sites/stampede/sanity.timeout	                        (rev 0)
+++ branches/release-0.94/tests/sites/stampede/sanity.timeout	2013-08-20 20:31:27 UTC (rev 6902)
@@ -0,0 +1 @@
+300

Added: branches/release-0.94/tests/sites/stampede/sites.template.xml
===================================================================
--- branches/release-0.94/tests/sites/stampede/sites.template.xml	                        (rev 0)
+++ branches/release-0.94/tests/sites/stampede/sites.template.xml	2013-08-20 20:31:27 UTC (rev 6902)
@@ -0,0 +1,17 @@
+<config>
+  <pool handle="stampede">
+    <execution provider="coaster"  jobmanager="local:slurm"/>
+    <filesystem provider="local"/>
+    <profile namespace="globus"  key="jobsPerNode">16</profile>
+    <profile namespace="globus"  key="ppn">16</profile>
+    <profile namespace="globus"  key="maxwalltime">00:01:00</profile>
+    <profile namespace="globus"  key="queue">development</profile>
+    <profile namespace="globus"  key="nodeGranularity">2</profile>
+    <profile namespace="globus"  key="maxNodes">2</profile>
+    <profile namespace="globus"  key="project">TG-MCA94P017</profile>
+    <profile namespace="karajan" key="jobThrottle">2</profile>
+    <profile namespace="karajan" key="initialScore">10000</profile>
+    <workdirectory>{env.SCRATCH}</workdirectory>
+  </pool>
+</config>
+

Added: branches/release-0.94/tests/sites/stampede/swift.properties
===================================================================
--- branches/release-0.94/tests/sites/stampede/swift.properties	                        (rev 0)
+++ branches/release-0.94/tests/sites/stampede/swift.properties	2013-08-20 20:31:27 UTC (rev 6902)
@@ -0,0 +1,8 @@
+use.provider.staging=true
+use.wrapper.staging=false
+wrapperlog.always.transfer=true
+execution.retries=0
+lazy.errors=false
+provider.staging.pin.swiftfiles=false
+sitedir.keep=true
+tcp.port.range=50000,51000
\ No newline at end of file

Added: branches/release-0.94/tests/sites/stampede/tc.template.data
===================================================================
--- branches/release-0.94/tests/sites/stampede/tc.template.data	                        (rev 0)
+++ branches/release-0.94/tests/sites/stampede/tc.template.data	2013-08-20 20:31:27 UTC (rev 6902)
@@ -0,0 +1,8 @@
+local  date /bin/date null null null
+beagle date /bin/date null null null
+uc3    date /bin/date null null null
+mcs    date /bin/date null null null
+midway date /bin/date null null null
+blues  date /bin/date null null null
+fusion date /bin/date null null null
+stampede date /bin/date null null null

Added: branches/release-0.94/tests/sites/stampede/title.txt
===================================================================
--- branches/release-0.94/tests/sites/stampede/title.txt	                        (rev 0)
+++ branches/release-0.94/tests/sites/stampede/title.txt	2013-08-20 20:31:27 UTC (rev 6902)
@@ -0,0 +1 @@
+Stampede remote sanity test




More information about the Swift-commit mailing list