forked from nf-core/configs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a02bd46
commit 58508c4
Showing
1 changed file
with
22 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,33 @@ | ||
// Profile details | ||
params { | ||
config_profile_description = 'The Wellcome Sanger Institute HPC cluster profile' | ||
config_profile_contact = 'Anthony Underwood (@aunderwo)' | ||
config_profile_url = 'https://www.sanger.ac.uk/group/informatics-support-group/' | ||
} | ||
|
||
singularity { | ||
enabled = true | ||
cacheDir = "${baseDir}/singularity" | ||
runOptions = '--bind /lustre --bind /nfs/pathnfs01 --bind /nfs/pathnfs02 --bind /nfs/pathnfs03 --bind /nfs/pathnfs04 --bind /nfs/pathnfs05 --bind /nfs/pathnfs06 --no-home' | ||
config_profile_description = 'The Wellcome Sanger Institute HPC cluster (farm5) profile' | ||
config_profile_contact = 'Priyanka Surana (@priyanka-surana)' | ||
config_profile_url = 'https://www.sanger.ac.uk' | ||
} | ||
|
||
// Queue and retry strategy | ||
process{ | ||
executor = 'lsf' | ||
queue = 'normal' | ||
errorStrategy = { task.attempt <= 5 ? "retry" : "finish" } | ||
process.maxRetries = 5 | ||
withLabel:process_long { | ||
queue = 'long' | ||
} | ||
executor = 'lsf' | ||
queue = { task.time < 12.h ? 'normal' : task.time < 48.h ? 'long' : 'basement' } | ||
errorStrategy = 'retry' | ||
maxRetries = 5 | ||
} | ||
|
||
// Executor details | ||
executor{ | ||
name = 'lsf' | ||
perJobMemLimit = true | ||
poolSize = 4 | ||
submitRateLimit = '5 sec' | ||
killBatchSize = 50 | ||
name = 'lsf' | ||
perJobMemLimit = true | ||
poolSize = 4 | ||
submitRateLimit = '5 sec' | ||
killBatchSize = 50 | ||
} | ||
|
||
// Max resources | ||
params { | ||
max_memory = 128.GB | ||
max_cpus = 64 | ||
max_time = 48.h | ||
max_memory = 683.GB | ||
max_cpus = 256 | ||
max_time = 720.h | ||
} | ||
|
||
// For singularity | ||
singularity.runOptions = '--bind /lustre --bind /nfs' |