[GE users] -N option

Reuti reuti at staff.uni-marburg.de
Tue Nov 9 23:13:52 GMT 2004


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

> In version 5.3, users were able to submit jobs without a -N option and the
> grid picked up the command name and placed it in the name field by default
> without any issue.
> 
> In version 6, the same commands are failing because the user was also
> passing parameters to the command on the command line separated by a space
> and the new version is complaining that the object name cannot contain any
> spaces.

You mean a command like:

qsub -N "myjob para1 para2" myscript.sh

With classic spooling it still seems working, maybe it's related to Berkeley DB 
spooling.

But anyway, isn't it possible to submit the job in the form:

qsub -N "myjob" myscript.sh para1 para2

Another solution maybe to use a "_" and translate it back during the script:

qsub -N "myjob_para1_para2" myscript.sh

and in the script:

myname=`echo $JOB_NAME | tr "_" " "`
echo $myname

Cheers - Reuti

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list