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

Re: [HTCondor-users] RequestMemory on submit file fails



> On Feb 23, 2015, at 12:19 PM, Francisco Leite de Castro <frankie.lc@xxxxxxxxx> wrote:
> 
> Hi Guys,
> 
> Sorry to trouble but there's something that I've tried to solve but after extensive search have been unable to.
> 
> If I have the following line in my submit file:
> 
> request_memory = ifthenelse( isUndefined(RequestMemory), 2000,  4000 )

Hi Francisco,

Iâm not sure I understand the intent above.  request_memory is translated to RequestMemory.  Hence, the expression becomes:

RequestMemory = ifThenElse( isUndefined(RequestMemory), 2000, 4000 )

I.e., thereâs a self-reference here (fwiw - Iâve seen a few tickets over the last year resolving nasties with self-references.  You may have hit one!).  How do you intend this to evaluate?

Brian