Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] START = (JobUniverse == docker)
- Date: Mon, 9 Dec 2019 21:54:27 +0000
- From: John M Knoeller <johnkn@xxxxxxxxxxx>
- Subject: Re: [HTCondor-users] START = (JobUniverse == docker)
Yes, just checking for WantDocker is sufficient.
START = WantDocker
I should remind people that it is almost always a mistake to compare an attribute to a Boolean using =?= in a start or requirements expression.
Undefined behaves the same as false for matchmaking and =?= will NOT evaluate to true if WantDocker is an integer rather than a Boolean,
because =?= is the *exactly equal* test.
-tj
-----Original Message-----
From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> On Behalf Of Dimitri Maziuk via HTCondor-users
Sent: Monday, December 9, 2019 3:36 PM
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Cc: Dimitri Maziuk <dmaziuk@xxxxxxxxxxxxx>
Subject: Re: [HTCondor-users] START = (JobUniverse == docker)
On 12/9/19 3:27 PM, Todd Tannenbaum wrote:
> I do not think the above is fully correct, as Docker jobs are actually a
> subset of vanilla universe....
>
> I recommend the following in condor_config:
>
> START = (JobUniverse == 5) && (WantDocker =?= True)
TFM says 5 is for both vanilla and docker, so I did wonder. Would
"(WantDocker =?= True)" be sufficient though?
--
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu