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

[condor-users] Re:



On Wednesday 04 February 2004 1:39 pm, Diamond, Edward wrote:
> I would like to set up the (smp) machines in our pool so that one and
> only one Condor job can run, on any of its virtual machines, at anytime.
> After scanning the Startd policy attributes, I came up with the
> following expression for a machine class-ad, to run one and only one job
> at a time:
>
>
>
> Requirements = (CondorLoadAvg == 0.0 && (VirtualMachineID == 1 ||
> VirtualMachineID == 2))
>
>
>
> Will this do what I want?  Is there a better way to meet the
> requirement?

It'd probably be easier and more reliable to just configure it such that 
Condor only sees one CPU and thus only advertises one machine ad:

NUM_CPUS = 1

-Nick

-- 
           <<< The matrix has you. >>>
 /`-_    Nicholas R. LeRoy               The Condor Project
{     }/ http://www.cs.wisc.edu/~nleroy  http://www.cs.wisc.edu/condor
 \    /  nleroy@xxxxxxxxxxx              The University of Wisconsin
 |_*_|   608-265-5761                    Department of Computer Sciences
Condor Support Information:
http://www.cs.wisc.edu/condor/condor-support/
To Unsubscribe, send mail to majordomo@xxxxxxxxxxx with
unsubscribe condor-users <your_email_address>