Bugzilla – Bug 197
qsub command line arguments overridden by script
Last modified: 2012-07-11 14:26:15 MDT
You need to
before you can comment on or make changes to this bug.
When I submit a job with Torque 4.0.2 that has the number of nodes, and/or the
walltime specified in the script, these values are over ridding the values I am
using on the command line. I believe the command line has always overridden the
script values, not the other way around.
E.g. using the script below (1 node for 1 minute):
#PBS -l nodes=1
#PBS -l walltime=00:01:00
pbsdsh -u ./ping.sh
but submitting it with:
qsub -l nodes=2,walltime=00:05:00 ping.batch
results in the following in the qstat -f <jobid>
Resource_List.nodect = 1
Resource_List.nodes = 1
Resource_List.walltime = 00:01:00
If I comment the lines out, the command line values work correctly.
This has been fixed in TORQUE 4.0.3 and 4.1.0