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

[HTCondor-users] Define requirement to run in a group of machines



Hello, we have a linux cluster with names node01.domain.com, node02.domain.com, etc. HTCondor is correctly configured and I can successfully run jobs in them.

But, as we also have other computers which can run jobs, I would like to write in the submit file a requirement that says: "only run in computers of the cluster".Â
How can we do this? Something like: requirements = (Machine == "node*.domain.com").


I found a very old topic (link at the end) which suggests doing the following in the condor_config of the manager:
clusternodes = Machine == "node01.domain.com" || Machine == "node02.domain.com" || ....
submit_exprs = clusternodes

And then, in the submit file:
requirements = clusternodesÂ
(this would transform into the machine=nodeXX)

However, this doesn't work (I get no match for running the job).Â

Thank you!

PS :This is the topic: https://lists.cs.wisc.edu/archive/htcondor-users/pre-2004-June/msg00123.shtml

Fernando.