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

don't use the output of nvidia-smi directly, pass it through a map defined in vars

parent a45849c9
No related branches found
No related tags found
1 merge request!181Fix gres.conf
#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 }} CPUs={{ cpucount.stdout }}
Name={{ gr.name }} Type={{ gpumap[gr.type] }} File={{ gr.file }} CPUs={{ cpucount.stdout }}
{% 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