We would like to default Condor submissions to machines in the same group by default but allow the user to override the setting in their job file if desired.
It seems like Job Transforms are the way to do that, and I am trying to Monkey See, Monkey Do the example in https://agenda.hep.wisc.edu/event/1325/contributions/5428/attachments/1398/1560/TJs_Schedd_Transforms_Condor_Week_2019.pptx
If I understand the presentation correctly, I should have:
START = TRUE
SUSPEND = FALSE
PREEMPT = FALSE
KILL = FALSE
DAEMON_LIST = MASTER, STARTD, SCHEDD
SUBMIT_REQUIREMENT_NAMES = $(SUBMIT_REQUIREMENT_NAMES) CheckExp
SUBMIT_REQUIREMENT_CheckExp = \
JobUniverse == 7 || Experiment isnt undefined
SUBMIT_REQUIREMENT_CheckExp_REASON = \
"submissions must have +Experiment"
JOB_TRANSFORM_NAMES = $(JOB_TRANSFORM_NAMES) SetExp
Requirements = JobUniverse != 7 && Experiment is undefined
set_Experiment = "CHTC";
in a file (/etc/condor/config.d/20_host.conf in our case).