[GE issues] [Issue 2902] New - job name is set incorrectly if first command is "."

templedf dan.templeton at sun.com
Tue Feb 3 18:30:20 GMT 2009


http://gridengine.sunsource.net/issues/show_bug.cgi?id=2902
                 Issue #|2902
                 Summary|job name is set incorrectly if first command is "."
               Component|gridengine
                 Version|6.2u1
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P5
            Subcomponent|clients
             Assigned to|roland
             Reported by|templedf






------- Additional comments from templedf at sunsource.net Tue Feb  3 10:30:20 -0800 2009 -------
If I run the following job:

# qsub -b y -S /bin/sh '. /usr/local/sge_maintrunk/default/common/settings.sh;
qstat -f'
Your job 1535 ("settings.sh; qstat -f") has been submitted

you can see that the job name is picked up as "settings.sh; qstat -f", which is
pretty useless.  A job named "." is also useless, so we'll have to figure out
what a better solution would be.

This issue is filed as a P5 because the use case that exposes the issue is a
misuse of qsub -b y.  More appropriate approaches include:

qsub -b y /bin/sh '. /usr/local/sge_maintrunk/default/common/settings.sh; qstat -f'

or

echo '. /usr/local/sge_maintrunk/default/common/settings.sh; qstat -f' | qsub -b
y -S /bin/sh

or

qrsh -S /bin/sh '. /usr/local/sge_maintrunk/default/common/settings.sh; qstat -f'

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=36&dsMessageId=101734

To unsubscribe from this discussion, e-mail: [issues-unsubscribe at gridengine.sunsource.net].



More information about the gridengine-users mailing list