Am 12.07.2012 um 01:33 schrieb Brian Smith:

> One problem I'm seeing with this approach is that if I want to allow users to 
> select processors per node, the number of pes that will need to be defined is 
> quite large.

Yes, compared to Torque (where the user selects the allocation) it's defined in 
the PE definition in SGE.


> I was thinking that I could create a complex of type STRING, say "fabric" 
> where we have values "a" or "b" defined as a complex value for each host.  
> Then, have a STRING, say "switch", with some value "a", "b", ... etc.
> 
> This would allow us to select:
> 
> hard request: fabric=*
> sof
> t request: switch=*
> When you use a wildcard with a PE name, only ONE PE is selected for the job.  
> In the case of the wildcard selected string, would only a single string 
> instance be selected or would any matching string be picked?

Yes to the latter - any string will match and can be different for different 
selected exechosts. The behavior is only for selecting a PE in this way to 
select one and only one across the entire job. It could be an RFE to have an 
unique USTRING selection.


> If only a single instance per job, say
> 
> fabric=a
> switch=b
> 
> gets picked, then I could set
> 
> -hard -l fabric=* -soft -l switch=*
> 
> in the sge_request file to pull off the desired behavior, and keep only a 
> small set of PEs available.
> 
> -Brian
> 
> Brian Smith
> Sr. System Administrator
> Research Computing, University of South Florida
> 4202 E. Fowler Ave. SVC4010
> Office Phone: +1 813 974-1467
> Organization URL: http://rc.usf.edu
> 
> 
> On 07/11/2012 04:28 PM, Reuti wrote:
>> Am 11.07.2012 um 22:13 schrieb Brian Smith:
>> 
>>> Hi, all,
>>> 
>>> Is the following formatting permitted for the pe_list attribute in a queue 
>>> configuration:
>>> ...
>>> pe_list  [@hgrp1=pe_sw1],[@hgrp2=pe_sw2],[@hgrp3=pe_sw3],[@allHosts=pe_all]


I forgot: although being a valid syntax, here you will get state 
"c(onfiguration ambiguous)", as the same host gets its configuration from two 
different assignments.

Only:

>> pe_list  [@hgrp1=pe_sw1 pe_all],[@hgrp2=pe_sw2 pe_all],[@hgrp3=pe_sw3 pe_all]

should be used.

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

Reply via email to