Skip to content

Commit

Permalink
modified mpcdf configs (general + eager)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilight1542 committed Mar 3, 2022
1 parent 341ea36 commit 25c644a
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conf/mpcdf.config
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ profiles {
}

executor {
queueSize = 8
queueSize = 72
pollInterval = '1 min'
queueStatInterval = '5 min'
}
Expand All @@ -61,7 +61,7 @@ profiles {

params {
config_profile_description = 'MPCDF raven profile (unofficially) provided by nf-core/configs.'
max_memory = 368.GB
max_memory = 2048.GB
max_cpus = 72
max_time = 24.h
}
Expand Down
55 changes: 55 additions & 0 deletions conf/pipeline/eager/mpcdf.config
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,59 @@ process {
}
}
}
raven {
// Specific nf-core/eager process configuration
process {

withName: malt {
maxRetries = 1
memory = 2048.GB
cpus = 72
time = 24.h
}

withLabel:'sc_tiny'{
cpus = { check_max( 1, 'cpus' ) }
memory = { check_max( 1.GB * task.attempt, 'memory' ) }
time = 24.h
}

withLabel:'sc_small'{
cpus = { check_max( 1, 'cpus' ) }
memory = { check_max( 4.GB * task.attempt, 'memory' ) }
time = 24.h
}

withLabel:'sc_medium'{
cpus = { check_max( 1, 'cpus' ) }
memory = { check_max( 8.GB * task.attempt, 'memory' ) }
time = 24.h
}

withLabel:'mc_small'{
cpus = { check_max( 2 * task.attempt, 'cpus' ) }
memory = { check_max( 4.GB * task.attempt, 'memory' ) }
time = 24.h
}

withLabel:'mc_medium' {
cpus = { check_max( 4 * task.attempt, 'cpus' ) }
memory = { check_max( 8.GB * task.attempt, 'memory' ) }
time = 24.h
}

withLabel:'mc_large'{
cpus = { check_max( 8 * task.attempt, 'cpus' ) }
memory = { check_max( 16.GB * task.attempt, 'memory' ) }
time = 24.h
}

withLabel:'mc_huge'{
cpus = { check_max( 72, 'cpus' ) }
memory = { check_max( 240.GB * task.attempt, 'memory' ) }
time = 24.h
}
}
}

}

0 comments on commit 25c644a

Please sign in to comment.