Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require hwloc-ohpc for all OSes #1851

Closed
wants to merge 11 commits into from
2 changes: 1 addition & 1 deletion components/mpi-families/openmpi/SPECS/openmpi.spec
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
%{!?with_lustre: %define with_lustre 0}
%{!?with_slurm: %define with_slurm 0}
%{!?with_tm: %global with_tm 1}
%{!?with_pmix: %define with_pmix 1}
%{!?with_pmix: %define with_pmix 0}
%{!?with_ofi: %define with_ofi 1}
%{!?with_ucx: %define with_ucx 1}

Expand Down
11 changes: 7 additions & 4 deletions components/rms/openpbs/SPECS/openpbs.spec
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: libtool-ltdl-devel
BuildRequires: hwloc-ohpc
BuildRequires: hwloc%{PROJ_DELIM}
BuildRequires: libevent-devel
BuildRequires: pmix%{PROJ_DELIM}
BuildRequires: libX11-devel
BuildRequires: libXt-devel
BuildRequires: libedit-devel
Expand Down Expand Up @@ -139,8 +141,8 @@ Requires: insserv-compat
Requires: smtpdaemon
Requires: hostname
%endif
%if 0%{?rhel} >= 7
Requires: hwloc-ohpc
Requires: hwloc%{PROJ_DELIM}
%if 0%{?rhel} >= 7 || 0%{?openEuler}
Requires: chkconfig
%endif
Requires: libical
Expand Down Expand Up @@ -281,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
2 changes: 1 addition & 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
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
1 change: 1 addition & 0 deletions tests/common/functions
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ run_mpi_binary () {

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