Skip to content
Snippets Groups Projects
Commit f12e5f7b authored by Damien Leong's avatar Damien Leong
Browse files

Adding pmix capability

parent 84457f11
No related branches found
No related tags found
1 merge request!239Adding PMIx capability
......@@ -24,7 +24,7 @@
register: stat_pam_slurm_adopt
- name: configure slurm
command: /tmp/slurm-{{ slurm_version }}/configure --prefix={{ slurm_dir }} --with-munge={{ munge_dir }} --enable-pam
command: /tmp/slurm-{{ slurm_version }}/configure --prefix={{ slurm_dir }} --with-munge={{ munge_dir }} --enable-pam --with-pmix=/usr/local/pmix/latest
args:
creates: "{{ slurm_dir }}/bin/srun"
chdir: /tmp/slurm-{{ slurm_version }}
......@@ -58,6 +58,19 @@
chdir: /tmp/slurm-{{ slurm_version }}/contribs/pmi
when: force_slurm_recompile is defined or not stat_srun.stat.exists
- name: build pmi2
command: make
args:
chdir: /tmp/slurm-{{ slurm_version }}/contribs/pmi2
when: force_slurm_recompile is defined or not stat_srun.stat.exists
- name: install pmi2
shell: make install
sudo: true
args:
chdir: /tmp/slurm-{{ slurm_version }}/contribs/pmi2
when: force_slurm_recompile is defined or not stat_srun.stat.exists
- name: build pam_slurm
command: make
args:
......@@ -83,6 +96,16 @@
when: force_slurm_recompile is defined or not stat_pam_slurm_adopt.stat.exists
sudo: true
- name: remove exist-slurm-latest-link
shell: rm -f /opt/slurm-latest
sudo: true
when: force_slurm_recompile is defined or not stat_srun.stat.exists
- name: put slurm-latest-link
shell: ln -s {{ slurm_dir }} /opt/slurm-latest
sudo: true
when: force_slurm_recompile is defined or not stat_srun.stat.exists
- name: add slurm log rotate config
template: src=slurmlog.j2 dest=/etc/logrotate.d/slurm mode=644
sudo: true
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