[GE users] No job scripts - Job submission from cmd line only

reuti reuti at staff.uni-marburg.de
Mon Sep 14 10:55:53 BST 2009


Hi,

Am 14.09.2009 um 07:48 schrieb sangamesh:

> Dear SGE users,
>
>      Is it possible to submit serial and parallel jobs to SGE from  
> command line only, instead of using a script?
>
> For eg:
> qsub  -N Prl_Job -cwd -pe mvapi 16 mpirun -machinefile $TMPDIR/ 
> machines -np $NSLOTS sander.MPI

in principle: yes. But you will need to submit it with "-b y" and  
proper quoting, as $TMPDIR isn't known at submission time:

$ qsub -b y -N Prl_Job -cwd -pe mvapi 16 mpirun -machinefile '$TMPDIR/ 
machines' -np '$NSLOTS' sander.MPI

-- Reuti

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

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



More information about the gridengine-users mailing list