문제

When specifying your destination queues for a Sun Grid Engine job submission, is it possible to negate multiple destinations?

Typically I will have something like:

#$ -q *@!chrom*

Which will run on every host/queue which doesn't match the pattern "chrom*". What if I wanted to run on every machine except for "chrom*" and "reef", for example? All the documentation I can find suggests that SGE should support this (they support ORs and multiple patterns), however all my attempts thus-far have met with failure.

Some things I've tried:

*@(!chrom*|!oryza*)
*@!chrom,*@!oryza*

(and so on).

Is there something simple I'm overlooking here? The best documentation I've found of their pattern matching is here, under "Matching Types": http://linux.die.net/man/1/sge_types

도움이 되었습니까?

해결책

Something like the following should work: *@!(chrom|orzya|reef)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top