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

Re: [Condor-users] Queue and users



On Sat, Dec 03, 2005 at 10:48:23AM -0200, Ary Junior wrote:
> Hi Erik, sorry for my late answer. The expression below works fine:
> 
> START = (VirtualMachineID == 1 && "aryjr" == Owner) || (VirtualMachineID ==
> 2 && "testecondor" == Owner)
> 
> The job submitted by aryjr run only in vm1 and submitted by testecondor run
> only on vm2. But "vm2.RemoteUser != Owner" or "vm1.RemoteUser != Owner"
> don't works. The jobs stay in queue and never run. How can I get the owner
> of the job runnig on vm2 when vm1 is idle and vice-versa?
> 

Did you try vm1_RemoteUser in your expressions instead of vm1.RemoteUser? 
I used the wrong syntax in my eariler email, the BBS document has it right.

When you've got someone running on vm1, what does 

condor_status -l vm2@xxxxxxxxxxxxxxxxxxxxxxxx say? Does it have the
vm1_RemoteOwner field correct?

-Erik

> Thanks very much!
> 
> Ary Junior
> 
> On 11/1/05, Erik Paulson <epaulson@xxxxxxxxxxx> wrote:
> >
> > On Tue, Nov 01, 2005 at 04:14:11PM -0200, Ary Junior wrote:
> > > Hello. I have a machine with two processors. I would like to guarantee
> > that
> > > two processes from the same user never will occupy the two processors at
> > the
> > > same time. That is possible with Condor?
> > >
> >
> > Yes. You'll have to export state from one VM to the other, so
> > you'll have something like
> >
> > START = (VirtualMachineId == 1 && vm2.RemoteUser != Owner) ||
> > (VirtualMachineId == 2 && vm1.RemoteUser != Owner)
> >
> >
> > We worked with INFN in Bologna to specify some advanced policies using
> > tricks like that, the writeup is a good place to start
> >
> > http://www.cs.wisc.edu/~pfc/bologna_batch_system.html
> >
> > -Erik
> > _______________________________________________
> > Condor-users mailing list
> > Condor-users@xxxxxxxxxxx
> > https://lists.cs.wisc.edu/mailman/listinfo/condor-users
> >

> _______________________________________________
> Condor-users mailing list
> Condor-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users