Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Say we have a few RedHat8 nodes and we only want jobs to run on those nodes that requiest request RedHat8 with

requirements = (OpSysAndVer == "RedHat8")

I knokw know I could set up a partition like we have done with VLASS but since HTCondor already has an OS knob, can I use that?

Setting RedHat8 in the job requirements guarentees guarantees the job will run on a RedHat8 node, but how do I make that node not run jobs that don't specify the OS they want?

...

Then I thought I needed to specify jobs where OpSysAndVer is not Undefined but that didn't work either.  Either of the following do prevent jobs that dont don't specify an OS from running on the node but they also prevent jobs that DO specify an OS via either OpSysAndVer or OpSysMajorVer respectivlyrespectively.

START = ($(START)) && (TARGET.OpSysAndVer isnt UNDEFINED)

START = ($(START)) && (TARGET.OpSysMajorVer isnt UNDEFINED)

...