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

Re: [HTCondor-users] condor_submit next_job_start_delay is not working



I wonder if the start_delay stuff you are trying is designed only to effect the queueing and not with the run time.

In any case, here are a couple of thoughts which might be helpful.

 

First, it might be worthwhile to describe why you want the delays.

Someone may see from that another way to accomplish that.

 

Second, hereâs a brute force approach.  You can control the run time of each job in a sequence by issuing your condor_submit commands with a script which does the following:

foreach num (`echo â1 2 3 4 5â`)

  condor_submit Job${num}

   wait till Job${num}.log appears

   poll Job${num}.log for line which appears when the job actually begins.

     When that happens there will be a line something like this:

     001 (16974323.000.000) 04/15 09:19:22 Job executing on host: <10.1.13.52:47173?CCBID=129.79.53.179:9899#448633&noUDP>

   Sleep 5 seconds

end

 

Regards,

 

Don

 

Signature0001

Don Krieger, Ph.D.

Department of Neurological Surgery

University of Pittsburgh

 

From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx] On Behalf Of Sridhar Thumma
Sent: Wednesday, April 15, 2015 7:22 AM
To: HTCondor-Users Mail List
Subject: Re: [HTCondor-users] condor_submit next_job_start_delay is not working

 

Hi,


Anyone has any idea? I'm blocked because of this issue.. 

 

 

On Wed, Apr 15, 2015 at 12:20 AM, Sridhar Thumma <deadman.den@xxxxxxxxx> wrote:

I tried deferral_time and deferral_prep_time like below. Still no luck. all jobs are starting at same point. I want condor to execute with delay between queues. I have one job with 5 queues in it.

 

Something like this:

deferral_time = (time() + 600)
deferral_prep_time = 90
queue
...
deferral_time = (time() + 600)
deferral_prep_time = 180
queue
...
deferral_time = (time() + 600)
deferral_prep_time = 270
queue

 

Can anyone please help me out in this.

 

On Tue, Apr 14, 2015 at 11:15 PM, Sridhar Thumma <deadman.den@xxxxxxxxx> wrote:

Hi,

 

I have a submit file which has 5 queues in it. I want condor to delay few seconds between each queue execution. I tried next_job_start_delay=90. But it didn't work. 

 

How to delay submitting queues with delay between each of them.

 

submit file:

 

Rank = 500 - TotalLoadAvg

next_job_start_delay=90

Queue

ec2_user_data_file = userdata_2.sh 

Rank = 500 - TotalLoadAvg

next_job_start_delay=90

Queue

ec2_user_data_file = userdata_3.sh 

Rank = 500 - TotalLoadAvg

next_job_start_delay=90

Queue

ec2_user_data_file = userdata_3.sh 

Rank = 500 - TotalLoadAvg

next_job_start_delay=90

Queue

ec2_user_data_file = userdata_3.sh 

Rank = 500 - TotalLoadAvg

next_job_start_delay=90

Queue