Skip to content
Snippets Groups Projects
Commit 598e2735 authored by Simon Michnowicz's avatar Simon Michnowicz
Browse files

modified to support Rocky for OOD node

parent a5434fbc
No related branches found
No related tags found
1 merge request!597Rocky update
......@@ -109,8 +109,28 @@
when:
- ansible_os_family == 'Debian'
- name: configure slurm
- name: install pmix for Rocky
yum:
name: "{{ item }}"
loop:
- pmix
- pmix-devel
- json-c
- json-c-devel
- libyaml
- libyaml-devel
become: true
when: ( ansible_distribution == "Rocky" )
- name: configure slurm when NOT Rocky
command: "{{ slurm_src_dir }}/configure --prefix={{ slurm_dir }} --with-munge={{ munge_dir }} --enable-pam --with-pmix={{ pmix_dir }} --with-ucx={{ ucx_dir }}"
args:
creates: "{{ slurm_dir }}/bin/srun"
chdir: "{{ slurm_src_dir }}"
when: ( ansible_distribution != "Rocky" )
- name: configure slurm when Rocky
command: "{{ slurm_src_dir }}/configure --prefix={{ slurm_dir }} --with-munge={{ munge_dir }} --enable-pam --with-pmix --with-ucx={{ ucx_dir }} --with-json --with-yaml --with-hwloc --without-rsmi"
args:
creates: "{{ slurm_dir }}/bin/srun"
chdir: "{{ slurm_src_dir }}"
......@@ -118,6 +138,8 @@
# LD_LIBRARY_PATH: /lustre/usr_local/hpcx/2.7.0-redhat7.7/ucx/lib
when:
- force_slurm_recompile is defined or not stat_srun.stat.exists
- ( ansible_distribution == "Rocky" )
become: true
- name: build slurm
command: make
......@@ -125,6 +147,7 @@
creates: "{{ slurm_dir }}/bin/srun"
chdir: "{{ slurm_src_dir }}"
when: force_slurm_recompile is defined or not stat_srun.stat.exists
become: true
- name: install slurm
shell: make install
......
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