[GE users] exclude a host in qsub

Erik Soyez E.Soyez at science-computing.de
Tue Dec 13 08:54:37 GMT 2005


Hi,

if you use a "submit script", do something like:
------------------------------------------------------------------------
	:
	:
queues=`qselect`
if [ x$xhosts != x ]; then
 for xhost in $xhosts
 do xqueue=`qselect -l hostname=$xhost`
    queues=`echo $queues | sed "s/$xqueue *//g"`
 done
fi
	:
	:
qsub -q $queues ....
	:
	:
------------------------------------------------------------------------

Erik.


On Mon, 12 Dec 2005, Joe Fu wrote:

> Hi
>
> Lsf has some nice features like you can exlude a host(s) to bsub so jobs
> won't go to the machines. Anyone has a good way to achieve the same in
> GE?
>
> Thanks
>
> -Joe

--



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