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

Re: [Condor-users] Underscore or no underscore, that's...



On 10/29/2012 08:10 AM, Steffen Grunewald wrote:
In the 7.8 manual, in the 3.12.8.10 subsubsection, it is said as follows:

"
...there are three variables in the configuration file that condor_submit will use to fill in default values. These are

     JOB_DEFAULT_REQUESTMEMORY
     JOB_DEFAULT_REQUESTDISK
     JOB_DEFAULT_REQUESTCPUS

The value of these variables can be ClassAd expressions. The default values for these variables, should they not be set are

     JOB_DEFAULT_REQUEST_MEMORY = ifThenElse(MemoryUsage =!= UNDEFINED, MemoryUsage, 1)
     JOB_DEFAULT_REQUEST_CPUS = 1
     JOB_DEFAULT_REQUEST_DISK = DiskUsage

Note that these default values are chosen such that jobs matched to partitionable slots function similar to static slots.
"

There's obviously a difference in the names for those three variables -
are the interchangeable, or is there a typo in the documentation (and if
the latter, what's the correct spelling)?

S

The code says no underscore.

    JOB_DEFAULT_REQUESTMEMORY
    JOB_DEFAULT_REQUESTDISK
    JOB_DEFAULT_REQUESTCPUS

 are correct.

https://github.com/condor-project/condor/blob/master/src/condor_utils/param_info.in#L10572

(fyi, the link will likely break in the next day or so w/ renaming to htcondor)

Best,


matt