[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Maximum length of the requirements expression



Hi Greg,

Thank you for a quick reply.
Your advice is very useful for me.
In this case, I would like to use the trick(=regexp).

Thanks,
Kohei


----- Original Message ----- From: "Greg Thain" <gthain@xxxxxxxxxxx>
To: "Condor-Users Mail List" <condor-users@xxxxxxxxxxx>
Sent: Thursday, August 17, 2006 11:28 PM
Subject: Re: [Condor-users] Maximum length of the requirements expression


Steffen Grunewald wrote:

It indeed would be very helpful if there was a "regular expression match"
like machine ~= "machine\d*[1237-9]" ... is there a wishlist somewhere?

Condor 6.8 does have regexp support in classads, so if you can construct
 a concise regexp to match machines, this can also solve this problem.

something like

requirements = regexp("machine\d[1-9]", Machine) && opsys == "LINUX"

might do the trick.

-Greg
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at either
https://lists.cs.wisc.edu/archive/condor-users/
http://www.opencondor.org/spaces/viewmailarchive.action?key=CONDOR