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

Re: [Condor-users] Configure server to only run if specific requirement exists in submit file?



On Tuesday, 22 November, 2011 at 6:39 AM, Rob Stevenson wrote:
Hi all,
Do you know whether it's possible to configure a server to only accept jobs if they have certain requirements (or other ClassAds) in their submit file?
Sure.

START = …the rest of your START _expression_… && (TARGET.HasSpecialAttribute == True)

And now if you want a job to run on that machine you need to add to the submission file:

+HasSpecialAttribute = True

For it to be considered by that machine.

Regards,
- Ian

---
Ian Chesal

Cycle Computing, LLC
Leader in Open Compute Solutions for Clouds, Servers, and Desktops
Enterprise Condor Support and Management Tools

http://www.cyclecomputing.com
http://www.cyclecloud.com
http://twitter.com/cyclecomputing