[GE users] blocking serial (single cpu) jobs on a parallel queue

templedf dan.templeton at sun.com
Mon Mar 30 13:19:21 BST 2009

SGE defines a parallel job as a job submitted using a parallel 
environment.  Submitting with "-pe mpi 1" makes it a parallel job.  If, 
for example, the mpi PE has job_is_first_task set to false, it will 
still allocate a slot for a slave task, and the usual parallel job 
startup process will be followed.

It sounds like the JSV feature in 6.2u2 might be what you want.  Using a 
JSV, you could either reject jobs submitted with a PE that don't request 
enough slots or modify them.


ozgur wrote:
> Hello,
> I want to block serial jobs running on a parallel queue. I googled
> about this and I've found out a suggestion that setting qtype to
> (P)arallel would work. So set it to P and I verified it by typing
> qstat -f. Now qtype is P, which used to be BIP. Despite this, in the
> job script if I set to the number of processors requested to one
> #$ -pe mpi 1
> the job still starts running on the parallel queue. Any guidance is
> greatly appreciated.
> The version of my SGE is 6.0u8
> Thanks


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

More information about the gridengine-users mailing list