Skip to content

Commit

Permalink
Pass "--mpi=pmix" to srun in the tests
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
  • Loading branch information
martin-g committed Jul 28, 2023
1 parent d8d6d33 commit ff98626
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions components/rms/openpbs/SPECS/openpbs.spec
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ BuildRequires: automake
BuildRequires: libtool
BuildRequires: libtool-ltdl-devel
BuildRequires: hwloc%{PROJ_DELIM}
#BuildRequires: libevent-devel
#BuildRequires: pmix%{PROJ_DELIM}
BuildRequires: libevent-devel
BuildRequires: pmix%{PROJ_DELIM}
BuildRequires: libX11-devel
BuildRequires: libXt-devel
BuildRequires: libedit-devel
Expand Down Expand Up @@ -283,7 +283,8 @@ cd build
../configure CFLAGS="-fPIC" \
PBS_VERSION=%{pbs_version} \
--prefix=%{pbs_prefix} \
--with-hwloc=%{OHPC_LIBS}/hwloc \
--with-hwloc=%{OHPC_LIBS}/hwloc \
--with-pmix=%{OHPC_ADMIN}/pmix \
%if %{with ptl}
--enable-ptl \
%endif
Expand Down
1 change: 1 addition & 0 deletions tests/ci/setup_slurm_and_run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ while true; do
sleep "${retry_counter}"
done

srun --mpi=list
srun -N2 hostname

# Figure out which tests we need to run.
Expand Down
2 changes: 1 addition & 1 deletion tests/common/functions
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ run_mpi_binary () {

if [ -z "$scalasca" ];then
#mpi_launcher="prun"
mpi_launcher="mpirun --mca plm_base_verbose 100"
mpi_launcher="mpirun --mpi=pmix --mca plm_base_verbose 100"
else
mpi_launcher="scalasca -analyze prun"
fi
Expand Down

0 comments on commit ff98626

Please sign in to comment.