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

Re: [Condor-users] Queue and users



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?

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