[GE users] Select multiple CPUs without PE ?

John Tseng jtseng at montalvosystems.com
Mon Aug 28 18:36:57 BST 2006


    [ 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. ]

If the four jobs are unrelated to each other, then you could use a job array.

qsub -t 1:4  myscript

and myscript can look at $TASK_ID to see which number it is.

If you need all four jobs to start at the same time, then you probably need a PE environment

-john

On Monday 28 August 2006 10:21, Reuti wrote:
> Hi,
> 
> Am 28.08.2006 um 16:17 schrieb Barry McInnes:
> 
> > Hi,
> > We are moving from PBS on Suns with 8 cpus, which has an option  
> > "ncpus"
> > so users can allocate n cpus for multiple single cpu runs within a
> > single job within any queue. So in one script they select 4 cpus, then
> > run 4 single CPU processes (non MPI).
> 
> so these are 4 serial tasks in one job-script - right? How are they  
> started under PBS - by putting them in the background with bash's &  
> and all is running on one node only?
> 
> -- Reuti
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail: users-help at gridengine.sunsource.net
> 
> 

---------------------------------------------------------------------
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