[Swift-commit] r7485 - trunk/bin
davidk at ci.uchicago.edu
davidk at ci.uchicago.edu
Tue Jan 21 16:10:35 CST 2014
Author: davidk
Date: 2014-01-21 16:10:35 -0600 (Tue, 21 Jan 2014)
New Revision: 7485
Modified:
trunk/bin/swiftrun
Log:
jobwalltime fix and providerattributes
Modified: trunk/bin/swiftrun
===================================================================
--- trunk/bin/swiftrun 2014-01-21 22:09:49 UTC (rev 7484)
+++ trunk/bin/swiftrun 2014-01-21 22:10:35 UTC (rev 7485)
@@ -46,6 +46,7 @@
'maxnodesperjob' => 'globus.maxNodes',
'maxsubmitrate' => 'karajan.maxSubmitRate',
'overallocationdecayfactor' => 'globus.overallocationDecayFactor',
+ 'providerattributes' => 'globus.providerAttributes',
'remotemonitorenabled' => 'globus.remoteMonitorEnabled',
'slurm' => 'globus.slurm',
'taskdir' => 'globus.scratch',
@@ -121,7 +122,7 @@
if( $property eq "jobwalltime" ) {
verify_in_hhmmss($key, $value);
- $property = hhmmss_to_seconds($value);
+ $value = hhmmss_to_seconds($value);
}
elsif ( $property eq "taskthrottle" ) {
@@ -172,7 +173,7 @@
elsif ( $property eq "workdir" ) { return "<workdirectory>$value</workdirectory>\n"; }
elsif ( $property eq "taskdir" ) { return "<scratch>$value</scratch>\n"; }
elsif ( $property eq "filesystem" ) { return "<filesystem provider=\"" . $value . "\"/>\n"; }
-
+
my ( $xmlnamespace, $xmlproperty ) = split(/\./, $site_aliases{ $propertyStart });
if ( defined($xmlnamespace) && defined($xmlproperty)) {
return "<profile namespace=\"" . $xmlnamespace . "\" key=\"" . $xmlproperty . "\">" . $value . "</profile>\n";
More information about the Swift-commit
mailing list