Ah, ok that explains it then.

We had modified sge_request at some point to set "-now n" to allow interactive 
jobs to queue. Now that we have a dedicated node for int jobs, it's not 
necessary.

I've removed sge_request entry and now the dedicated interactive node is 
working with qtype INTERACTIVE.

qlogin, qrsh and qsh jobs schedule successfully to interactive.q
qsub batch jobs remain in a qw status "Job 8724211 cannot run in queue instance 
"[email protected]" because it is not of type batch"

Reuti thanks for clarifying that :-)

-----Original Message-----
From: Reuti [mailto:[email protected]] 
Sent: Monday, September 17, 2012 2:31 PM
To: Mike Hanby
Cc: [email protected]
Subject: Re: [gridengine users] How do I restrict a node or queue to only 
running interactive jobs (qsh, qrsh, qlogin)?

Am 17.09.2012 um 20:28 schrieb Mike Hanby:

> As far as I can tell, 'qtype INTERACTIVE'  doesn't ever get used since qrsh, 
> qsh, qsub, qlogin are all treated as BATCH.

Not by default. For `qlogin`, `qsh` and `qrsh` (w or w/o command) the default 
should route them to a queue of type "INTERACTIVE", while `qsub` is only 
running in queues of type "BATCH".

But:

"INTERACTIVE" should be read "IMMEDIATE" and the behavior can be changed with 
the option "-now y/n" to `qsub` (please have a look at `man qsub` for this 
option).

Hence `qlogin -now n` will request a "BATCH" queue, while `qsub -now y ...` 
would demand an "INTERACTIVE" queue.

-- Reuti


> Is there a way to use resource quota sets or some other method to restrict an 
> exec host to interactive jobs and prevent non-interactive from scheduling 
> there?
> 
> Thanks, Mike
> 
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On 
> Behalf Of Mike Hanby
> Sent: Friday, September 14, 2012 9:33 PM
> To: [email protected]
> Subject: [gridengine users] How do I restrict a node or queue to only running 
> interactive jobs (qsh, qrsh, qlogin)?
> 
> GE 6.2u5
> 
> I have a node (exec host) that I want to be used for interactive jobs. I 
> don't want batch jobs on this node.
> 
> I've tried adding a new queue called interactive.q with "qtype INTERACTIVE", 
> but qlogin/qrsh jobs never start:
> 
> $ qlogin -q interactive.q
> 
> job 8458977 cannot run in queue instance "[email protected]" 
> because it is not of type batch
> 
> If I add BATCH to the qtype variable for the queue, the job will work.
> 
> How do I configure either a queue, or the exec host to only run interactive 
> jobs?
> 
> Thanks,
> 
> Mike
> _______________________________________________
> users mailing list
> [email protected]
> https://gridengine.org/mailman/listinfo/users
> 
> _______________________________________________
> users mailing list
> [email protected]
> https://gridengine.org/mailman/listinfo/users


_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to