[Gate-users] Extension for gjs, walltime parameter for openPBS

Hannes Hofmann opengate at f00f.de
Thu Nov 29 11:44:23 CET 2007


Hi,

on our cluster we have to add a maximum runtime to the openPBS scripts,
like this:
#PBS -l walltime=01:00:00

Because this time changes with almost every simulation I run, I got
tired of modifying the openPBS script ($GC_PBS_SCRIPT) each time.
Therefore I introduced a new parameter for gjs, walltime.

The new parameter can be used like follows:
# gjs -numberofsplits 10 -clusterplatform openPBS -walltime 00:10:00 \
your.mac

The default walltime, if none is given, is set to 1 hour (01:00:00).

If the openPBS script contains the variable GC_WALLTIME it will get
replaced by the given value, otherwise nothing happens.

Kind regards,
Hannes

PS: I would further like to note that in the folder
Cluster_Tools/jobsplitter the files condor.script and
include/condor.script are identical and so are include/openPBS.script and
include/openPBS.script.example.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gjs_walltime.patch
Type: text/x-diff
Size: 6976 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20071129/03c5b9b9/attachment.patch>


More information about the Gate-users mailing list