[Swift-commit] r6491 - in SwiftTutorials/OSG_2013-03-11/MODIS: . test.intrepid
davidk at ci.uchicago.edu
davidk at ci.uchicago.edu
Tue Apr 30 11:31:51 CDT 2013
Author: davidk
Date: 2013-04-30 11:31:50 -0500 (Tue, 30 Apr 2013)
New Revision: 6491
Added:
SwiftTutorials/OSG_2013-03-11/MODIS/test.intrepid/
SwiftTutorials/OSG_2013-03-11/MODIS/test.intrepid/cf
SwiftTutorials/OSG_2013-03-11/MODIS/test.intrepid/getlanduse.pl
SwiftTutorials/OSG_2013-03-11/MODIS/test.intrepid/intrepid.xml
SwiftTutorials/OSG_2013-03-11/MODIS/test.intrepid/run
SwiftTutorials/OSG_2013-03-11/MODIS/test.intrepid/tc
Log:
Modis intrepid test
Added: SwiftTutorials/OSG_2013-03-11/MODIS/test.intrepid/cf
===================================================================
--- SwiftTutorials/OSG_2013-03-11/MODIS/test.intrepid/cf (rev 0)
+++ SwiftTutorials/OSG_2013-03-11/MODIS/test.intrepid/cf 2013-04-30 16:31:50 UTC (rev 6491)
@@ -0,0 +1,8 @@
+
+wrapperlog.always.transfer=true
+sitedir.keep=true
+execution.retries=0
+lazy.errors=false
+status.mode=provider
+use.provider.staging=true
+provider.staging.pin.swiftfiles=false
Added: SwiftTutorials/OSG_2013-03-11/MODIS/test.intrepid/getlanduse.pl
===================================================================
--- SwiftTutorials/OSG_2013-03-11/MODIS/test.intrepid/getlanduse.pl (rev 0)
+++ SwiftTutorials/OSG_2013-03-11/MODIS/test.intrepid/getlanduse.pl 2013-04-30 16:31:50 UTC (rev 6491)
@@ -0,0 +1,29 @@
+#!/usr/bin/perl -w
+
+# Input to this program should be a raw, greyscale RGB file
+# Usage: rgb_histogram.pl myfile.rgb
+
+my $image_filename = shift;
+open(IMAGEFILE, "$image_filename") || die "Unable to open $image_filename!\n";
+binmode IMAGEFILE;
+
+my @pixelcount;
+foreach my $count (0..255) { $pixelcount[$count] = 0; }
+
+# Read values, three bytes at a time
+$/ = \3;
+foreach(<IMAGEFILE>) {
+ $pixelcount[unpack('C', $_)]++;
+}
+close(IMAGEFILE);
+
+ at sortedcount = sort {$b <=> $a} @pixelcount;
+
+foreach my $count (0..255) {
+ if($sortedcount[$count] == 0) { next; }
+ printf("%d %d %02x\n", $sortedcount[$count], $count, $count);
+}
+
+system("hostname -f 2>&1");
+
+sleep(1);
Property changes on: SwiftTutorials/OSG_2013-03-11/MODIS/test.intrepid/getlanduse.pl
___________________________________________________________________
Added: svn:executable
+ *
Added: SwiftTutorials/OSG_2013-03-11/MODIS/test.intrepid/intrepid.xml
===================================================================
--- SwiftTutorials/OSG_2013-03-11/MODIS/test.intrepid/intrepid.xml (rev 0)
+++ SwiftTutorials/OSG_2013-03-11/MODIS/test.intrepid/intrepid.xml 2013-04-30 16:31:50 UTC (rev 6491)
@@ -0,0 +1,22 @@
+<config>
+ <pool handle="intrepid">
+ <execution provider="coaster" jobmanager="local:cobalt"/>
+ <filesystem provider="local" />
+ <profile namespace="globus" key="internalHostname">172.17.5.141</profile>
+ <profile namespace="globus" key="kernelprofile">zeptoos</profile>
+ <profile namespace="globus" key="alcfbgpnat">true</profile>
+ <profile namespace="globus" key="project">MTCScienceApps</profile>
+ <profile namespace="globus" key="queue">prod</profile>
+ <profile namespace="karajan" key="jobthrottle">0</profile>
+ <profile namespace="karajan" key="initialScore">10000</profile>
+ <profile namespace="globus" key="jobsPerNode">1</profile>
+ <profile namespace="globus" key="workerLoggingLevel">DEBUG</profile>
+ <profile namespace="globus" key="workerLoggingDirectory">/intrepid-fs0/users/davidk/scratch/MODIS/test.intrepid</profile>
+ <profile namespace="globus" key="slots">1</profile>
+ <profile namespace="globus" key="maxTime">900</profile> <!-- seconds -->
+ <profile namespace="globus" key="nodeGranularity">512</profile>
+ <profile namespace="globus" key="maxNodes">512</profile>
+ <workdirectory>/intrepid-fs0/users/davidk/scratch/MODIS/test.intrepid/scratch</workdirectory>
+ </pool>
+</config>
+
Added: SwiftTutorials/OSG_2013-03-11/MODIS/test.intrepid/run
===================================================================
--- SwiftTutorials/OSG_2013-03-11/MODIS/test.intrepid/run (rev 0)
+++ SwiftTutorials/OSG_2013-03-11/MODIS/test.intrepid/run 2013-04-30 16:31:50 UTC (rev 6491)
@@ -0,0 +1,5 @@
+#! /bin/sh
+
+set -x
+
+swift -config cf -sites.file intrepid.xml -tc.file tc ../modis.swift -modisdir=input/
Property changes on: SwiftTutorials/OSG_2013-03-11/MODIS/test.intrepid/run
___________________________________________________________________
Added: svn:executable
+ *
Added: SwiftTutorials/OSG_2013-03-11/MODIS/test.intrepid/tc
===================================================================
--- SwiftTutorials/OSG_2013-03-11/MODIS/test.intrepid/tc (rev 0)
+++ SwiftTutorials/OSG_2013-03-11/MODIS/test.intrepid/tc 2013-04-30 16:31:50 UTC (rev 6491)
@@ -0,0 +1 @@
+intrepid perl /usr/bin/perl null null null
More information about the Swift-commit
mailing list