Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] problems with submission to Scheduler universe
- Date: Mon, 3 Jun 2024 20:39:17 +0200
- From: Stefano Belforte <stefano.belforte@xxxxxxx>
- Subject: Re: [HTCondor-users] problems with submission to Scheduler universe
thank ToddM
requirements = TARGET.Cpus == 1
worked like a charm :-)
not very elegant, but surely simple.
In the end ... it is just another way to achieve what we were doing
previously with the similarly non-elegant and awfully cryptic
requirements = (true || false)
when using that as a classAd in the old syntax schedd.submit(ads,..)
the job requirement prepared by the binding was w/o the () :
requirements = true || false && TARGET.this==that && ...
so everything but the first "true" was dummyfied.
that was written 10+ years ago in the infancy of python bindings
let's not blame the original implementer (Brian, btw)
It took me all those years make sense of "true || false" !
Stefano