# Advertise the CPU group of this machine. CPU_Type = "global-quota" # Advertise the CPU group of this machine. CPU_Speed = 3 DAEMON_LIST = MASTER, STARTD SLOT_TYPE_1 = 100% NUM_SLOTS = 1 NUM_SLOTS_TYPE_1 = 1 SLOT_TYPE_1_PARTITIONABLE = True SlotWeight = Cpus # Add to force periodic renegotiation -- short jobs keep their slots for longer CLAIM_WORKLIFE = (2 * $(HOUR)) ANALYSIS_OVER_MEMORY = ($(IS_ANALYSIS) && (ImageSize > 6000000)) # 2 Hour if under memory limit, right away if over TIME_LIMIT = ( ($(TIME_LIMIT)) + \ ((2*3600) * $(LOCAL_JOB) * $(IS_GRID) * (ImageSize < $(GRID_MEMORY_LIMIT))) \ ) * ($(ANALYSIS_OVER_MEMORY) =!= True) # If > 1 day or > memory limit, get out PREEMPT = ($(PREEMPT)) || \ ($(ANALYSIS_OVER_MEMORY)) || \ ($(IS_GRID) && ((ImageSize >= $(GRID_MEMORY_LIMIT)) || ($(ActivityTimer) > (24*3600)))) RANK = 0 START = ( ( ( $(LOCAL_JOB) && regexp("group_(atlas|grid)\..*", TARGET.AccountingGroup) ) || \ $(GEN_QUEUE) ) && \ $(BLOCKED_USERS) && $(Turn_Off) == False \ )