Skip to content

Commit

Permalink
Reshaped the code
Browse files Browse the repository at this point in the history
  • Loading branch information
muffato committed Nov 9, 2023
1 parent 6d048ff commit 555b99c
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions conf/sanger.config
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@ params {
process {
executor = 'lsf'

// Currently a single set of rules for all clusters, but we could use $clustername to apply
// different rules to different clusters.
queue = {
// Not yet needed because these settings apply to all clusters but $clustername could be used
if ( task.memory > 680.GB && task.time >= 15.day ) {
error "There is no queue for jobs that need >680 GB and >15 days"
}
if ( task.time >= 15.day ) {
"basement"
if ( task.memory > 680.GB ) {
error "There is no queue for jobs that need >680 GB and >15 days"
} else {
"basement"
}
} else if ( task.memory > 720.GB ) {
"teramem"
} else if ( task.memory > 350.GB ) {
Expand Down

0 comments on commit 555b99c

Please sign in to comment.