Thanks Carles, that's what we did, but I was just wondering if there was a separate plugin that already existed.
Thanks again. --T On Wed, Apr 24, 2013 at 11:10 PM, Carles Fenoy <[email protected]> wrote: > Hi Tapasya, > > I don't know of any implementation of easy backfilling for slurm, but it > should be very easy to modify current backfill plugin to implement easy > backfilling. > The reservation is made at the end of the backfill algorithm so just > wrapping it with an "if" for the first job should be enough. You should add > a counter to know if its the first job, but it should be pretty easy. > > These are the lines involved in the reservation (lines 917,918 in > src/plugins/sched/backfill/backfill.c) > > bit_not(avail_bitmap); > _add_reservation(job_ptr->start_time, > end_reserve, > avail_bitmap, node_space, > &node_space_recs); > > > Regards, > Carles Fenoy > > > On Thu, Apr 25, 2013 at 7:40 AM, Tapasya Patki <[email protected]>wrote: > >> Hello, >> >> Is there an existing simple backfilling plugin for SLURM that does easy >> backfilling (only make a reservation for the first job at the head of the >> queue)? The sched/backfill seems to work in a conservative way (correct me >> if I'm wrong). >> >> Thanks. >> >> --Tapasya >> > > > > -- > -- > Carles Fenoy >
