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

Re: [Condor-users] condor requirement

Thanks for your reply.

I tried like this, adding in condor_config


And restarted condor.

I have requirement like this in job description
requirements   = (Arch=="INTEL" && (OpSys == "LINUX" || OpSys == "WINNT60" || OpSys == "WINNT51")) &&  OPSYS_FLAVOUR != "RH9"

But still condor does not match the resource and complains.

I do see in Condor_status machine name

CondorVersion = "$CondorVersion: 6.8.0 Jul 19 2006 $"
CondorPlatform = "$CondorPlatform: I386-LINUX_RH9 $"

WARNING:  Be advised:
   No resources matched request's constraints
   Check the Requirements expression below:

Requirements = ((Arch == "INTEL" && (OpSys == "LINUX" || OpSys == "WINNT60" || OpSys == "WINNT51")) && OPSYS_FLAVOUR != "RH9") && (Disk >= DiskUsage) && ((Memory * 1024) >= ImageSize) && (HasFileTransfer)

-----Original Message-----
From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Ian Chesal
Sent: Tuesday, January 15, 2008 3:29 PM
To: Condor-Users Mail List
Subject: Re: [Condor-users] condor requirement

> How can I identify the different flavor of Operating System in condor

I advertise custom MyOperatingSystem and MyArchitecture tags on each of
my machines that help slice up my pool by very specific operating system
identifier strings. It's more work to set up but it's more flexible and
easier to match than the CondorPlatform string. You have to remember to
publish your custom attributes for the machine. So:

MyOperatingSystem = "RHEL-4.0"
MyArchitecture = "AMD64"

STARTD_EXPRS = MyOperatingSystem, MyArchitecture

And then in my submit files:

Requirements = Target.Archh =!= UNDEFINED && Target.OpSys =!= UNDEFINED
&& MyOperatingSystem == "RHEL-4.0" && MyArchitecture == "AMD64"

Adjust to suit your needs.

- Ian

Confidentiality Notice.  This message may contain information that is confidential or otherwise protected from disclosure.
If you are not the intended recipient, you are hereby notified that any use, disclosure, dissemination, distribution,
or copying of this message, or any attachments, is strictly prohibited.  If you have received this message in error,
please advise the sender by reply e-mail, and delete the message and any attachments.  Thank you.

Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting

The archives can be found at: