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

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



Nomura Kohei wrote:
Hi Condor-Team,

When I submitted the job with very long requirements expression,
an error occurred. It is segmentation fault of condor_submit.exe.
I'm using v6.8.0 with WindowsXP.
Is This a bug?

There is currently a 2048 byte limit on the length of a requirement string in the submit file.

You may be able to work around this limitation if you can change your startd configuration. Instead of saying

requirements = machine == "machine1" || machine == "machine2" ...

for some large set of machines, can you change the startds to export an attribute (via STARTD_EXPRS) like

HasSomeFeature=true

and change the requirements to be

requirements = HasSomeFeature =?= true

-Greg