[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?



Couldn't you just add a custom requirement in your submit file

for example:

Requirements = (Opsys == "WINNT51" && ARCH == "INTEL") && PERL_VERSION = 5.10.1

And then on your machine add the following in the local config file

PERL_VERSION = 5.10.1
STARTD_ATTRS = $(STARTD_ATTRS) PERL_VERSION

Now your machine classad will advertise the attribute PERL_VERSION and jobs can match against that.
________________________________________
From: condor-users-bounces@xxxxxxxxxxx [condor-users-bounces@xxxxxxxxxxx] On Behalf Of Rob Stevenson [R.Stevenson@xxxxxxxxxxxxxxxxx]
Sent: 22 November 2011 11:39
To: 'Condor-Users Mail List'
Subject: [Condor-users] Configure server to only run if specific requirement exists in submit file?

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?

I understand how to force a server to only accept jobs from specific users, but would like more flexibility because:
1, Some software is only licensed on a few servers so I would like to be able to make some of these servers dedicated to that software
2, I would like to be able to configure a certain server as a test server but in such a way that means I don't have to create a new pool for it.

Many thanks for any ideas!
Rob Stevenson
Systems Administrator
E R.Stevenson@xxxxxxxxxxxxxxxxx

HR Wallingford, Howbery Park, Wallingford, Oxfordshire OX10 8BA, United Kingdom
www.hrwallingford.com

________________________________

HR Wallingford uses faxes and emails for confidential and legally privileged business communications. They do not of themselves create legal commitments. Disclosure to parties other than addressees requires our specific consent. We are not liable for unauthorised disclosures nor reliance upon them.
If you have received this message in error please advise us immediately and destroy all copies of it.

HR Wallingford Limited
Howbery Park, Wallingford, Oxfordshire, OX10 8BA, United Kingdom
Registered in England No. 02562099

________________________________
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/


-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.  Thank you.