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

Re: [Condor-users] 7.8.3: "rejected by your job requirements" again



If request_memory = 0, or if it is any constant. then your job will match based
on the requested memory rather than on your actual memory usage.

If you ask for 1k and use 2Gb, then your job can match 1k slots. Whether the slot will actually run your job or kick it off if it exceeds 1k memory usage depends on the slot's START and PREEMPT expressions. The current defaults for START
and PREEMPT will let your job run to completion even if you use more memory
than requested.

If you don't specify request_memory in your submit file, then a default value is supplied

request_memory = ifthenelse(MemoryUsage =!= undefined,MemoryUsage,( ImageSize + 1023 ) / 1024)

This is a bit complicated, but in effect this is a request for memory that is based on the size of your executable before your job runs the first time, and how much
memory your job used in the previous run after it has run at least once.

So the answer to your question is "It depends". Whether or not you can set
request_memory = 0 and have your jobs run depends in part on how the pool
is configured. Condor is capable if being configured that way, and right now
it is configured that way by default.