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

Re: [Condor-users] condor requirement



Daniel & Ian,
Thank you so much.

After changing != to =!=, it is working fine now.

Thanks,
Senthil

-----Original Message-----
From: Daniel Forrest [mailto:forrest@xxxxxxxxxxxxx]
Sent: Tuesday, January 15, 2008 4:45 PM
To: Condor-Users Mail List
Cc: Natarajan, Senthil
Subject: Re: [Condor-users] condor requirement

> I tried like this, adding in condor_config
>
> OPSYS_FLAVOUR ="RH9"
> STARTD_EXPRS = COLLECTOR_HOST_STRING, OPSYS_FLAVOUR
>
> And restarted condor.
>
> I have requirement like this in job description
> requirements   = (Arch=="INTEL" && (OpSys == "LINUX" || OpSys == "WINNT60" || OpSys == "WINNT51")) &&  OPSYS_FLAVOUR != "RH9"

If you are only defining OPSYS_FLAVOUR on the RH9 systems, then you
need to use this:

... && OPSYS_FLAVOUR =!= "RH9"

Note the "=!=".

Otherwise the expression is UNDEFINED and will not match other machines.

--
Daniel K. Forrest       Laboratory for Molecular and
forrest@xxxxxxxxxxxxx   Computational Genomics
(608) 262 - 9479        University of Wisconsin, Madison