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

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