My rule (itâs under construction, hence all the duplication - Iâm
trying to figure out what is going on):
if !$(IsClusterAd)
EVALMACRO CLCoreEquiv max({
MY.RequestCpus, int(1 + MY.RequestMemory / 4097) })
EVALSET CLUserStr join(":", Owner,
$(CLCoreEquiv))
QUEUE_CONDITION = (JobCategory ==
"medium") || (JobCategory == "long")
if $(QUEUE_CONDITION)
[ â ]
Whereupon the âniceâ debugging tool says:
Invalid rules file clim.rule :
$(QUEUE_CONDITION) is not a valid if condition because complex
conditionals are not supported
When I change that the âif $EVAL(QUEUE_CONDITION)â,
Invalid rules file clim.rule :
$EVAL(QUEUE_CONDITION) is not a valid if condition because
_expression_ is not a conditional
Help appreciated.