| |
@@ -2,48 +2,27 @@
|
| |
# Copyright (c) 2018 Dave Love, University of Manchester
|
| |
# MIT licence, per Fedora policy.
|
| |
|
| |
- # Following scalapack
|
| |
- %{!?openblas_arches:%global openblas_arches x86_64 %{ix86} armv7hl %{power64} aarch64}
|
| |
- %ifarch %{openblas_arches}
|
| |
- %bcond_without openblas
|
| |
- %else
|
| |
- %bcond_with openblas
|
| |
- %endif
|
| |
-
|
| |
- %bcond_without check
|
| |
+ # This flag prevents the linkage to libptscotch.so
|
| |
+ %undefine _ld_as_needed
|
| |
|
| |
- %if 0%{?el6}%{?el7}
|
| |
- # For good enough C++
|
| |
- %global dts devtoolset-7-
|
| |
- %endif
|
| |
+ # Choose the build method
|
| |
+ %bcond_without cmake
|
| |
+ %bcond_with manual
|
| |
|
| |
- Name: superlu_dist
|
| |
- Version: 6.1.0
|
| |
- Release: 2%{?dist}
|
| |
- Summary: Solution of large, sparse, nonsymmetric systems of linear equations
|
| |
- License: BSD
|
| |
- URL: http://crd-legacy.lbl.gov/~xiaoye/SuperLU/
|
| |
- Source0: http://crd-legacy.lbl.gov/~xiaoye/SuperLU/superlu_dist_%version.tar.gz
|
| |
- Source1: superlu_dist-make.inc
|
| |
- # Use CFLAGS in INSTALL/Makefile (was only failing on some targets)
|
| |
- Patch1: superlu_dist-inst.patch
|
| |
- BuildRequires: scotch-devel
|
| |
- BuildRequires: %{?dts}gcc-c++
|
| |
- %if %{with openblas}
|
| |
- BuildRequires: openblas-devel
|
| |
- # [else] Probably not worth a bundled provides for the bundled partial cblas.
|
| |
+ # Choose if using 64-bit integers for indexing sparse matrices
|
| |
+ %if %{?__isa_bits:%{__isa_bits}}%{!?__isa_bits:32} == 64
|
| |
+ %bcond_with index64
|
| |
%endif
|
| |
- # The test program runs if we link with -lmetis but crashes if linked with
|
| |
- # -lscotchmetis.
|
| |
- BuildRequires: metis-devel
|
| |
|
| |
+ %if 0%{?rhel} && 0%{?rhel} < 7
|
| |
%ifarch %power64
|
| |
- %if 0%{?el6}
|
| |
%bcond_with mpich
|
| |
%else
|
| |
%bcond_without mpich
|
| |
%endif
|
| |
- %else
|
| |
+ %endif
|
| |
+
|
| |
+ %if 0%{?fedora} || 0%{?rhel} >= 7
|
| |
%bcond_without mpich
|
| |
%endif
|
| |
|
| |
@@ -62,10 +41,89 @@
|
| |
|
| |
# For library soname. Start at one in case we need the incompatible
|
| |
# v4 packaged separately.
|
| |
+ %if %{with manual}
|
| |
%global major 1
|
| |
- %global minor 3
|
| |
+ %global minor 4
|
| |
%global miner 0
|
| |
%global sover %major.%minor.%miner
|
| |
+ %endif
|
| |
+
|
| |
+ # Following scalapack
|
| |
+ %bcond_without optimized_blas
|
| |
+
|
| |
+ %if 0%{?fedora} || 0%{?rhel} >= 9
|
| |
+ %global blaslib flexiblas
|
| |
+ %if %{with index64}
|
| |
+ %global OPENBLASLINK -lflexiblas64
|
| |
+ %global OPENBLASLIB /libflexiblas64.so
|
| |
+ %else
|
| |
+ %global OPENBLASLINK -lflexiblas
|
| |
+ %global OPENBLASLIB /libflexiblas.so
|
| |
+ %endif
|
| |
+ %else
|
| |
+ %global blaslib openblas
|
| |
+ %if %{with index64}
|
| |
+ %global OPENBLASLINK -lopenblaso64
|
| |
+ %global OPENBLASLIB /libopenblaso64.so
|
| |
+ %else
|
| |
+ %global OPENBLASLINK -lopenblaso
|
| |
+ %global OPENBLASLIB /libopenblaso.so
|
| |
+ %endif
|
| |
+ %endif
|
| |
+
|
| |
+ %bcond_without check
|
| |
+
|
| |
+ %if %{with cmake}
|
| |
+ # Enable CombBLAS support
|
| |
+ %bcond_with CombBLAS
|
| |
+ %endif
|
| |
+
|
| |
+ # RHEL8 does not provide Metis64
|
| |
+ %if %{with index64}
|
| |
+ BuildRequires: metis64-devel
|
| |
+ %global METISLINK -lmetis64
|
| |
+ %global METISLIB %{_libdir}/libmetis64.so
|
| |
+ %global METISINC %{_includedir}/metis64.h
|
| |
+ %else
|
| |
+ BuildRequires: metis-devel
|
| |
+ %global METISLINK -lmetis
|
| |
+ %global METISLIB %{_libdir}/libmetis.so
|
| |
+ %global METISINC %{_includedir}/metis.h
|
| |
+ %endif
|
| |
+
|
| |
+ %if 0%{?el6}%{?el7}
|
| |
+ # For good enough C++
|
| |
+ %global dts devtoolset-7-
|
| |
+ %endif
|
| |
+
|
| |
+ Name: superlu_dist
|
| |
+ Version: 7.2.0
|
| |
+ Release: 3%{?dist}
|
| |
+ Epoch: 1
|
| |
+
|
| |
+ Summary: Solution of large, sparse, nonsymmetric systems of linear equations
|
| |
+ License: BSD
|
| |
+ URL: http://crd-legacy.lbl.gov/~xiaoye/SuperLU/
|
| |
+ Source0: https://github.com/xiaoyeli/superlu_dist/archive/v%version/%name-%version.tar.gz
|
| |
+ Source1: %name-make.inc
|
| |
+
|
| |
+ # Use CFLAGS in INSTALL/Makefile (was only failing on some targets)
|
| |
+ Patch0: %name-inst.patch
|
| |
+ Patch1: %name-fix_pkgconfig_creation.patch
|
| |
+
|
| |
+ Patch3: %name-scotch_parmetis.patch
|
| |
+
|
| |
+ # Longer tests take 1000 sec or timeout, so don't run them
|
| |
+ Patch4: %name-only_short_tests.patch
|
| |
+
|
| |
+ BuildRequires: scotch-devel
|
| |
+ BuildRequires: %{?dts}gcc-c++, dos2unix, chrpath
|
| |
+ %if %{with cmake}
|
| |
+ BuildRequires: cmake3
|
| |
+ %endif
|
| |
+ %if %{with optimized_blas}
|
| |
+ BuildRequires: %{blaslib}-devel
|
| |
+ %endif
|
| |
|
| |
|
| |
%global desc \
|
| |
@@ -96,7 +154,13 @@
|
| |
%if %{with openmpi}
|
| |
%package openmpi
|
| |
Summary: Solution of large, sparse, nonsymmetric systems of linear equations - openmpi
|
| |
- Requires: openmpi%{?_isa}
|
| |
+ BuildRequires: openmpi-devel
|
| |
+ # ptscotch-openmpi-devel-parmetis unavailable on rhel8 ??
|
| |
+ BuildRequires: ptscotch-openmpi-devel >= 6.0.5 %{!?el8:ptscotch-openmpi-devel-parmetis >= 6.0.5}
|
| |
+ %if %{with CombBLAS}
|
| |
+ BuildRequires: combblas-openmpi-devel
|
| |
+ %endif
|
| |
+ Requires: gcc-gfortran%{?_isa}
|
| |
|
| |
%description openmpi
|
| |
%desc
|
| |
@@ -105,10 +169,8 @@
|
| |
|
| |
%package openmpi-devel
|
| |
Summary: Development files for %name-openmpi
|
| |
- BuildRequires: openmpi-devel ptscotch-openmpi-devel-parmetis
|
| |
- BuildRequires: ptscotch-openmpi-devel
|
| |
Requires: openmpi-devel%{?_isa}
|
| |
- Requires: %name-openmpi%{?_isa} = %version-%release
|
| |
+ Requires: %name-openmpi%{?_isa} = %{epoch}:%version-%release
|
| |
|
| |
%description openmpi-devel
|
| |
Development files for %name-openmpi
|
| |
@@ -124,8 +186,13 @@
|
| |
%if %{with mpich}
|
| |
%package mpich
|
| |
Summary: Solution of large, sparse, nonsymmetric systems of linear equations - mpich
|
| |
- BuildRequires: mpich-devel ptscotch-mpich-devel ptscotch-mpich-devel-parmetis
|
| |
- Requires: mpich%{?_isa}
|
| |
+ BuildRequires: mpich-devel
|
| |
+ BuildRequires: ptscotch-mpich-devel >= 6.0.5
|
| |
+ BuildRequires: ptscotch-mpich-devel-parmetis >= 6.0.5
|
| |
+ %if %{with CombBLAS}
|
| |
+ BuildRequires: combblas-mpich-devel
|
| |
+ %endif
|
| |
+ Requires: gcc-gfortran%{?_isa}
|
| |
|
| |
%description mpich
|
| |
%desc
|
| |
@@ -136,7 +203,7 @@
|
| |
Summary: Development files for %name-mpich
|
| |
Requires: mpich-devel%{?_isa}
|
| |
Requires: ptscotch-mpich-devel%{?_isa} ptscotch-mpich-devel-parmetis%{?_isa}
|
| |
- Requires: %name-mpich%{?_isa} = %version-%release
|
| |
+ Requires: %name-mpich%{?_isa} = %{epoch}:%version-%release
|
| |
|
| |
%description mpich-devel
|
| |
Development files for %name-mpich
|
| |
@@ -144,12 +211,21 @@
|
| |
|
| |
|
| |
%prep
|
| |
- %setup -q -n SuperLU_DIST_%version
|
| |
+ %autosetup -n superlu_dist-%version -N
|
| |
+
|
| |
+ %if %{with manual}
|
| |
cp %SOURCE1 make.inc
|
| |
- %patch1 -p1 -b .orig
|
| |
+ %patch0 -p1 -b .orig
|
| |
+ %endif
|
| |
|
| |
+ %if %{with cmake}
|
| |
+ dos2unix CMakeLists.txt
|
| |
+ %patch1 -p1 -b .fix_pkgconfig_creation
|
| |
+ %endif
|
| |
+ %patch4 -p1 -b .only_short_tests
|
| |
|
| |
%build
|
| |
+ %if %{with manual}
|
| |
%{?dts:source /opt/rh/devtoolset-7/enable}
|
| |
export CFLAGS="%build_cflags" LDFLAGS="%build_ldflags" CXXFLAGS="%build_cxxflags"
|
| |
# This order to leave openmpi version in place for %%check
|
| |
@@ -159,8 +235,8 @@
|
| |
mpich) %_mpich_load ;;
|
| |
esac
|
| |
find -name \*.[oa] | xargs rm 2>/dev/null || true # no "clean" target
|
| |
- %if %{with openblas}
|
| |
- make SuperLUroot=$(pwd) INCLUDEDIR=$(pwd)/SRC V=1
|
| |
+ %if %{with optimized_blas}
|
| |
+ make SuperLUroot=$(pwd) BLASLIB=%{OPENBLASLINK} INCLUDEDIR=$(pwd)/SRC V=1
|
| |
%else
|
| |
make blaslib HEADER=. BLASLIB='../libblas.a' INCLUDEDIR=%_includedir V=1
|
| |
make SuperLUroot=$(pwd) BLASDEF= BLASLIB='../libblas.a' INCLUDEDIR=$(pwd)/SRC V=1
|
| |
@@ -170,11 +246,9 @@
|
| |
ar x ../SRC/libsuperlu_dist.a
|
| |
mpicxx -shared -Wl,-soname=libsuperlu_dist.so.%major \
|
| |
-o ../$m/libsuperlu_dist.so.%sover *.o -fopenmp \
|
| |
- -lptscotchparmetis -lscotchmetis -lscotch -lptscotch \
|
| |
- -lptscotcherr -lptscotcherrexit \
|
| |
- %if %{with openblas}
|
| |
- -lopenblas \
|
| |
- %endif
|
| |
+ -lptscotchparmetis -lscotchmetis -lscotch -lptscotch \
|
| |
+ -lptscotcherr -lptscotcherrexit \
|
| |
+ %{?with_optimized_blas:%OPENBLASLINK} \
|
| |
%{?__global_ldflags}
|
| |
popd
|
| |
case $m in
|
| |
@@ -186,10 +260,106 @@
|
| |
%_mpich_unload ;;
|
| |
esac
|
| |
done
|
| |
+ %endif
|
| |
+ # Manual build method
|
| |
|
| |
+ %if %{with cmake}
|
| |
+ %if 0%{?el7}
|
| |
+ %{?dts:source /opt/rh/devtoolset-7/enable}
|
| |
+ %endif
|
| |
|
| |
- %install
|
| |
+ %if %{with openmpi}
|
| |
+ %{_openmpi_load}
|
| |
+ mkdir -p build/openmpi
|
| |
+ %if 0%{?rhel} == 7
|
| |
+ . /opt/rh/devtoolset-7/enable
|
| |
+ %endif
|
| |
+ export CC=$MPI_BIN/mpicc
|
| |
+ export CXX=$MPI_BIN/mpic++
|
| |
+ export CXXFLAGS="%optflags -I$MPI_INCLUDE"
|
| |
+ export LDFLAGS="%build_ldflags -L$MPI_LIB -lptscotch"
|
| |
+ %cmake3 -B build/openmpi -DCMAKE_BUILD_TYPE:STRING=Release \
|
| |
+ -DBUILD_STATIC_LIBS:BOOL=FALSE \
|
| |
+ -DCMAKE_Fortran_COMPILER:FILEPATH=$MPI_BIN/mpifort \
|
| |
+ -DMPIEXEC_EXECUTABLE:FILEPATH=$MPI_BIN/mpiexec \
|
| |
+ %if %{with CombBLAS}
|
| |
+ -DTPL_COMBBLAS_INCLUDE_DIRS:PATH="$MPI_INCLUDE/CombBLAS;$MPI_INCLUDE/CombBLAS/3DSpGEMM;$MPI_INCLUDE/CombBLAS/Applications;$MPI_INCLUDE/CombBLAS/BipartiteMatchings" \
|
| |
+ -DTPL_COMBBLAS_LIBRARIES:STRING=$MPI_LIB/libCombBLAS.so -DTPL_ENABLE_COMBBLASLIB:BOOL=ON \
|
| |
+ %endif
|
| |
+ -DTPL_BLAS_LIBRARIES:FILEPATH=%{_libdir}%{OPENBLASLIB} -DTPL_ENABLE_LAPACKLIB:BOOL=OFF -DTPL_LAPACK_LIBRARIES:BOOL=OFF \
|
| |
+ -DMPI_C_HEADER_DIR:PATH="$MPI_INCLUDE -I%{METISINC}" \
|
| |
+ -DMPI_C_LINK_FLAGS:STRING="-L$MPI_LIB -lptscotch -lptscotcherr -lptscotcherrexit -L%{_libdir} %{METISLINK} -lscotch" \
|
| |
+ -DMPI_CXX_LINK_FLAGS:STRING="-L$MPI_LIB -lptscotch -lptscotcherr -lptscotcherrexit -L%{_libdir} %{METISLINK} -lscotch -fopenmp" \
|
| |
+ %if 0%{?fedora} || 0%{?rhel} < 8
|
| |
+ -DTPL_PARMETIS_INCLUDE_DIRS:PATH=$MPI_INCLUDE \
|
| |
+ -DTPL_PARMETIS_LIBRARIES:STRING="$MPI_LIB/libptscotchparmetis.so;%{METISLIB}" \
|
| |
+ %endif
|
| |
+ %if %{with index64}
|
| |
+ -DXSDK_INDEX_SIZE=64 \
|
| |
+ %else
|
| |
+ -DXSDK_INDEX_SIZE=32 \
|
| |
+ %endif
|
| |
+ %if 0%{?rhel} && 0%{?rhel} >= 8
|
| |
+ -DTPL_ENABLE_PARMETISLIB:BOOL=OFF \
|
| |
+ %endif
|
| |
+ -Denable_double:BOOL=ON -Denable_complex16:BOOL=ON \
|
| |
+ -Denable_examples:BOOL=ON -Denable_tests:BOOL=ON -DBUILD_TESTING:BOOL=ON \
|
| |
+ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DCMAKE_INSTALL_BINDIR:PATH=$MPI_BIN -DCMAKE_INSTALL_INCLUDEDIR:PATH=$MPI_INCLUDE/%{name} \
|
| |
+ -DCMAKE_INSTALL_LIBDIR:PATH=$MPI_LIB
|
| |
+
|
| |
+ %make_build V=1 -C build/openmpi
|
| |
+ %{_openmpi_unload}
|
| |
+ %endif
|
| |
+
|
| |
+ %if %{with mpich}
|
| |
+ %{_mpich_load}
|
| |
+ mkdir -p build/mpich
|
| |
+ %if 0%{?rhel} == 7
|
| |
+ . /opt/rh/devtoolset-7/enable
|
| |
+ %endif
|
| |
+ export CC=$MPI_BIN/mpicc
|
| |
+ export CXX=$MPI_BIN/mpic++
|
| |
+ export CFLAGS="%optflags -DPRNTlevel=0 -DDEBUGlevel=0"
|
| |
+ export CXXFLAGS="%optflags -I$MPI_INCLUDE"
|
| |
+ export LDFLAGS="%build_ldflags -L$MPI_LIB -lptscotch"
|
| |
+ %cmake3 -B build/mpich -DCMAKE_BUILD_TYPE:STRING=Release \
|
| |
+ -DBUILD_STATIC_LIBS:BOOL=FALSE \
|
| |
+ -DCMAKE_Fortran_COMPILER:FILEPATH=$MPI_BIN/mpifort \
|
| |
+ -DMPIEXEC_EXECUTABLE:FILEPATH=$MPI_BIN/mpiexec \
|
| |
+ %if %{with CombBLAS}
|
| |
+ -DTPL_COMBBLAS_INCLUDE_DIRS:PATH="$MPI_INCLUDE/CombBLAS;$MPI_INCLUDE/CombBLAS/3DSpGEMM;$MPI_INCLUDE/CombBLAS/Applications;$MPI_INCLUDE/CombBLAS/BipartiteMatchings" \
|
| |
+ -DTPL_COMBBLAS_LIBRARIES:STRING=$MPI_LIB/libCombBLAS.so -DTPL_ENABLE_COMBBLASLIB:BOOL=ON \
|
| |
+ %endif
|
| |
+ -DTPL_BLAS_LIBRARIES:FILEPATH=%{_libdir}%{OPENBLASLIB} -DTPL_ENABLE_LAPACKLIB:BOOL=OFF -DTPL_LAPACK_LIBRARIES:BOOL=OFF \
|
| |
+ -DMPI_C_HEADER_DIR:PATH="$MPI_INCLUDE -I%{METISINC}" \
|
| |
+ -DMPI_C_LINK_FLAGS:STRING="-L$MPI_LIB -lptscotch -lptscotcherr -lptscotcherrexit -L%{_libdir} %{METISLINK} -lscotch -fopenmp" \
|
| |
+ -DMPI_CXX_LINK_FLAGS:STRING="-L$MPI_LIB -lptscotch -lptscotcherr -lptscotcherrexit -L%{_libdir} %{METISLINK} -lscotch" \
|
| |
+ %if 0%{?fedora} || 0%{?rhel} < 8
|
| |
+ -DTPL_PARMETIS_INCLUDE_DIRS:PATH=$MPI_INCLUDE \
|
| |
+ -DTPL_PARMETIS_LIBRARIES:STRING="$MPI_LIB/libptscotchparmetis.so;%{METISLIB}" \
|
| |
+ %endif
|
| |
+ %if %{with index64}
|
| |
+ -DXSDK_INDEX_SIZE=64 \
|
| |
+ %else
|
| |
+ -DXSDK_INDEX_SIZE=32 \
|
| |
+ %endif
|
| |
+ %if 0%{?rhel} && 0%{?rhel} >= 8
|
| |
+ -DTPL_ENABLE_PARMETISLIB:BOOL=OFF \
|
| |
+ %endif
|
| |
+ -Denable_double:BOOL=ON -Denable_complex16:BOOL=ON \
|
| |
+ -Denable_examples:BOOL=ON -Denable_tests:BOOL=ON -DBUILD_TESTING:BOOL=ON \
|
| |
+ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DCMAKE_INSTALL_BINDIR:PATH=$MPI_BIN -DCMAKE_INSTALL_INCLUDEDIR:PATH=$MPI_INCLUDE/%{name} \
|
| |
+ -DCMAKE_INSTALL_LIBDIR:PATH=$MPI_LIB
|
| |
+
|
| |
+ %make_build -C build/mpich
|
| |
+ %{_mpich_unload}
|
| |
+ %endif
|
| |
+ %endif
|
| |
+ # CMake build method
|
| |
|
| |
+
|
| |
+ %install
|
| |
+ %if %{with manual}
|
| |
for m in %mpich %openmpi; do
|
| |
case $m in
|
| |
openmpi) %_openmpi_load ;;
|
| |
@@ -209,12 +379,43 @@
|
| |
mpich) %_mpich_unload ;;
|
| |
esac
|
| |
done
|
| |
+ %endif
|
| |
+ # Manual build method
|
| |
+
|
| |
+ %if %{with cmake}
|
| |
+ %if %{with openmpi}
|
| |
+ %{_openmpi_load}
|
| |
+ %make_install -C build/openmpi
|
| |
+ # Make sure all header files are installed
|
| |
+ install -m644 SRC/*.h %buildroot$MPI_INCLUDE/superlu_dist/
|
| |
+ rm -rf %buildroot$MPI_LIB/EXAMPLE
|
| |
+ rm -rf %buildroot$MPI_LIB/superlu_dist/FORTRAN/CMakeFiles
|
| |
+ chrpath -r $MPI_LIB %buildroot$MPI_LIB/libsuperlu_dist*
|
| |
+ %{_openmpi_unload}
|
| |
+ %endif
|
| |
+
|
| |
+ %if %{with mpich}
|
| |
+ %{_mpich_load}
|
| |
+ %make_install -C build/mpich
|
| |
+ # Make sure all header files are installed
|
| |
+ install -m644 SRC/*.h %buildroot$MPI_INCLUDE/superlu_dist/
|
| |
+
|
| |
+ rm -rf %buildroot$MPI_LIB/EXAMPLE
|
| |
+ rm -rf %buildroot$MPI_LIB/superlu_dist/FORTRAN/CMakeFiles
|
| |
+ chrpath -r $MPI_LIB %buildroot$MPI_LIB/libsuperlu_dist*
|
| |
+ %{_mpich_unload}
|
| |
+ %endif
|
| |
+ %endif
|
| |
+ # CMake build method
|
| |
+
|
| |
|
| |
- %check
|
| |
# This is hanging inconsistently in koji, normally on i686 and arm. I
|
| |
# can't debug it, so let's hope it doesn't deadlock in realistic
|
| |
# situations.
|
| |
%if %{with check}
|
| |
+
|
| |
+ %check
|
| |
+ %if %{with manual}
|
| |
%{?dts:source /opt/rh/devtoolset-7/enable}
|
| |
pushd EXAMPLE
|
| |
%if %{with openmpi}
|
| |
@@ -224,8 +425,36 @@
|
| |
export OMPI_MCA_rmaps_base_oversubscribe=1
|
| |
mpirun -n 4 ../pddrive -r 2 -c 2 g20.rua
|
| |
%endif
|
| |
- %endif
|
| |
make clean
|
| |
+ %endif
|
| |
+ # Manual build method
|
| |
+
|
| |
+ %if %{with cmake}
|
| |
+ %if %{with openmpi}
|
| |
+ %{_openmpi_load}
|
| |
+ pushd EXAMPLE
|
| |
+ # Do not perform on rhel8
|
| |
+ # rhbz#1744780
|
| |
+ %if 0%{?fedora}
|
| |
+ export OMPI_MCA_rmaps_base_oversubscribe=1
|
| |
+ mpirun -n 4 -v ../build/openmpi/EXAMPLE/pddrive -r 2 -c 2 g20.rua
|
| |
+ %endif
|
| |
+ popd
|
| |
+ %{_openmpi_unload}
|
| |
+ %endif
|
| |
+
|
| |
+ %if %{with mpich}
|
| |
+ %{_mpich_load}
|
| |
+ pushd EXAMPLE
|
| |
+ export OMPI_MCA_rmaps_base_oversubscribe=1
|
| |
+ mpirun -n 4 -v ../build/mpich/EXAMPLE/pddrive -r 2 -c 2 g20.rua
|
| |
+ popd
|
| |
+ %{_mpich_unload}
|
| |
+ %endif
|
| |
+ %endif
|
| |
+ # CMake build method
|
| |
+ %endif
|
| |
+ # Check
|
| |
|
| |
%if %{with openmpi}
|
| |
%files openmpi
|
| |
@@ -234,7 +463,10 @@
|
| |
|
| |
%files openmpi-devel
|
| |
%_libdir/openmpi/lib/*.so
|
| |
- %_includedir/openmpi-%_arch/superlu_dist
|
| |
+ %if %{with cmake}
|
| |
+ %_libdir/openmpi/lib/pkgconfig/*.pc
|
| |
+ %endif
|
| |
+ %_includedir/openmpi-%_arch/superlu_dist/
|
| |
%endif
|
| |
|
| |
%files doc
|
| |
@@ -248,11 +480,62 @@
|
| |
|
| |
%files mpich-devel
|
| |
%_libdir/mpich/lib/*.so
|
| |
- %_includedir/mpich-%_arch/superlu_dist
|
| |
+ %if %{with cmake}
|
| |
+ %_libdir/mpich/lib/pkgconfig/*.pc
|
| |
+ %endif
|
| |
+ %_includedir/mpich-%_arch/superlu_dist/
|
| |
%endif
|
| |
|
| |
|
| |
%changelog
|
| |
+ * Sat Apr 16 2022 Antonio Trande <sagitter@fedoraproject.org> - 1:7.2.0-3
|
| |
+ - Enable complex16 libraries
|
| |
+
|
| |
+ * Fri Apr 15 2022 Antonio Trande <sagitter@fedoraproject.org> - 1:7.2.0-2
|
| |
+ - Make sure installing all header libraries
|
| |
+
|
| |
+ * Sat Apr 02 2022 Antonio Trande <sagitter@fedoraproject.org> - 1:7.2.0-1
|
| |
+ - Release 7.2.0
|
| |
+
|
| |
+ * Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:6.1.1-9
|
| |
+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
| |
+
|
| |
+ * Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:6.1.1-8
|
| |
+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
| |
+
|
| |
+ * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:6.1.1-7
|
| |
+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
| |
+
|
| |
+ * Fri Aug 28 2020 Iñaki Úcar <iucar@fedoraproject.org> - 1:6.1.1-6
|
| |
+ - https://fedoraproject.org/wiki/Changes/FlexiBLAS_as_BLAS/LAPACK_manager
|
| |
+
|
| |
+ * Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:6.1.1-5
|
| |
+ - Second attempt - Rebuilt for
|
| |
+ https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
| |
+
|
| |
+ * Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:6.1.1-4
|
| |
+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
| |
+
|
| |
+ * Thu Apr 23 2020 Antonio Trande <sagitter@fedoraproject.org> - 1:6.3.1-2
|
| |
+ - Enable CombBLAS support
|
| |
+ - Add CMake build method
|
| |
+ - Specific index_size
|
| |
+
|
| |
+ * Mon Apr 13 2020 Dave Love <loveshack@fedoraproject.org> - 1:6.1.1-2
|
| |
+ - Introduce epoch and revert incompatible change to 6.3.1
|
| |
+
|
| |
+ * Thu Apr 9 2020 Dave Love <loveshack@fedoraproject.org> - 6.3.1-1
|
| |
+ - New version
|
| |
+
|
| |
+ * Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.1-2
|
| |
+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
| |
+
|
| |
+ * Thu Sep 12 2019 Dave Love <loveshack@fedoraproject.org> - 6.1.1-1
|
| |
+ - New version
|
| |
+
|
| |
+ * Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.0-3
|
| |
+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
| |
+
|
| |
* Thu Feb 14 2019 Orion Poplawski <orion@nwra.com> - 6.1.0-2
|
| |
- Rebuild for openmpi 3.1.3
|
| |
|
| |
ATTENTION! CMake method causes a 'soname' version change.
Changes in this release: