Am 20.05.2014 um 22:25 schrieb Michael Stauffer:

> On Tue, May 20, 2014 at 4:20 PM, Reuti <[email protected]> wrote:
> Hi,
> 
> Am 20.05.2014 um 21:42 schrieb Michael Stauffer:
> 
>> Version OGS/GE 2011.11p1 (Rocks 6.1)
>> 
> 
>> I've got a situation where a user's qsub jobs are being run in 
>> interactive-only queues,
> 
> an attached PE makes a queue also a BATCH queue for jobs requesting this PE. 
> There is no parallel-interactive-only setting.
> 
> Maybe a JSV could route a parallel batch job to dedicated queues only.
> 
> -- Reuti
> 
> Thanks. So if I have a separate PE that's used for qlogin's only and assigned 
> that one only to the qlogin queues and the original PE only to the batch 
> queue, it should be ok?

Yes, but could be abused by users - or even interchanged by accident.

-- Reuti


> Seems easier than using JSV's (haven't tried one yet).
> 
> -M
>  
> 
> 
>> as well a the expected batch-only queue. Here's his command, and below that 
>> are some specs of my setup. Anyone have any idea how this might happen or 
>> what I'm missing? I saw this happen yesterday for a job by another user, but 
>> otherwse qsub jobs seems to be properly going to only all.q. Thanks.
>> 
>> -M
>> 
>> qsub -v ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS=${slots},ANTSPATH=${ANTSPATH} 
>> -pe unihost $slots -S /bin/bash -cwd -o ${outputTP_Dir}/${subj}_${tp}.stdout 
>> -e ${outputTP_Dir}/${subj}_${tp}.stderr ${ANTSPATH}antsCorticalThickness.sh 
>> -d 3 -a $t1 -e ${templateDir}/template.nii.gz -m 
>> ${templateDir}/masks/templateBrainMaskProbability.nii.gz -f 
>> ${templateDir}/masks/templateBrainExtractionRegistrationMask.nii.gz -p 
>> ${templateDir}/priors/prior%02d.nii.gz -t 
>> ${templateDir}/templateBrain.nii.gz -o ${outputTP_Dir}/${subj}_${tp}_
>> 
>> [root@chead ~]# qstat -u pcook
>>   35282 0.60500 antsCortic pcook        r     05/20/2014 09:56:42 
>> [email protected]            2        
>>   35283 0.60500 antsCortic pcook        r     05/20/2014 09:57:27 
>> [email protected]            2        
>>   35284 0.60500 antsCortic pcook        r     05/20/2014 10:19:36 
>> [email protected]         2        
>>   35285 0.60500 antsCortic pcook        r     05/20/2014 10:19:50 
>> [email protected]            2        
>>   35286 0.60500 antsCortic pcook        r     05/20/2014 10:43:01 
>> [email protected]     2        
>>   35287 0.60500 antsCortic pcook        r     05/20/2014 10:51:37 
>> [email protected]            2        
>>   35960 0.60500 antsCortic pcook        r     05/20/2014 11:28:11 
>> [email protected]         2        
>>   35961 0.60500 antsCortic pcook        r     05/20/2014 11:28:12 
>> [email protected]        2        
>>   35962 0.60500 antsCortic pcook        r     05/20/2014 11:28:12 
>> [email protected]           2        
>>   35963 0.60500 antsCortic pcook        r     05/20/2014 12:31:56 
>> [email protected]            2        
>>   35964 0.60500 antsCortic pcook        r     05/20/2014 12:34:17 
>> [email protected]            2        
>>   35965 0.60500 antsCortic pcook        r     05/20/2014 12:53:47 
>> [email protected]           2        
>>   35966 0.60500 antsCortic pcook        r     05/20/2014 12:54:45 
>> [email protected]           2        
>>   35967 0.60500 antsCortic pcook        r     05/20/2014 13:04:26 
>> [email protected]     2        
>>   35968 0.60500 antsCortic pcook        r     05/20/2014 13:05:13 
>> [email protected]           2        
>>   35969 0.60500 antsCortic pcook        r     05/20/2014 13:10:23 
>> [email protected]           2        
>>   35970 0.60500 antsCortic pcook        r     05/20/2014 13:19:27 
>> [email protected]            2        
>>   35971 0.60500 antsCortic pcook        r     05/20/2014 13:20:57 
>> [email protected]     2        
>>   35972 0.60500 antsCortic pcook        r     05/20/2014 13:28:03 
>> [email protected]           2        
>>   35973 0.60500 antsCortic pcook        r     05/20/2014 13:32:47 
>> [email protected]            2        
>>   35974 0.60500 antsCortic pcook        r     05/20/2014 13:35:31 
>> [email protected]           2        
>>   35975 0.60500 antsCortic pcook        r     05/20/2014 14:21:19 
>> [email protected]           2  
>> 
>> [root@chead ~]# qconf -sql
>> all.q
>> qlogin.long.q
>> qlogin.q
>> 
>> [root@chead ~]# qconf -sq all.q | grep -e type -e pe_list
>> qtype                 BATCH
>> pe_list               make mpich mpi orte unihost serial
>> 
>> [root@chead ~]# qconf -sq qlogin.q | grep -e type -e pe_list
>> qtype                 INTERACTIVE
>> pe_list               make unihost serial
>> 
>> [root@chead ~]# qconf -sq qlogin.long.q | grep -e type -e pe_list
>> qtype                 INTERACTIVE
>> pe_list               make unihost serial
>> 
>> [root@chead ~]# qconf -srqs
>> {
>>    name         limit_user_interactive_slots
>>    description  Limit the users' interactive slots based
>>    enabled      TRUE
>>    limit        users {*} queues {qlogin.q,qlogin.long.q} to slots=6
>> }
>> {
>>    name         limit_user_slots
>>    description  Limit the users' batch slots
>>    enabled      TRUE
>>    limit        users {*} queues {all.q} to slots=32
>> }
>> 
>> [root@chead ~]# qconf -sp unihost
>> pe_name            unihost
>> slots              9999
>> user_lists         NONE
>> xuser_lists        NONE
>> start_proc_args    /bin/true
>> stop_proc_args     /bin/true
>> allocation_rule    $pe_slots
>> control_slaves     FALSE
>> job_is_first_task  TRUE
>> urgency_slots      min
>> accounting_summary FALSE
>> 
>> _______________________________________________
>> 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