1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-22 00:26:03 +00:00

Address review comments

This commit is contained in:
Phil Ewels 2021-11-02 13:32:19 +01:00
parent 9a17fdb6d9
commit c842ca70a7

View file

@ -1,12 +1,14 @@
// UPPMAX Config Profile // UPPMAX Config Profile
params { params {
config_profile_description = 'UPPMAX (Rackham/Bianca) cluster profile provided by nf-core/configs.' // Description is overwritten for other clusters below
config_profile_description = 'UPPMAX (Bianca) cluster profile provided by nf-core/configs.'
config_profile_contact = 'Phil Ewels (@ewels)' config_profile_contact = 'Phil Ewels (@ewels)'
config_profile_url = 'https://www.uppmax.uu.se/' config_profile_url = 'https://www.uppmax.uu.se/'
project = null project = null
clusterOptions = null clusterOptions = null
schema_ignore_params = "genomes,input_paths,cluster-options,clusterOptions,project" schema_ignore_params = "genomes,input_paths,cluster-options,clusterOptions,project"
save_reference = true save_reference = true
// Defaults set for Bianca - other clusters set below
max_memory = 500.GB max_memory = 500.GB
max_cpus = 16 max_cpus = 16
max_time = 240.h max_time = 240.h
@ -60,22 +62,32 @@ process {
scratch = '$SNIC_TMP' scratch = '$SNIC_TMP'
} }
if (hostname.startsWith("s")) { // Cluster: Snowy
// Caution: Bianca nodes will be project name-nodenumber, e.g. sens2021500-001
// so cannot rely on just starting with 's'
if (hostname ==~ "s[0-9][0-9]*") {
params.max_time = 700.h params.max_time = 700.h
params.max_memory = 3880.GB params.max_memory = 3880.GB
params.config_profile_description = 'UPPMAX (Snowy) cluster profile provided by nf-core/configs.' params.config_profile_description = 'UPPMAX (Snowy) cluster profile provided by nf-core/configs.'
} }
// Cluster: Irma
if (hostname.startsWith("i")) { if (hostname.startsWith("i")) {
params.max_memory = 250.GB params.max_memory = 250.GB
params.config_profile_description = 'UPPMAX (Irma) cluster profile provided by nf-core/configs.' params.config_profile_description = 'UPPMAX (Irma) cluster profile provided by nf-core/configs.'
} }
// Cluster: Rackham
if (hostname.startsWith("r")) { if (hostname.startsWith("r")) {
params.max_cpus = 20 params.max_cpus = 20
params.max_memory = 970.GB params.max_memory = 970.GB
params.config_profile_description = 'UPPMAX (Rackham) cluster profile provided by nf-core/configs.'
} }
// Cluster: Bianca - set in initial params block above
// Additional devel profile for running in devel queue
// Run with `-profile upppmax,devel`
profiles { profiles {
devel { devel {
params { params {