Skip to content

Commit

Permalink
mpi-families: Adapt mpi related pkgs for openEuler
Browse files Browse the repository at this point in the history
- Adapt mvapich2/openmpi for openEuler
- Add perl build requires for mpich (mpich-ucx-gnu12)

Signed-off-by: Yikun Jiang <[email protected]>
  • Loading branch information
Yikun authored and adrianreber committed Jan 25, 2023
1 parent 81e213f commit 7c8929a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components/mpi-families/libfabric/SPECS/libfabric.spec
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ BuildRequires: gcc make
Buildrequires: ofed
BuildRequires: rdma-core-devel infiniband-diags-devel
%endif
%if 0%{?rhel}
%if 0%{?rhel} || 0%{?openEuler}
Buildrequires: rdma-core-devel libibmad-devel
%endif
%ifarch x86_64
Expand Down
1 change: 1 addition & 0 deletions components/mpi-families/mpich/SPECS/mpich.spec
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ Patch0: config.pmix.patch
%global _default_patch_fuzz 2

Requires: prun%{PROJ_DELIM} >= 1.2
BuildRequires: perl
Requires: perl
BuildRequires: zlib-devel make
%if 0%{?suse_version}
Expand Down
2 changes: 1 addition & 1 deletion components/mpi-families/mvapich2/SPECS/mvapich2.spec
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Conflicts: %{pname}-%{compiler_family}%{PROJ_DELIM}
Buildrequires: ofed
BuildRequires: rdma-core-devel infiniband-diags-devel
%endif
%if 0%{?rhel}
%if 0%{?rhel} || 0%{?openEuler}
Buildrequires: rdma-core-devel libibmad-devel
%endif

Expand Down
4 changes: 2 additions & 2 deletions components/mpi-families/openmpi/SPECS/openmpi.spec
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ BuildRequires: libevent-devel
%endif
%if 0%{with_ofi}
BuildRequires: libfabric%{PROJ_DELIM}
%if 0%{?rhel}
%if 0%{?rhel} || 0%{?openEuler}
BuildRequires: libibverbs-devel
%endif
%ifarch x86_64
Expand All @@ -81,7 +81,7 @@ Requires: ucx%{PROJ_DELIM}
Requires: ucx-ib%{PROJ_DELIM}
%endif
BuildRequires: hwloc%{PROJ_DELIM}
%if 0%{?rhel}
%if 0%{?rhel} || 0%{?openEuler}
BuildRequires: libtool-ltdl
%endif
%if 0%{with_slurm}
Expand Down

0 comments on commit 7c8929a

Please sign in to comment.