[torqueusers] Bash variables on #PBS lines

Glen Beane glen.beane at gmail.com
Wed Aug 17 19:43:21 MDT 2011


On Wed, Aug 17, 2011 at 1:44 PM, Denver Smith <denver.smith at usu.edu> wrote:

>  Is there any way to get this to work in my job submission script:
>
>  #PBS -l walltime=$WALLTIME
>
>
youo would need to pass it on the command line.  qsub -l walltime=$WALLTIME


it would be possible to enhance torque to expand variables in PBS directives
(if wordexp is implemented on your system torque can expand variables in
some parameters like #PBS -o. In that case the string is passed as is and is
expanded on the mom). In this case it would need to be done by qsub when it
parses the script.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20110817/32fe3aec/attachment.html 


More information about the torqueusers mailing list