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.
QUEUE_CONDITION = (JobCategory == "medium") || (JobCategory == "long")if $(QUEUE_CONDITION)
EVALMACRO QUEUE_CONDITION (JobCategory == "medium") || (JobCategory == "long")if $(QUEUE_CONDITION)
JT
_______________________________________________ HTCondor-users mailing list To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a subject: Unsubscribe The archives can be found at: https://www-auth.cs.wisc.edu/lists/htcondor-users/
-- Todd Tannenbaum <tannenba@xxxxxxxxxxx> University of Wisconsin-Madison Center for High Throughput Computing Department of Computer Sciences Calendar: https://tinyurl.com/yd55mtgd 1210 W. Dayton St. Rm #4257 Phone: (608) 263-7132 Madison, WI 53706-1685