[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] Machine ranking
- Date: Tue, 16 Aug 2011 06:53:48 -0700
- From: Matthew Farrellee <matt@xxxxxxxxxx>
- Subject: Re: [Condor-users] Machine ranking
If you are generating the submission files, you've a great opportunity
to add type information as an attribute, the +Minifier=True.
If you must key off the Arguments, you can use regexp().
RANK = regexp(".*imagetool.*", Arguments)
On 08/13/2011 06:08 AM, rb wrote:
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
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
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:
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?
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
You can also unsubscribe by visiting
The archives can be found at: