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

Re: [Condor-users] Using DAGManJobID for job priority



I'm looking into this.  It may be a bug for 6.8.1...

Thanks,

-Peter


On Jul 26, 2006, at 5:59 PM, Michael S. Root wrote:


Hi, I've just upgraded to 6.8.0, and I'm trying to figure out how to use
the DAGManJobID attribute to set the job priority of dag children.

I actually mailed the list a while ago about exactly what I'm trying to
do:
https://lists.cs.wisc.edu/archive/condor-users/2005-February/ msg00089.shtml

I see this in the release notes:

# The DAGManJobID attribute which condor_dagman inserts into the classad
of every job it submits now contains only its cluster ID (instead of a
cluster.proc ID pair), so that it may be referenced as an integer in DAG job submit files. This allows, for example, a user to automatically set the relative local queue priority of jobs based on the condor_dagman job that submitted them, so that jobs submitted by ``older'' DAGs will start
before jobs submitted by ``newer'' DAGs (assuming they are otherwise
identical).

This seems to be exactly what I want, but I can't get it to work. If I add:

priority = DAGManJobID

or

priority = "DAGManJobID"

to a sub-job submit file, the classAd for the job when it's running just
says that JobPrio=0.

Can anyone give me an example? I feel like I'm missing something obvious.

-Mike

_______________________________________________
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 either
https://lists.cs.wisc.edu/archive/condor-users/
http://www.opencondor.org/spaces/viewmailarchive.action?key=CONDOR