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. The following example is one way to achieve this. Since this example adds to the existing START expression, be sure to insert it after START is first defined or merge the two definitions together. Place the following in the configuration file of the special machine:

Starting with HTCondor 8.3.8, attributes can also be advertised per-slot type, so this example could be simplified even further on 8.3.8 by replacing the last 3 statements in the above config block to this:

This work supported in part by NSF grants MCS-8105904, OCI-0437810, OCI-0850745, and/or ACI-1321762. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation. Site built using CVSTrac.