1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-23 00:39:56 +00:00
nf-configs/conf/sanger.config

34 lines
747 B
Text
Raw Normal View History

2022-07-20 12:14:42 +00:00
// Profile details
2021-04-21 15:39:55 +00:00
params {
2022-07-20 12:14:42 +00:00
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'
2021-04-21 15:39:55 +00:00
}
2022-07-20 12:14:42 +00:00
// Queue and retry strategy
2021-04-21 15:39:55 +00:00
process{
2022-07-20 12:14:42 +00:00
executor = 'lsf'
queue = { task.time < 12.h ? 'normal' : task.time < 48.h ? 'long' : 'basement' }
errorStrategy = 'retry'
maxRetries = 5
2021-04-21 15:39:55 +00:00
}
2022-07-20 12:14:42 +00:00
// Executor details
2021-04-21 15:39:55 +00:00
executor{
2022-07-20 12:14:42 +00:00
name = 'lsf'
perJobMemLimit = true
poolSize = 4
submitRateLimit = '5 sec'
killBatchSize = 50
2021-04-21 15:39:55 +00:00
}
2021-04-22 10:59:34 +00:00
2022-07-20 12:14:42 +00:00
// Max resources
2021-04-22 10:59:34 +00:00
params {
2022-07-20 12:14:42 +00:00
max_memory = 683.GB
max_cpus = 256
max_time = 720.h
2021-04-22 10:59:34 +00:00
}
2022-07-20 12:14:42 +00:00
// For singularity
singularity.runOptions = '--bind /lustre --bind /nfs'