On 6 December 2011 16:44, Reuti <re...@staff.uni-marburg.de> wrote:
> Am 06.12.2011 um 17:32 schrieb William Hay:
>
>> On 6 December 2011 16:03, Reuti <re...@staff.uni-marburg.de> wrote:
>>> Am 06.12.2011 um 17:01 schrieb William Hay:
>>>
>>>> On 6 December 2011 13:10, Reuti <re...@staff.uni-marburg.de> wrote:
>>>>> Am 06.12.2011 um 12:16 schrieb William Hay:
>>>>>
>>>>>> On 6 December 2011 09:48, Reuti <re...@staff.uni-marburg.de> wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> Am 06.12.2011 um 10:04 schrieb William Hay:
>>>>>>>
>>>>>>>> 128 > 2147483648
>>>>>>>>
>>>>>>>> A user has submitted a job requesting 128 slots:
>>>>>>>> qstat -j producing the following output:
>>>>>>>> parallel environment:  qlc-[1ABCDEFGHIJTWKLMNOPX] range: 128
>>>>>
>>>>> How are you submitting this? You can use wildcards, but not a regular 
>>>>> expression.
Not according to the qsub manpage which implies only a literal pe_name
ie wildcards are verbotten.

>>>> It is submitted as qlc 128.  The JSV then changes it to the above form
>>>> based on policy (in part because qsub appears to validate it as a pe
>>>> although the scheduler treats it as a wc_pe_name).  Square brackets
>>>> containg a list of alternate characters are allowed as part of the
>>>> pattern syntax and work for all our other jobs.
>>>
>>> Which version of SGE are you using?
>> 6.2u3
>
> Whoa, then I wonder whether this is an undocumented feature, as it's not 
> possible for me to enter such a PE name on the command line in 6.2u5.
I believe it is as I can't enter it at the qsub command line either.
I fix it up in the jsv.  I believe you can qalter the PE to include
square brackets though which works.   The man page says the -pe option
accepts a parallel_environment and the commentary implies that this is
a pe_name.  However while qsub enforces this (excluding square
brackets) the scheduler interprets it as a wc_pe_name
which permits them.  The ? and * characters are valid in either
pe_name and wc_pe_name but with different meanings (literal in the
first, metacharacters in the second).

However that isn't the problem.  The wildcard PE works for every other
job.  The oddity is that this job doesn't get a reservation when other
jobs with lower priority and less restrictive resource requirements
(and similar wildcard PEs) do and that qalter claims these PEs have
"only" 2 billion slots which is apparently not enough for a 128 slot
job.  While I suppose it is legal for use of an undocumented feature
to cause demons to fly out of my nose I doubt that is what is
happening here.

William

_______________________________________________
users mailing list
users@gridengine.org
https://gridengine.org/mailman/listinfo/users

Reply via email to