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

[HTCondor-users] Controlling Jobs - Disabling/preventing a job from being suspended



Hi,

The nodes are setup to suspend jobs based on various conditions.
I'm wondering is it possible to pass an argument or setting in condor submit file that disables SUSPEND mode?

I have a job that eats up a lot of RAM and cannot be checkpointed, so I want to make sure that it finishes running no matter.

I also do not want to modify the node's suspend settings unless it's to add a conditional statement that I can then manipulate from the condor submit file. (don't know if that's possible)

I tried setting the universe from vanilla to java, I don't really know the difference except I read that java universe cannot be suspended.

Please recommend the best way to submit certain jobs that cannot be suspended and preferably not killed/evicted.

START = ifThenElse($(DESKTOP),((((KeyboardIdle > $(StartIdleTime)) && ((SlotID <= $(SLOTS_CONNECTED_TO_CONSOLE)) && (SlotID <= $(SLOTS_CONNECTED_TO_CONSOLE)))) && ($(CPUIdle) || (State != "Unclaimed" && State != "Owner"))) || ((SlotID > $(SLOTS_CONNECTED_TO_CONSOLE)) && (SlotID > $(SLOTS_CONNECTED_TO_CONSOLE)))),TRUE)
WANT_SUSPEND = TRUE
WANT_VACATE  = ($(ActivationTimer) > 10 * $(MINUTE))
SUSPEND = ifThenElse($(DESKTOP),(($(KeyboardBusy) || $(ConsoleBusy)) && ((SlotID <= $(SLOTS_CONNECTED_TO_CONSOLE)) || (SlotID <= $(SLOTS_CONNECTED_TO_CONSOLE))) || ((CpuBusyTime > 2 * $(MINUTE)) && $(ActivationTimer) > 90)),FALSE)
CONTINUE = ($(CPUIdle) && ($(ActivityTimer) > 10) && (KeyboardIdle > $(ContinueIdleTime)))
PREEMPT = ifThenElse($(DESKTOP),((Activity == "Suspended" && ($(ActivityTimer) > $(MaxSuspendTime))) || $(SUSPEND)),FALSE)
KILL = ifThenElse($(DESKTOP),($(ActivityTimer) > $(MaxVacateTime)),FALSE)

Thanks

--
Andrey Kuznetsov <akuznet1@xxxxxxxx>