[Swift-commit] r7457 - branches/release-0.95/bin

davidk at ci.uchicago.edu davidk at ci.uchicago.edu
Thu Jan 2 13:09:50 CST 2014


Author: davidk
Date: 2014-01-02 13:09:50 -0600 (Thu, 02 Jan 2014)
New Revision: 7457

Modified:
   branches/release-0.95/bin/swiftrun
Log:
xml key case fix


Modified: branches/release-0.95/bin/swiftrun
===================================================================
--- branches/release-0.95/bin/swiftrun	2014-01-02 18:04:05 UTC (rev 7456)
+++ branches/release-0.95/bin/swiftrun	2014-01-02 19:09:50 UTC (rev 7457)
@@ -28,29 +28,29 @@
 
 # List of xml shortcuts
 my %site_aliases = (
-                   'allocationstepsize'        => 'globus.allocationstepsize',
-                   'delaybase'                 => 'karajan.delaybase',
+                   'allocationstepsize'        => 'globus.allocationStepSize',
+                   'delaybase'                 => 'karajan.delayBase',
                    'filesystem'                => 'filesystem',
-                   'highoverallocation'        => 'globus.highoverallocation',
-                   'initialscore'              => 'karajan.initialscore',
+                   'highoverallocation'        => 'globus.highOverallocation',
+                   'initialscore'              => 'karajan.initialScore',
                    'internalhostname'          => 'globus.internalhostname',
-                   'jobgranularity'            => 'globus.nodegranularity',
+                   'jobgranularity'            => 'globus.nodeGranularity',
                    'jobmanager'                => 'jobmanager',
 		   'jobproject'                => 'globus.project',
                    'jobqueue'                  => 'globus.queue',
-                   'jobtype'                   => 'globus.jobtype',
+                   'jobtype'                   => 'globus.jobType',
 		   'jobwalltime'               => 'globus.maxtime',
                    'jobwalltimereserve'        => 'globus.reserve',
-                   'lowoverallocation'         => 'globus.lowoverallocation',
+                   'lowoverallocation'         => 'globus.lowOverallocation',
 		   'maxjobs'                   => 'globus.slots',
-                   'maxnodesperjob'            => 'globus.maxnodes',
-                   'maxsubmitrate'             => 'karajan.maxsubmitrate',
-                   'overallocationdecayfactor' => 'globus.overallocationdecayfactor',
-                   'remotemonitorenabled'      => 'globus.remotemonitorenabled',
+                   'maxnodesperjob'            => 'globus.maxNodes',
+                   'maxsubmitrate'             => 'karajan.maxSubmitRate',
+                   'overallocationdecayfactor' => 'globus.overallocationDecayFactor',
+                   'remotemonitorenabled'      => 'globus.remoteMonitorEnabled',
                    'slurm'                     => 'globus.slurm',
                    'taskdir'                   => 'globus.scratch',
-                   'tasksperworker'            => 'globus.jobspernode',
-                   'taskthrottle'              => 'karajan.jobthrottle',
+                   'tasksperworker'            => 'globus.jobsPerNode',
+                   'taskthrottle'              => 'karajan.jobThrottle',
                    'taskwalltime'              => 'globus.maxwalltime',
                    'workdir'                   => 'workdir',
 		   'workerloglevel'            => 'globus.workerlogginglevel',
@@ -450,6 +450,7 @@
 push(@new_swift_args, "-Drestart.log.name=$run_directory/restart.log");
 push(@new_swift_args, "-swiftoutlog=$run_directory/swift.out");
 push(@new_swift_args, "-runid " . basename($run_directory));
+push( @new_swift_args, sprintf( "-logfile $run_directory/run%03s.log", $run_number ));
 
 # Write swift configuration files
 &write_sites("sites.xml") if defined( $option_siteslist ) || defined($properties{site});
@@ -469,7 +470,6 @@
    else { push( @new_swift_args, $option ); }
 }
 
-push( @new_swift_args, sprintf( "-logfile $run_directory/run%03s.log", $run_number ));
 
 foreach my $arg( @new_swift_args ) {
    print "$arg ";




More information about the Swift-commit mailing list