Some example submit file syntax all would go before the "queue" command.
Force a job to run on a single node:
requirements = (Machine == "isye-boyle2.isye.gatech.edu")
Allow each queued process to run on any one of a specified set of multiple nodes:
requirements = (Machine == "boyle1.isye.gatech.edu" || Machine == "boyle2.isye.gatech.edu" || Machine == "boyle3.isye.gatech.edu")
Thus far the only method we've gotten to work is the use of a separate full test statement for each desired machine. We've seen no examples using wildcard or syntax shortcuts, and the obvious guesses fail.
Also, if all specified nodes are unavailable, the job will remain idle with LastRejMatchReason = "no match found"
To disallow specific nodes, simply replace the operator:
requirements = (Machine != "goddard1.isye.gatech.edu" || Machine != "goddard2.isye.gatech.edu")
This can be useful if you find that software is misconfigured on a given set of nodes, etc. We try to avoid this but it does occasionally happen.Some example submit file syntax all would go before the "queue" command.
A full Condor submit file which forces a job to run on a single node:
requirements = (Machine == "isye-gpu1001.isye.gatech.edu") universe = vanilla getenv = true executable = lp.py arguments = test0.lp Log = test.log output = test.out error = test.error notification = error notification = complete request_memory = 1024 request_cpus = 1 queue
Please note: requirement option is not required in the command file, if option is not used condor will assign compute nodes