[Swift-commit] r8282 - in SwiftApps/subjobs: . haloapp
ketan at ci.uchicago.edu
ketan at ci.uchicago.edu
Tue Oct 21 17:30:38 CDT 2014
Author: ketan
Date: 2014-10-21 17:30:38 -0500 (Tue, 21 Oct 2014)
New Revision: 8282
Added:
SwiftApps/subjobs/haloapp/
SwiftApps/subjobs/haloapp/apps
SwiftApps/subjobs/haloapp/cf
SwiftApps/subjobs/haloapp/cobalt.mira.xml
SwiftApps/subjobs/haloapp/halo.swift
SwiftApps/subjobs/haloapp/map_file.txt
SwiftApps/subjobs/haloapp/mmps
SwiftApps/subjobs/haloapp/run.sh
SwiftApps/subjobs/haloapp/runswift.sh
Log:
Adding the halo app
Added: SwiftApps/subjobs/haloapp/apps
===================================================================
--- SwiftApps/subjobs/haloapp/apps (rev 0)
+++ SwiftApps/subjobs/haloapp/apps 2014-10-21 22:30:38 UTC (rev 8282)
@@ -0,0 +1,4 @@
+localhost cat /bin/cat null null null
+cluster bgsh /home/ketan/SwiftApps/subjobs/bg.sh null null null
+cluster2 bgsh /home/ketan/SwiftApps/subjobs/bg.sh null null null
+
Added: SwiftApps/subjobs/haloapp/cf
===================================================================
--- SwiftApps/subjobs/haloapp/cf (rev 0)
+++ SwiftApps/subjobs/haloapp/cf 2014-10-21 22:30:38 UTC (rev 8282)
@@ -0,0 +1,6 @@
+use.provider.staging=false
+wrapperlog.always.transfer=false
+execution.retries=0
+provider.staging.pin.swiftfiles=false
+sitedir.keep=false
+use.wrapper.staging=false
Added: SwiftApps/subjobs/haloapp/cobalt.mira.xml
===================================================================
--- SwiftApps/subjobs/haloapp/cobalt.mira.xml (rev 0)
+++ SwiftApps/subjobs/haloapp/cobalt.mira.xml 2014-10-21 22:30:38 UTC (rev 8282)
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<config xmlns="http://www.ci.uchicago.edu/swift/SwiftSites">
+
+<pool handle="cluster">
+<execution provider="coaster" jobmanager="local:cobalt" />
+
+<profile namespace="globus" key="slots">2</profile>
+<profile namespace="globus" key="mode">script</profile>
+
+<profile namespace="karajan" key="jobThrottle">2.99</profile>
+<profile namespace="karajan" key="initialScore">10000</profile>
+<profile namespace="globus" key="maxwalltime">00:40:00</profile>
+<profile namespace="globus" key="walltime">2050</profile>
+
+<profile namespace="globus" key="maxnodes">64</profile>
+<profile namespace="globus" key="nodegranularity">64</profile>
+<profile key="SUBBLOCK_SIZE" namespace="env">8</profile>
+<profile key="WORKER_LOGGING_LEVEL" namespace="env">DEBUG</profile>
+<profile key="ENABLE_WORKER_LOGGING" namespace="env">TRUE</profile>
+<profile key="ENABLE_WORKER_LOGGING" namespace="env">ON</profile>
+<profile key="WORKER_LOG_DIR" namespace="env">/home/ketan/workerlogs</profile>
+<profile namespace="globus" key="workerLoggingLevel">DEBUG</profile>
+<profile namespace="globus" key="workerLoggingDirectory">/home/ketan/workerlogs</profile>
+<profile namespace="globus" key="jobsPerNode">8</profile>
+
+<workdirectory>/home/ketan/swiftwork</workdirectory>
+<filesystem provider="local"/>
+
+</pool>
+
+<pool handle="cluster2">
+<execution provider="coaster" jobmanager="local:cobalt" />
+
+<profile namespace="globus" key="slots">2</profile>
+<profile namespace="globus" key="mode">script</profile>
+
+<profile namespace="karajan" key="jobThrottle">2.99</profile>
+<profile namespace="karajan" key="initialScore">10000</profile>
+<profile namespace="globus" key="maxwalltime">00:40:00</profile>
+<profile namespace="globus" key="walltime">2050</profile>
+
+<profile namespace="globus" key="maxnodes">64</profile>
+<profile namespace="globus" key="nodegranularity">64</profile>
+<profile key="SUBBLOCK_SIZE" namespace="env">8</profile>
+<profile key="WORKER_LOGGING_LEVEL" namespace="env">DEBUG</profile>
+<profile key="ENABLE_WORKER_LOGGING" namespace="env">TRUE</profile>
+<profile key="ENABLE_WORKER_LOGGING" namespace="env">ON</profile>
+<profile key="WORKER_LOG_DIR" namespace="env">/home/ketan/workerlogs</profile>
+<profile namespace="globus" key="workerLoggingLevel">DEBUG</profile>
+<profile namespace="globus" key="workerLoggingDirectory">/home/ketan/workerlogs</profile>
+<profile namespace="globus" key="jobsPerNode">8</profile>
+
+<workdirectory>/home/ketan/swiftwork</workdirectory>
+<filesystem provider="local"/>
+
+</pool>
+</config>
Added: SwiftApps/subjobs/haloapp/halo.swift
===================================================================
--- SwiftApps/subjobs/haloapp/halo.swift (rev 0)
+++ SwiftApps/subjobs/haloapp/halo.swift 2014-10-21 22:30:38 UTC (rev 8282)
@@ -0,0 +1,15 @@
+type file;
+
+app (file _out, file _err) haloapp (string _exec_path, file _map_file)
+{
+ bgsh _exec_path @_map_file stdout=@_out stderr=@_err;
+}
+
+string exec_path="/home/ketan/SwiftApps/subjobs/HALO/mmps";
+
+file map_file <"map_file.txt">;
+file out <"halo.out">;
+file err <"halo.err">;
+
+(out, err) = haloapp( exec_path, map_file);
+
Added: SwiftApps/subjobs/haloapp/map_file.txt
===================================================================
--- SwiftApps/subjobs/haloapp/map_file.txt (rev 0)
+++ SwiftApps/subjobs/haloapp/map_file.txt 2014-10-21 22:30:38 UTC (rev 8282)
@@ -0,0 +1,4 @@
+0 0 0 0 0 0
+0 0 0 0 1 0
+0 0 0 1 0 0
+0 0 0 1 1 0
Added: SwiftApps/subjobs/haloapp/mmps
===================================================================
(Binary files differ)
Property changes on: SwiftApps/subjobs/haloapp/mmps
___________________________________________________________________
Added: svn:executable
+ *
Added: svn:mime-type
+ application/octet-stream
Added: SwiftApps/subjobs/haloapp/run.sh
===================================================================
--- SwiftApps/subjobs/haloapp/run.sh (rev 0)
+++ SwiftApps/subjobs/haloapp/run.sh 2014-10-21 22:30:38 UTC (rev 8282)
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+NCORES=4
+TIME=30
+EXEC=./mmps
+MAP_FILE=./map_file.txt
+
+
+qsub -n $NCORES -t $TIME --env RUNJOB_MAPPING=$MAP_FILE $EXEC
\ No newline at end of file
Property changes on: SwiftApps/subjobs/haloapp/run.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: SwiftApps/subjobs/haloapp/runswift.sh
===================================================================
--- SwiftApps/subjobs/haloapp/runswift.sh (rev 0)
+++ SwiftApps/subjobs/haloapp/runswift.sh 2014-10-21 22:30:38 UTC (rev 8282)
@@ -0,0 +1,10 @@
+#! /bin/sh
+
+#Old method
+#qsub -A ATPESC2014 -n 512 -t 15 --mode script runswift_script.sh -config cf -tc.file apps -sites.file localcoast.xml "$@"
+
+#New method
+/home/ketan/swift-0.95/cog/modules/swift/dist/swift-svn/bin/swift -sites.file cobalt.mira.xml -config cf -tc.file apps halo.swift
+
+#A testblock run
+#qsub -A ATPESC2013 -n 32 -t 5 -q low --mode c16 --mode script testblock.sh # --disable_preboot
Property changes on: SwiftApps/subjobs/haloapp/runswift.sh
___________________________________________________________________
Added: svn:executable
+ *
More information about the Swift-commit
mailing list