Bug 133 - When using a submit filter the -W arguments isn't all there
: When using a submit filter the -W arguments isn't all there
Product: TORQUE
: 3.0.x
: PC Linux
: P5 normal
Assigned To: Al Taufer
  Show dependency treegraph
Reported: 2011-05-26 11:49 MDT by andy wettstein
Modified: 2011-08-11 14:20 MDT (History)
2 users (show)

See Also:



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

Description andy wettstein 2011-05-26 11:49:40 MDT
I am trying to create a submit filter to check for any -W arguments, but qsub
doesn't seem to be sending the entire command line arguments.

I just made this simple submit filter to test:


echo "$@" >> /tmp/$USER.sh.args

while read i; do
    echo $i

I tried these submissions:
qsub -l nodes=1 -W group_list=Physics -I
qsub -l nodes=1 -W group_list=Physics hello.submit
qsub -W umask=002 hello.submit

I got this output from my submit filter file for the command line arguments:

-l nodes=1 -W group_list -I
-l nodes=1 -W group_list hello.submit
-W umask hello.submit

It seems anything after '=' is truncated for -W arguments.
Comment 1 Al Taufer 2011-08-11 14:20:36 MDT
Fixes have been checked into the 2.5, 3.0  and trunk branches.