Skip to content

Commit

Permalink
Update sanger.config
Browse files Browse the repository at this point in the history
Updating the sanger profile to take into account the memory limits when assigning queues.

I have decided on the optimal resources per queue as although you can submit a 400GB on normal, the priority becomes so low it will not run for a long time.
  • Loading branch information
DLBPointon authored Sep 20, 2023
1 parent 64386a7 commit 562b832
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion conf/sanger.config
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ params {
}

// Queue and retry strategy
// Time and Memory need to be used to decide on the queue
process{
executor = 'lsf'
queue = { task.time < 20.m ? 'small' : task.time < 12.h ? 'normal' : task.time < 48.h ? 'long' : task.time < 168.h ? 'week' : 'basement' }
queue = { task.time < 20.m && task.memory < 50.GB ? 'small' : task.time < 12.h && task.memory < 100.GB ? 'normal' : task.time < 48.h && task.memory < 150.GB ? 'long' : task.time < 168.h && task.memory < 195.GB? 'week' : task.time < 720.h && task.memory < 195.GB ? 'basement' : task.time < 720.h && task.memory < 650.GB ? 'hugemem' : 'teramem' }
}

// Executor details
Expand Down

0 comments on commit 562b832

Please sign in to comment.