Skip to content

Commit

Permalink
rms/slurm: re-enable pmix in slurm
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Reber <[email protected]>
  • Loading branch information
adrianreber committed Jul 24, 2023
1 parent 1783619 commit 65e055c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/rms/slurm/SPECS/slurm.spec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

%include %{_sourcedir}/OHPC_macros
%global _with_mysql 1
#global _with_pmix --with-pmix=%{OHPC_ADMIN}/pmix
%global _with_pmix --with-pmix=%{OHPC_ADMIN}/pmix
%global _with_hwloc 1
%global _with_numa 1
%global _with_slurmrestd 1
Expand Down Expand Up @@ -393,6 +393,9 @@ select information.
%if 0%{?rhel} || 0%{?openEuler}
export PATH="$PWD/bin:$PATH"
%endif
%if %{with pmix}
module load hwloc
%endif
%configure \
%{?_without_debug:--disable-debug} \
%{?_with_pam_dir} \
Expand Down
2 changes: 2 additions & 0 deletions tests/common/functions
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,8 @@ run_mpi_binary () {
if [ "$RESOURCE_MANAGER" = "slurm" ]; then
if [ ! -z "$SIMPLE_CI" ]; then
timeout=5 # default job timeout (in minutes)
# Do not use pmix in the SIMPLE_CI case (GitHub Actions)
unset OHPC_MPI_LAUNCHERS
else
timeout=2 # default job timeout (in minutes)
fi
Expand Down

0 comments on commit 65e055c

Please sign in to comment.