Skip to content
Snippets Groups Projects
Commit 718c4487 authored by Chris Hines's avatar Chris Hines
Browse files

install gres.conf to the correct place. Hardcode the CPUs associated with the...

install gres.conf to the correct place. Hardcode the CPUs associated with the GPUs. This is a temprorary fix at best
parent 20bf8897
No related branches found
No related tags found
1 merge request!91install gres.conf to the correct place. Hardcode the CPUs associated with the GP…
......@@ -92,7 +92,7 @@
set_fact: "slurm_gres_list={{ probeOutput.stdout }}"
- name: template gres.conf file
template: src="gres.conf.j2" dest={{ slurm_dir }}/etc/gres/gres.conf mode=644
template: src="gres.conf.j2" dest={{ slurm_dir }}/etc/gres.conf mode=644
sudo: true
- name: install slurm prolog
......
#slurm gres file for {{ ansible_hostname }}
#No Of Devices={{ slurm_gres_list | length }}
{% for gr in slurm_gres_list %}
Name={{ gr.name }} Type={{ gr.type }} File={{ gr.file }}
Name={{ gr.name }} Type={{ gr.type }} File={{ gr.file }} CPUs=0-23
{% endfor %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment