Skip to content

Commit

Permalink
Memory handling and DREP
Browse files Browse the repository at this point in the history
Doubled the memory for DREP.

Added more exit codes to the retry policy
  • Loading branch information
mberacochea committed Jul 8, 2023
1 parent 2bee149 commit ef9557a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/codon_xlarge.config
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ process {
cpus = 4; memory = { 2.GB * task.attempt }
}
withName: DREP {
cpus = 32; memory = { 100.GB * task.attempt }
cpus = 32; memory = { 200.GB * task.attempt }
}
withName: EGGNOG_MAPPER {
cpus = 16; memory = { 50.GB * task.attempt }
Expand Down
2 changes: 1 addition & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ profiles {
process {
cache = "lenient"
errorStrategy = {
task.exitStatus in 137..140 && task.attempt <= 2 ? 'retry' : 'finish'
task.exitStatus in ((130..145) + 104 + 247 + 250) && task.attempt <= 2 ? 'retry' : 'finish'
}
queue = {
task.memory >= 200.GB ? 'bigmem' : 'production'
Expand Down

0 comments on commit ef9557a

Please sign in to comment.