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

Re: [Condor-users] Is there a way to give a job a descriptive name?



Thanks, that should do it.

-----Original Message-----
From: condor-users-bounces@xxxxxxxxxxx
[mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Todd Tannenbaum
Sent: Tuesday, June 03, 2008 11:14 AM
To: Condor-Users Mail List
Subject: Re: [Condor-users] Is there a way to give a job a descriptive
name?

Bryan S. Maher wrote:
> Is there a way to have Condor display a more descriptive name for the
> jobs in the queue?  It's pretty common for us to run hundreds of
> instances of the same executable with different input parameters and
it
> would be nice if there was something like "JOB_NAME" in the submission
> file so that CONDOR_Q could report something other than the name of
the
> executable.
> 

It is easy to add custom attributes into your job ClassAd, and easy to 
customize the output of condor_q.

So you could get the above by having a submit file that looks something 
like:

executable = foo.exe
+job_name = "Simulation of XXX"
queue

(note the "+" syntax to add a custom attribute - and if the custom 
attribute is a string, you must include the double quotes)

and then something like

condor_q -format "%d." ClusterId -format "%d\t" ProcId -format "%s\n" 
job_name

perhaps make the above an alias or some such.

Is that good enough for what you want to do?

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