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

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



On Thu, Aug 17, 2006 at 09:28:06AM -0500, Greg Thain wrote:
> 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.

This is great! I must have missed it completely (tracking all the Release notes
is a nioce job if you've got nothing else to do b)

Steffen 

-- 
Steffen Grunewald * MPI Grav.Phys.(AEI) * Am Mühlenberg 1, D-14476 Potsdam
Cluster Admin * http://pandora.aei.mpg.de/merlin/ * http://www.aei.mpg.de/
* e-mail: steffen.grunewald(*)aei.mpg.de * +49-331-567-{fon:7233,fax:7298}
No Word/PPT mails - http://www.gnu.org/philosophy/no-word-attachments.html