[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] Machine ranking
- Date: Fri, 12 Aug 2011 22:29:40 -0500
- From: Edier Zapata <edalzap@xxxxxxxxx>
- Subject: Re: [Condor-users] Machine ranking
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 directive.
On 8/12/11, rb <robertbosch@xxxxxx> wrote:
> I would like to set a machine ranking in such a way that when a certain job
> (eg "minification"-job) is send to the pool it should get highest priority
> and all current jobs are preempted.
> I want to do this by using the ARGUMENTS in the submission files and specify
> 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 are
> containing a whole list of arguments. In the above mentioned case I would
> like to use only the information "imagetool". How can I "extract" a certain
> 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 list.
> Can someone help me out with this?
> Best regards,
Edier Alberto Zapata Hernández
Ingeniero de Sistemas
Universidad de Valle