Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added alternative base config #24

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 72 additions & 0 deletions conf/base_large.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dessimozlab/FastOMA Nextflow base config file with no resource maximum checking
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A 'blank slate' config file, appropriate for general use on most high performance
compute environments. Assumes that all software is installed and available on
the PATH. Runs in `local` mode - all jobs will be run on the logged in environment.
This config does not check for maximum available resources on the partition to allow
the scheduling between partitions with different resource limits.
----------------------------------------------------------------------------------------
*/

process {

cpus = { 1 * task.attempt }
memory = { 6.GB * task.attempt }
time = { 4.h * task.attempt }
shell = ['/bin/bash', '-euo', 'pipefail']

//errorStrategy = { task.exitStatus in (130..145) ? 'retry' : 'finish' }
errorStrategy = 'retry'
maxRetries = 4

withLabel:process_single {
cpus = { 1 }
memory = { 12.GB * task.attempt }
time = { 4.h * task.attempt }
}
withLabel:process_single_big {
cpus = { 2 }
memory = { 30.GB * task.attempt }
time = { 24.h * task.attempt }
}
withLabel:process_single_bigger {
cpus = { 2 }
memory = { 70.GB * task.attempt }
time = { 24.h * task.attempt }
}
withLabel:process_single_huge {
cpus = { 2 }
memory = { 250.GB * task.attempt }
time = { 48.h * task.attempt }
}
withLabel:process_low {
cpus = { 2 * task.attempt }
memory = { 12.GB * task.attempt }
time = { 4.h * task.attempt }
}
withLabel:process_medium {
cpus = { 6 * task.attempt }
memory = { 36.GB * task.attempt }
time = { 8.h * task.attempt }
}
withLabel:process_high {
cpus = { 12 * task.attempt }
memory = { 72.GB * task.attempt }
time = { 16.h * task.attempt }
}
withLabel:process_long {
time = { 20.h * task.attempt }
}
withLabel:process_high_memory {
memory = { 200.GB * task.attempt }
}
withLabel:error_ignore {
errorStrategy = 'ignore'
}
withLabel:error_retry {
errorStrategy = 'retry'
maxRetries = 2
}
}
Loading