mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-11 04:23:10 +00:00
trying automatic configuration based on hostname
This commit is contained in:
parent
a79dfdf223
commit
0211b33a55
1 changed files with 10 additions and 1 deletions
|
@ -18,13 +18,22 @@ process {
|
||||||
params {
|
params {
|
||||||
saveReference = true
|
saveReference = true
|
||||||
|
|
||||||
max_memory = 128.GB
|
max_memory = 125.GB
|
||||||
max_cpus = 16
|
max_cpus = 16
|
||||||
max_time = 240.h
|
max_time = 240.h
|
||||||
// illumina iGenomes reference file paths on UPPMAX
|
// illumina iGenomes reference file paths on UPPMAX
|
||||||
igenomes_base = '/sw/data/uppnex/igenomes/'
|
igenomes_base = '/sw/data/uppnex/igenomes/'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (hostname.contains("rackham*.uppmax.uu.se")) {
|
||||||
|
params.max_cpus = 20
|
||||||
|
}
|
||||||
|
|
||||||
|
if (hostname.contains("irma*.uppmax.uu.se")) {
|
||||||
|
params.max_memory = 250.GB
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
profiles {
|
profiles {
|
||||||
devel {
|
devel {
|
||||||
params {
|
params {
|
||||||
|
|
Loading…
Reference in a new issue