mirror of
https://github.com/MillironX/dotfiles.git
synced 2024-11-23 13:59:55 +00:00
Add lots more options for Nextflow+SCINet
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
parent
838a9741a9
commit
1526bf85d6
1 changed files with 63 additions and 11 deletions
|
@ -2,23 +2,75 @@ tower {
|
||||||
enabled = true
|
enabled = true
|
||||||
accessToken = '{{ (bitwarden "item" "d41ac952-d8b5-4d20-a42a-ad8e0174d152").login.password }}'
|
accessToken = '{{ (bitwarden "item" "d41ac952-d8b5-4d20-a42a-ad8e0174d152").login.password }}'
|
||||||
}
|
}
|
||||||
{{ if (eq .cluster "scinet") }}
|
{{- if (eq .cluster "scinet") -}}
|
||||||
|
params {
|
||||||
|
{{ if (eq .chezmoi.hostname "ceres") }}
|
||||||
|
max_memory = 768.GB
|
||||||
|
max_cpus = 40
|
||||||
|
max_time = 1000.h
|
||||||
|
{{ end }}
|
||||||
|
{{ if (or (eq .chezmoi.hostname "Atlas-login-1") (eq .chezmoi.hostname "Atlas-login-2")) }}
|
||||||
|
max_memory = 1539.GB
|
||||||
|
max_cpus = 24
|
||||||
|
max_time = 14.d
|
||||||
|
{{ end }}
|
||||||
|
}
|
||||||
|
|
||||||
process {
|
process {
|
||||||
scratch = true
|
scratch = true
|
||||||
executor = 'slurm'
|
executor = 'slurm'
|
||||||
clusterOptions = '--account=fabadru'
|
clusterOptions = '--account=fabadru'
|
||||||
{{ if (or (eq .chezmoi.hostname "Atlas-login-1") (eq .chezmoi.hostname "Atlas-login-2")) }}
|
{{ if (or (eq .chezmoi.hostname "Atlas-login-1") (eq .chezmoi.hostname "Atlas-login-2")) }}
|
||||||
withLabel: process_high_memory {
|
cpus = 12
|
||||||
queue = 'bigmem'
|
memory = 192.GB
|
||||||
}
|
time = 7.d
|
||||||
|
withLabel: process_high_memory {
|
||||||
|
queue = 'bigmem'
|
||||||
|
memory = 1536.GB
|
||||||
|
}
|
||||||
|
withLabel: process_long {
|
||||||
|
time = 14.d
|
||||||
|
}
|
||||||
|
withLabel: process_medium {
|
||||||
|
cpus = 12
|
||||||
|
memory = 192.GB
|
||||||
|
time = 7.d
|
||||||
|
}
|
||||||
|
withLabel: process_high {
|
||||||
|
cpus = 24
|
||||||
|
memory = 384.GB
|
||||||
|
time = 14.d
|
||||||
|
}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if (eq .chezmoi.hostname "ceres") }}
|
{{ if (eq .chezmoi.hostname "ceres") }}
|
||||||
withLabel: process_high_memory {
|
queue = 'short'
|
||||||
queue = 'mem'
|
cpus = 18
|
||||||
}
|
memory = 54.GB
|
||||||
withLabel: process_long {
|
time = 24.h
|
||||||
queue = 'long'
|
withLabel: process_high_memory {
|
||||||
}
|
queue = 'mem'
|
||||||
|
memory = 640.GB
|
||||||
|
}
|
||||||
|
withLabel: process_long {
|
||||||
|
queue = 'long'
|
||||||
|
time = 21.d
|
||||||
|
}
|
||||||
|
withLabel: process_medium {
|
||||||
|
queue = 'medium'
|
||||||
|
cpus = 36
|
||||||
|
time = 7.d
|
||||||
|
}
|
||||||
|
withLabel: process_high {
|
||||||
|
queue = 'long'
|
||||||
|
cpus = 36
|
||||||
|
time = 21.d
|
||||||
|
}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
withLabel: process_low {
|
||||||
|
cpus = 2
|
||||||
|
memory = 4.GB
|
||||||
|
time = 1.h
|
||||||
|
{{ if (eq .chezmoi.hostname "ceres") }}queue = 'short'{{ end }}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
{{ end }}
|
{{- end -}}
|
||||||
|
|
Loading…
Reference in a new issue