#1 Add CMake build method|Add CombBLAS support
Closed 2 years ago by sagitter. Opened 5 years ago by sagitter.
rpms/ sagitter/superlu_dist master  into  rawhide

file modified
+4
@@ -4,3 +4,7 @@ 

  /superlu_dist_5.4.0.tar.gz

  /superlu_dist_6.0.0.tar.gz

  /superlu_dist_6.1.0.tar.gz

+ /superlu_dist_6.2.0.tar.gz

+ /superlu_dist_6.3.1.tar.gz

+ /superlu_dist-6.4.0.tar.gz

+ /superlu_dist-7.2.0.tar.gz

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (superlu_dist_6.1.0.tar.gz) = dde1f8f47d2f2ff58f2421b563770ccd08b8ff1b5a2386d212554e6a283fd6a717dc2a20a31315727a2063e0c382a7fd94105ec608a6c99e54a68aace1bd7f3b

+ SHA512 (superlu_dist-7.2.0.tar.gz) = 89d2480e2c200e4588171b24ce21c9f1556c3ba917a561bdb6ac89e88c73ea982ba133ffddba632494098b68d8ad59ca28ec215f2cb92da12c518e87a2e1d5f7

@@ -0,0 +1,19 @@ 

+ --- a/superlu_dist.pc.orig.in	2018-12-09 21:29:35.000000000 +0100

+ +++ b/superlu_dist.pc.in	2019-02-24 14:58:05.388656330 +0100

+ @@ -1,12 +1,12 @@

+  prefix=@CMAKE_INSTALL_PREFIX@

+ -libdir=@pkgconfig_libdir@

+ -includedir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@

+ +libdir=@CMAKE_INSTALL_LIBDIR@

+ +includedir=@CMAKE_INSTALL_INCLUDEDIR@

+  

+  Name: @CMAKE_PROJECT_NAME@

+  Description: Distributed-memory direct solution of sparse systems of linear equations

+  Version: @PROJECT_VERSION@

+  URL: https://portal.nersc.gov/project/sparse/superlu/

+  

+ -Libs: -L${libdir} -lsuperlu_dist

+ +Libs: -L@CMAKE_INSTALL_LIBDIR@ -lsuperlu_dist

+  Libs.private: @BLAS_LIB@ -lm

+ -Cflags: -I${includedir}

+ +Cflags: -I@CMAKE_INSTALL_INCLUDEDIR@

file modified
+1 -1
@@ -18,7 +18,7 @@ 

  SuperLUroot	=

  DSUPERLULIB   	= $(SuperLUroot)/SRC/libsuperlu_dist.a

  BLASDEF		= -DUSE_VENDOR_BLAS

- BLASLIB		= -lopenblas

+ BLASLIB		= -lflexiblas

  

  LIBS		= $(DSUPERLULIB) -lptscotchparmetis -lmetis -lscotch \

  -lptscotch -lptscotcherr -lptscotcherrexit $(BLASLIB)

@@ -0,0 +1,16 @@ 

+ Index: superlu-dist/TEST/CMakeLists.txt

+ ===================================================================

+ --- a/TEST/CMakeLists.orig.txt

+ +++ b/TEST/CMakeLists.txt

+ @@ -7,8 +7,9 @@

+  endif ()

+  

+  set(MATRICES ../EXAMPLE/g20.rua)  # sample sparse matrix from a file

+ -set(NPROWS 1 2 5)	  # process rows

+ -set(NPCOLS 1 2 3) 	  # process columns

+ +# longer tests take 1000 sec or timeout, so don't run them

+ +set(NPROWS 1 2)		  # process rows

+ +set(NPCOLS 1 2) 	  # process columns 

+  set(NVAL 9 19)	  	  # generated matrix dimensions

+  set(NRHS 1 3)		  # number of RHS

+  # set(FILLRATIO 2 10)	  # estimated fill ratio

@@ -0,0 +1,12 @@ 

+ Index: superlu-dist/SRC/get_perm_c.c

+ ===================================================================

+ --- SRC/get_perm_c_parmetis.orig.c	2019-02-08 17:30:10.000000000 +0100

+ +++ SRC/get_perm_c_parmetis.c	2019-10-25 21:14:01.111512796 +0200

+ @@ -27,6 +27,7 @@

+  #include "superlu_dist_config.h"

+  #ifdef HAVE_PARMETIS

+  #include "parmetis.h"

+ +#include "scotch.h"

+  #endif

+  #include "superlu_ddefs.h"

+  

file modified
+338 -55
@@ -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:

  • Add CMake build method (available both build methods, by Make and by CMake)
  • Add CombBLAS support; CombBLAS will be soon built on Fedora 29+ and epel7 (bz #1680397), we need to wait it's included in the stable repositories before.

1 new commit added

  • Release 6.2.0|Enable CombBLAS support
4 years ago

1 new commit added

  • Disable tests with OpenMPI on EPEL8 due to rhbz#1744780
4 years ago

Sorry I'd forgotten about this after not seeing it initially.

I've updated to the current version, but couldn't get it to build against combblas, at least without cmake, and don't understand what all the patches are for. Can you have a look at updating your changes to the current version? The soname shouldn't change incompatibly for the current version according to abipkgdiff.

I've updated to the current version, but couldn't get it to build against combblas, at least without cmake, and don't understand what all the patches are for. Can you have a look at updating your changes to the current version? The soname shouldn't change incompatibly for the current version according to abipkgdiff.

Okay.

Have you read my mail?

1 new commit added

  • Adapted to the last release
4 years ago

Can you have a look at updating your changes to the current version?

Done.

1 new commit added

  • Update considering Epoch changes
4 years ago

1 new commit added

  • Release 6.4.0
3 years ago

1 new commit added

  • Release 7.2.0
2 years ago

1 new commit added

  • Enable complex16 libraries
2 years ago

Pull-Request has been closed by sagitter

2 years ago