[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] Machine ranking
- Date: Sat, 13 Aug 2011 15:08:39 +0200
- From: "rb" <robertbosch@xxxxxx>
- Subject: Re: [Condor-users] Machine ranking
thanks for your help.
the reason why I want to use the Arguments for this is because my sub file are automatically created by the software I am using. I would have to edit all sub files manually if I want to that more often. Therefor I want to use out of the sub files what is in there without manipulating them.
And the ARGUMENTS are the only values which are uniquely stating which kind of job it is. In my case the Arguements are holding the names of the executable I am calling for a job.
Do you know how I could come to a solution without manually changing/modifying the sub files?
-------- Original-Nachricht --------
> Datum: Fri, 12 Aug 2011 22:29:40 -0500
> Von: Edier Zapata <edalzap@xxxxxxxxx>
> An: Condor-Users Mail List <condor-users@xxxxxxxxxxx>
> Betreff: Re: [Condor-users] Machine ranking
> Hi Robert,
> Maybe this help you:
> In this guide:
> They use variables in submitFile to allow High Resources jobs, I think
> you could use something like this:
> In the submitFile add this:
> +MinifierJob = True
> In the Execute Nodes's configuration add this:
> START_MINIFIER_JOB = TARGET.MinifierJob =?= True
> START = ($(START)) && ($(START_MINIFIER_JOB))
> SUSPEND = ($(SUSPEND)) || ( TARGET.MinifierJob =!= True )
> I hope this help you. I didn't why you want to use the Arguments
> On 8/12/11, rb <robertbosch@xxxxxx> wrote:
> > Hello,
> > I would like to set a machine ranking in such a way that when a certain
> > (eg "minification"-job) is send to the pool it should get highest
> > and all current jobs are preempted.
> > I want to do this by using the ARGUMENTS in the submission files and
> > them in the condor_config files of the nodes.
> > I attached a submission file as example.
> > The ARGUMENTS are here:
> > Arguments = @MinifierJob_2.rsp imagetool
> > The problem I am having is this: Most of the times my submission files
> > containing a whole list of arguments. In the above mentioned case I
> > like to use only the information "imagetool". How can I "extract" a
> > information out of this list of arguments.
> > My ranking in the config files of the nodes should look something like:
> > RANK = ARGUMENTS == "imagetool"
> > But this is only working when having only one argument and not a whole
> > Can someone help me out with this?
> > Best regards,
> > Robert
> Edier Alberto Zapata Hernández
> Ingeniero de Sistemas
> Universidad de Valle
> Condor-users mailing list
> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> The archives can be found at:
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!
Jetzt informieren: http://www.gmx.net/de/go/freephone