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

Re: [Condor-users] Limiting jobs run on a node by VM ID?



Thanx, that worked great   :-)

Requirements=programs_Has_Gmap=?=True && (OpSys != "Dummy") && (Arch != "Dummy") && regexp("vm[13]@.*", Name)

--Russell

> -----Original Message-----
> From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-
> bounces@xxxxxxxxxxx] On Behalf Of Matthew Farrellee
> Sent: Monday, 15 June 2009 12:21 p.m.
> To: Condor-Users Mail List
> Subject: Re: [Condor-users] Limiting jobs run on a node by VM ID?
> 
> Try: condor_status -constraint 'regexp("slot[13]@.*", Name)'
> 
> Best,
> 
> 
> matt
> 
> Smithies, Russell wrote:
> > Our compute farm has twin dual-core cpu's per machine so I have VMs named
> vm1@xxxxxxxxx, vm2@xxxxxxxxx, vm3@xxxxxxxxx, vm4@xxxxxxxxx, vm1@xxxxxxxxx,
> vm2@xxxxxxxxx etc..
> > Sometimes, I end up with jobs running on all 4 VMs on the same machine and,
> depending on what application is running, this can be a very bad thing because
> of the limited memory available.
> >
> > Is there an easy way to specify in the classad machine attribs that I only
> want to run on vm1 or vm3 on a machine?
> > Something like this?
> > 	Requirements = (Name == vm[1,3]@*)
> >
> >
> > Thanx,
> >
> > Russell Smithies
> >
> > Bioinformatics Applications Developer
> > T +64 3 489 9085
> > E  russell.smithies@xxxxxxxxxxxxxxxx
> > Invermay  Research Centre
> > Puddle Alley,
> > Mosgiel,
> > New Zealand
> > T  +64 3 489 3809
> > F  +64 3 489 9174
> > www.agresearch.co.nz
> >
> > Toitu te whenua, Toitu te tangata
> > Sustain the land, Sustain the people
> >
> >
> > =======================================================================
> > Attention: The information contained in this message and/or attachments
> > from AgResearch Limited is intended only for the persons or entities
> > to which it is addressed and may contain confidential and/or privileged
> > material. Any review, retransmission, dissemination or other use of, or
> > taking of any action in reliance upon, this information by persons or
> > entities other than the intended recipients is prohibited by AgResearch
> > Limited. If you have received this message in error, please notify the
> > sender immediately.
> > =======================================================================
> > _______________________________________________
> > 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/
> 
> _______________________________________________
> 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/