Page History
- 2015-Jul-03 16:35 johnkn
- 2013-Sep-12 12:14 tannenba
- 2010-May-17 08:51 danb
- 2010-May-14 17:05 danb
How to reserve a slot or machine for special jobs
Suppose you have a type of job known as a "Pickle" job and you want to dedicate a specific slot or machine to running this type of job. In the configuration file of the machine:
#Advertise that this machine is for "Pickle" jobs IsPickleSlot = True STARTD_EXPRS = $(STARTD_EXPRS) IsPickleSlot # this machine only runs "Pickle" jobs START = ($(START)) && (MY.IsPickleSlot =!= True || TARGET.IsPickleJob)
In the job submit file:
+IsPickleJob = true requirements = TARGET.IsPickleSlot
If you only want specific slots on the machine to be for Pickle jobs, you can adjust the setting of IsPickleSlot
on a per-slot basis. Example:
SLOT1_IsPickleSlot = True SLOT2_IsPickleSlot = False