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

Re: [Condor-users] New to Condor

Try adding custom attributes to the machine's ClassAd. For example, in node3's condor_config file, add these lines:


In your job's submit file, add NODE3 to the "Requirements=" line. Condor should automatically try scheduling that job on the only machine with the NODE3 attribute.

There is no need to setup special ClassAds for this, just use
REQUIREMENTS = ... && Machine == node3.x.y.z

REQUIREMENTS = ... && Name == node3.x.y.z

Right. However, depending on how complicated your setup is, you may want to refer to the specific resource that lies on node3 rather than "node3" itself (in case you move that special resource to another machine, or setup another machine with another instance of that special resource). If you decide to go with a resource-oriented requirements specification, you would probably not name your resource "NODE3" (as I previously suggested), but something that accurately refers to your resource (i.e. "HAS_MATLAB", "HAS_PROJ1_FPGA1", etc).

 - Armen

Armen Babikyan
MIT Lincoln Laboratory
armenb@xxxxxxxxxx . 781-981-1796