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

Re: [Condor-users] How to stop rerun



Hi Jaime,

Thank you for your advaice.

It was possible by setting:

Requirements = ((JobRunCount =?= Undefined) || (JobRunCount == 1 &&
JobStatus == 2))
periodic_remove = ((JobStatus == 1) && (JobRunCount =!= Undefined))

Thanks,
Kiyoko


> -----Original Message-----
> From: Jaime Frey [mailto:jfrey@xxxxxxxxxxx] 
> Sent: Friday, June 08, 2007 12:47 AM
> To: Condor-Users Mail List
> Subject: Re: [Condor-users] How to stop rerun
> 
> So you don't want the results of your calculation if it's interrupted?
> 
> If so, then try this:
> 
> # If 'requirements' is already set, AND this into the 
> expression requirements = (JobRunCount =?= Undefined) 
> periodic_remove = (JobStatus == 1 || JobStatus == 5) && 
> JobRunCount =! 
> = Undefined
> 
>   -- Jaime
> 
> On Jun 4, 2007, at 11:44 PM, Okamoto Kiyoko wrote:
> 
> > Hi Jaime,
> >
> > My machines(Windows XP) are only for a calculation, so my 
> job is not 
> > interrupted by other people.
> > When a trouble occurred to a machine,
> > the job will rerun at another machine.
> > I want to stop this rerun.
> >
> > Thanks,
> > Kiyoko
> >
> >
> >
> >> -----Original Message-----
> >> From: Jaime Frey [mailto:jfrey@xxxxxxxxxxx]
> >> Sent: Tuesday, June 05, 2007 1:25 AM
> >> To: Condor-Users Mail List
> >> Subject: Re: [Condor-users] How to stop rerun
> >>
> >> On Jun 4, 2007, at 4:23 AM, Okamoto Kiyoko wrote:
> >>
> >>> I do not want to let my job rerun.
> >>> Could you tell me how to stop rerun?
> >>
> >> Normally, Condor will rerun your job only if it could not 
> run the job 
> >> to completion. Are you saying you don't want your jobs to 
> be rerun if 
> >> their execution is interrupted by a failure or being kicked off a 
> >> machine prematurely?
> 
> +--------------------------------+-----------------------------------+
> |           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.        |
> +--------------------------------+-----------------------------------+
> 
> 
> _______________________________________________
> 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/
>