Skip to content

Commit

Permalink
Fixes #6: Use ansible_processor_nproc for MPI compile CPU core count.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Nov 21, 2022
1 parent 40db20d commit 497edd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
creates: "{{ hpl_root }}/tmp/COMPILE_MPI_COMPLETE"
loop:
- ./configure --with-device=ch3:sock FFLAGS=-fallow-argument-mismatch
- make -j4
- "make -j{{ ansible_processor_nproc }}"

- name: Install MPI.
ansible.builtin.command: make install
Expand Down

0 comments on commit 497edd3

Please sign in to comment.