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

Re: [Condor-users] Resubmit to Different Machine



Hello John,

I believe you could write the following to keep a job from executing on a machine on which it had already tried running:

Requirements=$(REQUIREMENTS) &&  (Machine=!=LastRemoteHost)

The LastRemoteHost attribute should be set to the last host on which a job attempted to execute. It wouldn't keep a job from executing on all machines that it previously attempted to run on, but would at least prevent the last one.  Make sure you use =!= as it's undefined when the job hasn't run yet. 

Good luck,
Rob
===================================
Rob Futrick

Phone: 617.395.0251
rfutrick@xxxxxxxxxxxxxxxxxx

Cycle Computing, LLC
http://www.cyclecomputing.com


Scillieri, John wrote:
I'm with ya, but how do I write the classad boolean to say "not the machine you just failed on"?
 
Thanks for all your help.
 
John


From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Jaime Frey
Sent: Monday, June 04, 2007 12:22 PM
To: Condor-Users Mail List
Subject: Re: [Condor-users] Resubmit to Different Machine

On Jun 1, 2007, at 11:08 AM, Scillieri, John wrote:

I have a couple machines in my pool (approx 50) that sporadically have errors.  Is it possible to tell Condor that after a job fails, it should resubmit the job on a different machine? Any help/suggestions would be great, thanks!


The option you want is on_exit_remove. Look in the condor_submit man page in the Condor manual.

+--------------------------------+-----------------------------------+
|           Jaime Frey           | I used to be a heavy gambler.     |
|       jfrey@xxxxxxxxxxx        | But now I just make mental bets.  |
| http://www.cs.wisc.edu/~jfrey/ | That's how I lost my mind.        |
+--------------------------------+-----------------------------------+


>>> This e-mail and any attachments are confidential, may contain legal,
professional or other privileged information, and are intended solely for the
addressee.  If you are not the intended recipient, do not use the information
in this e-mail in any way, delete this e-mail and notify the sender. CEG-IP2
  

_______________________________________________ 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/