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

Re: [Condor-users] MaxJobRetirementTime and Preemption problem




Yes, use TARGET.JOB_LENGTH.

--Dan

Northup, Dustin P. wrote:
JOB_LENGTH is an attribute of the job, thus whenever someone submits a job they have to include:

+JOB_LENGTH = "<Length>"

in their submit file where they specifiy short/medium/long. So I would need to change MY to TARGET to make it look at the currently running job?

Dustin ________________________________________
From: condor-users-bounces@xxxxxxxxxxx [condor-users-bounces@xxxxxxxxxxx] on behalf of Dan Bradley [dan@xxxxxxxxxxxx]
Sent: Friday, March 19, 2010 1:02 PM
To: Condor-Users Mail List
Subject: Re: [Condor-users] MaxJobRetirementTime and Preemption problem

Northup, Dustin P. wrote:
MaxJobRetirementTime    = $(HOUR) * 8 * (MY.JOB_LENGTH == "Short") + ( ( (MY.PreemptingRank < 1) && (PreemptingRank < 1) && (MY.PreemptingRank =!= UNDEFINED) ) * ( ( (MY.JOB_LENGTH == "Medium") * 16 * $(HOUR) ) + ( (MY.JOB_LENGTH == "Long") * 36 * $(HOUR) ) ) )




Is JOB_LENGTH an attribute of the machine or the job or both?  In the
machine's MaxJobRetirementTime expression, MY refers to the machine and
TARGET refers to the job.

--Dan

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