Bug 197 - qsub command line arguments overridden by script
: qsub command line arguments overridden by script
Product: TORQUE
: 4.0.*
: PC Linux
: P5 major
Assigned To: David Beer
  Show dependency treegraph
Reported: 2012-06-24 22:35 MDT by Craig West
Modified: 2012-07-11 14:26 MDT (History)
2 users (show)

See Also:



You need to log in before you can comment on or make changes to this bug.

Description Craig West 2012-06-24 22:35:48 MDT

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.

Comment 1 David Beer 2012-07-11 14:26:15 MDT
This has been fixed in TORQUE 4.0.3 and 4.1.0