Hi,

Am 13.01.2014 um 16:58 schrieb Joe Borġ:

> I'm trying to set up an SGE queue and am having a problem getting the jobs to 
> start in the right order.  Here is my example - test.q with 2 possible slots 
> and the following jobs queued:
> 
> job-ID  prior   name       user         state submit/start at     queue       
>                    slots ja-task-ID 
> -----------------------------------------------------------------------------------------------------------------
>  1           0.50000 small.bash joe.borg     qw    01/13/2014 15:43:16        
>                             1        
>  2           0.50000 big.bash   joe.borg     qw    01/13/2014 15:43:24        
>                             2        
>  3           0.50000 small.bash joe.borg     qw    01/13/2014 15:43:27        
>                             1        
>  4           0.50000 small.bash joe.borg     qw    01/13/2014 15:43:28        
>                             1   
> 
> I want the jobs to run in that order, but (obviously), when I enable the 
> queue, the small jobs fill the available slots and the big job has to wait 
> for them to complete.  I'd like it setup so that only job 1 runs; finishes, 
> then 2 (with both slots), then the final 2 jobs, 3 & 4, together.
> 
> I've looked at -R y on submission, but doesn't seem to work.

For the reservation to work (and it's only necessary to request it for the 
parallel job) it's necessary to have suitable "h_rt" requests for all jobs.

- Do you request any "h_rt" for all jobs?
- Do you have a "default_duration" set to a proper value in the schedule 
configuration otherwise?
- Is "max_reservation" set to a value like 16?

-- Reuti


> Regards,
> Joseph David Borġ 
> josephb.org
> _______________________________________________
> users mailing list
> [email protected]
> https://gridengine.org/mailman/listinfo/users


_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to