1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-24 09:09:56 +00:00
nf-configs/conf/imperial.config
Combiz Khozoie 3ce32f50c4
Update imperial.config
Moved params configs from internal profile to universal
2022-02-11 11:02:40 +00:00

80 lines
2.2 KiB
Text

//Profile config names for nf-core/configs
params {
// Config Params
config_profile_description = 'Imperial College London - HPC Profile -- provided by nf-core/configs.'
config_profile_contact = 'Combiz Khozoie (c.khozoie@imperial.ac.uk)'
config_profile_url = 'https://www.imperial.ac.uk/admin-services/ict/self-service/research-support/rcs/'
// Resources
max_memory = 480.GB
max_cpus = 40
max_time = 1000.h
}
profiles {
imperial {
process {
executor = 'pbspro'
// Process-specific resource requirements
withLabel:process_low {
// TARGET QUEUE: throughput
cpus = { 2 * task.attempt }
memory = { 12.GB * task.attempt }
time = { 4.h * task.attempt }
}
withLabel:process_medium {
// TARGET QUEUE: throughput
cpus = 8
memory = { 32.GB * task.attempt }
time = { 8.h * task.attempt }
}
withLabel:process_high {
// TARGET QUEUE: general
cpus = 32
memory = { 62.GB * task.attempt }
time = { 16.h * task.attempt }
}
withLabel:process_long {
// TARGET QUEUE: long
cpus = 8
memory = 96.GB
time = { 72.h * task.attempt }
}
withLabel:process_high_memory {
// TARGET QUEUE: large memory
cpus = { 10 * task.attempt }
memory = { 120.GB * task.attempt }
time = { 12.h * task.attempt }
}
}
}
medbio {
process {
executor = 'pbspro'
queue = 'pqmedbio-tput'
//queue = 'med-bio' //!! this is an alias and shouldn't be used
}
}
}
executor {
$pbspro {
queueSize = 50
}
$local {
cpus = 2
queueSize = 1
memory = '6 GB'
}
}
singularity {
enabled = true
autoMounts = true
runOptions = "-B /rds/,/rds/general/user/$USER/ephemeral/tmp/:/tmp,/rds/general/user/$USER/ephemeral/tmp/:/var/tmp"
}