-
Notifications
You must be signed in to change notification settings - Fork 0
/
submit.yml.erb
19 lines (19 loc) · 986 Bytes
/
submit.yml.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
batch_connect:
template: "basic"
conn_params:
- csrf_token
script:
native:
- "--cpus-per-task"
- "<%= cores %>"
- "--mem"
- "<%= mem %>G"
<%- if gpu_num.to_i > 0 -%>
- "--gres"
- "gpu:<%= gpu_num.to_s %>"
<%- end -%>
job_environment:
PATH: /share/apps/22.04/slurm/23.02.7/bin:/share/apps/22.04/spack/spack-v0.19.1/opt/spack/linux-ubuntu22.04-x86_64_v2/gcc-11.3.0/environment-modules-5.2.0-xm55xzg3e4wbgjw3alsmrvhgtmb5f4dz/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/puppetlabs/bin
MANPATH: /share/apps/22.04/slurm/23.02.7/share/man:::/opt/puppetlabs/puppet/share/man
MODULEPATH: /share/apps/22.04/modulefiles/spack/core:/share/apps/22.04/modulefiles/spack/libs:/share/apps/22.04/modulefiles/spack/general:/share/apps/22.04/modulefiles/manual:/share/apps/22.04/spack/spack-v0.19.1/opt/spack/linux-ubuntu22.04-x86_64_v2/gcc-11.3.0/environment-modules-5.2.0-xm55xzg3e4wbgjw3alsmrvhgtmb5f4dz/modulefiles