[GE users] regex in complexes

Olesen, Mark Mark.Olesen at arvinmeritor.com
Thu Sep 2 10:04:01 BST 2004

    [ The following text is in the "iso-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

Despite the explicit information from complex(5) that the only valid
operator for string type attributes is "==", I attempted to use the
following complex, in the vague hope that the documentation was too

#name               shortcut   type        relop requestable consumable
default  urgency
license             lic        RESTRING    !=    YES         NO         NONE

As expected, this failed miserably.

I would like to have the functionality of a "!=" operator.
Is there an obscure workaround to give me what I want?
What would it take to have the "!=" operator added for string operations?

My load sensor will report something like the following:


Then I could do something like 'qselect -l license=lic3' to find queues
where the license lic3 is *not* currently in use.

IMO, a very useful and flexible hack would be to disallow the '!' character
from complex names and use it to reverse the request logic,
	qselect -l arch=lx24-x86	# select linux architecture
	qselect -l arch!=lx24-x86	# select non-linux architecture(s) 


Dr. Mark Olesen
Thermofluid Dynamics Analyst
ArvinMeritor Light Vehicle Systems
Zeuna Staerker GmbH & Co. KG
Biberbachstr. 9
D-86154 Augsburg, GERMANY
tel: +49 (821) 4103 - 862
fax: +49 (821) 4103 - 7862
Mark.Olesen at ArvinMeritor.com

To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net

More information about the gridengine-users mailing list