sundials/sundials.spec

1414 lines
47 KiB
RPMSpec
Raw Normal View History

2016-10-17 12:40:04 +00:00
## Debug builds?
%bcond_with debug
2016-10-17 12:40:04 +00:00
#
# Enable pthread support
%bcond_with pthread
#
%define _legacy_common_support 1
2020-08-22 10:06:54 +00:00
%define _lto_cflags %{nil}
2017-03-03 19:09:53 +00:00
%global with_mpich 1
%global with_openmpi 1
## BLAS ##
2022-10-29 16:58:29 +00:00
%if 0%{?fedora} || 0%{?rhel} >= 9
%global blaslib flexiblas
%global blasvar %{nil}
%else
%global blaslib openblas
%global blasvar o
2016-01-17 13:24:23 +00:00
%endif
###########
2016-01-17 13:24:23 +00:00
2020-04-26 16:33:56 +00:00
%global with_hypre 1
%ifnarch s390x
2022-11-13 16:31:43 +00:00
%global with_openmpicheck 1
2020-04-26 16:33:56 +00:00
%global with_mpichcheck 1
%endif
2019-04-25 19:20:14 +00:00
###########
2020-04-26 16:33:56 +00:00
%global with_sercheck 1
2017-11-08 20:48:45 +00:00
2018-09-05 09:12:20 +00:00
## PETSc ##
%ifnarch riscv64
2021-11-06 19:56:43 +00:00
%global with_petsc 1
%else
%global with_petsc 0
%endif
###########
## SuperLUMT ##
%global with_superlumt 0
###########
## superlu_dist is not compiled with index_size64 enabled ##
%global with_superludist 0
2018-09-05 09:12:20 +00:00
###########
2023-01-14 19:57:40 +00:00
%if 0%{?rhel} && 0%{?rhel} >= 9
# KLU support
%global with_klu 1
%global with_klu64 0
##########
# Fortran
%if 0%{?with_klu64}
2019-04-23 10:30:05 +00:00
%global with_fortran 1
2023-01-14 19:57:40 +00:00
%endif
%if 0%{?with_klu}
2019-04-23 10:30:05 +00:00
%global with_fortran 0
2019-02-20 19:35:23 +00:00
%endif
2023-01-14 19:57:40 +00:00
##########
%endif
%if 0%{?fedora}
%ifarch s390x x86_64 %{power64} aarch64
%global with_klu64 1
2023-01-14 19:57:40 +00:00
%global with_fortran 1
%endif
%ifarch %{arm} %{ix86}
%global with_klu 1
2023-01-14 19:57:40 +00:00
%global with_fortran 0
%endif
%endif
%if 0%{?rhel} && 0%{?rhel} == 8
%global with_klu 1
2023-01-14 19:57:40 +00:00
%global with_fortran 0
%endif
##########
2007-08-07 10:23:21 +00:00
Summary: Suite of nonlinear solvers
Name: sundials
2021-10-20 09:43:21 +00:00
Version: 5.8.0
Release: 11.0.riscv64%{?dist}
2007-08-07 10:23:21 +00:00
# SUNDIALS is licensed under BSD with some additional (but unrestrictive) clauses.
# Check the file 'LICENSE' for details.
License: BSD
2020-04-24 18:14:27 +00:00
URL: https://computation.llnl.gov/projects/%{name}/
Source0: https://github.com/LLNL/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
2007-08-07 10:23:21 +00:00
2016-10-04 13:21:49 +00:00
# This patch rename superLUMT library
2020-11-20 10:55:04 +00:00
Patch0: %{name}-5.5.0-set_superlumt_name.patch
2018-06-06 09:37:24 +00:00
# This patch rename superLUMT64 library
2020-11-20 10:55:04 +00:00
Patch1: %{name}-5.5.0-set_superlumt64_name.patch
2018-06-06 09:37:24 +00:00
2020-08-22 09:53:55 +00:00
Patch2: %{name}-change_petsc_variable.patch
BuildRequires: make
2019-04-23 10:30:05 +00:00
%if 0%{?with_fortran}
BuildRequires: gcc-gfortran
2019-04-23 10:30:05 +00:00
%endif
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: gcc, gcc-c++
%if 0%{?epel}
2018-10-15 17:01:28 +00:00
BuildRequires: epel-rpm-macros
2017-11-08 20:48:45 +00:00
%endif
BuildRequires: cmake3 >= 3.10
BuildRequires: %{blaslib}-devel
%if 0%{?with_superlumt}
2019-06-29 13:02:09 +00:00
%ifarch s390x x86_64 %{power64} aarch64
2018-06-06 09:37:24 +00:00
BuildRequires: SuperLUMT64-devel
%endif
%ifarch %{arm} %{ix86}
2016-10-04 13:21:49 +00:00
BuildRequires: SuperLUMT-devel
2016-10-06 12:57:29 +00:00
%endif
%endif
# KLU support
%if 0%{?with_klu64}
BuildRequires: suitesparse64-devel
%endif
%if 0%{?with_klu}
BuildRequires: suitesparse-devel
%endif
##########
%if 0%{?rhel} && 0%{?rhel} == 8
BuildRequires: rsh
%endif
2019-04-23 10:30:05 +00:00
%if 0%{?with_fortran}
2017-11-09 10:39:42 +00:00
Requires: gcc-gfortran%{?_isa}
2019-04-23 10:30:05 +00:00
%endif
2007-08-07 10:23:21 +00:00
%description
SUNDIALS is a SUite of Non-linear DIfferential/ALgebraic equation Solvers
for use in writing mathematical software.
SUNDIALS was implemented with the goal of providing robust time integrators
and nonlinear solvers that can easily be incorporated into existing simulation
codes. The primary design goals were to require minimal information from the
user, allow users to easily supply their own data structures underneath the
solvers, and allow for easy incorporation of user-supplied linear solvers and
preconditioners.
%package devel
Summary: Suite of nonlinear solvers (developer files)
Requires: %{name}%{?_isa} = %{version}-%{release}
2020-11-20 10:55:04 +00:00
Provides: %{name}-fortran-static = %{version}-%{release}
2007-08-07 10:23:21 +00:00
%description devel
SUNDIALS is a SUite of Non-linear DIfferential/ALgebraic equation Solvers
for use in writing mathematical software.
2016-03-26 18:48:58 +00:00
This package contains the developer files (.so file, header files).
2016-01-17 13:24:23 +00:00
#############################################################################
#########
%if 0%{?with_openmpi}
%package openmpi
Summary: Suite of nonlinear solvers
BuildRequires: openmpi-devel
2018-05-14 11:57:06 +00:00
BuildRequires: hypre-openmpi-devel
2018-09-05 09:12:20 +00:00
%if 0%{?with_petsc}
2019-04-23 10:30:05 +00:00
BuildRequires: petsc-openmpi-devel >= 3.10
BuildRequires: scalapack-openmpi-devel
BuildRequires: hdf5-openmpi-devel
2018-09-05 09:12:20 +00:00
%endif
%if 0%{?with_superludist}
BuildRequires: superlu_dist-openmpi-devel
%endif
2018-05-14 11:57:06 +00:00
2019-04-23 10:30:05 +00:00
%if 0%{?with_fortran}
Requires: gcc-gfortran%{?_isa}
2019-04-23 10:30:05 +00:00
%endif
2018-06-06 09:37:24 +00:00
%description openmpi
SUNDIALS is a SUite of Non-linear DIfferential/ALgebraic equation Solvers
for use in writing mathematical software.
This package contains the Sundials Fortran parallel OpenMPI libraries.
%package openmpi-devel
2017-11-09 10:39:42 +00:00
Summary: Suite of nonlinear solvers
Requires: %{name}-openmpi%{?_isa} = %{version}-%{release}
2020-11-20 10:55:04 +00:00
Provides: %{name}-openmpi-fortran-static = %{version}-%{release}
%description openmpi-devel
SUNDIALS is a SUite of Non-linear DIfferential/ALgebraic equation Solvers
for use in writing mathematical software.
This package contains the Sundials parallel OpenMPI devel libraries and
header files.
2015-11-12 13:39:27 +00:00
%endif
2016-01-17 13:24:23 +00:00
######
###############################################################################
######
%if 0%{?with_mpich}
%package mpich
Summary: Suite of nonlinear solvers
BuildRequires: mpich-devel
2016-10-04 13:21:49 +00:00
BuildRequires: hypre-mpich-devel
2018-09-05 09:12:20 +00:00
%if 0%{?with_petsc}
2019-04-23 10:30:05 +00:00
BuildRequires: petsc-mpich-devel >= 3.10
BuildRequires: scalapack-mpich-devel
BuildRequires: hdf5-mpich-devel
2018-09-05 09:12:20 +00:00
%endif
%if 0%{?with_superludist}
BuildRequires: superlu_dist-mpich-devel
%endif
2019-04-23 10:30:05 +00:00
%if 0%{?with_fortran}
Requires: gcc-gfortran%{?_isa}
2019-04-23 10:30:05 +00:00
%endif
2018-06-06 09:37:24 +00:00
2016-01-17 13:24:23 +00:00
%description mpich
SUNDIALS is a SUite of Non-linear DIfferential/ALgebraic equation Solvers
for use in writing mathematical software.
This package contains the Sundials parallel MPICH libraries.
%package mpich-devel
2017-11-09 10:39:42 +00:00
Summary: Suite of nonlinear solvers
2016-01-17 13:24:23 +00:00
Requires: %{name}-mpich%{?_isa} = %{version}-%{release}
2020-11-20 10:55:04 +00:00
Provides: %{name}-mpich-fortran-static = %{version}-%{release}
2016-01-17 13:24:23 +00:00
%description mpich-devel
SUNDIALS is a SUite of Non-linear DIfferential/ALgebraic equation Solvers
for use in writing mathematical software.
This package contains the Sundials parallel MPICH devel libraries and
header files.
%endif
######
#############################################################################
2007-08-07 10:23:21 +00:00
%package doc
Summary: Suite of nonlinear solvers (documentation)
BuildArch: noarch
2007-08-07 10:23:21 +00:00
%description doc
SUNDIALS is a SUite of Non-linear DIfferential/ALgebraic equation Solvers
for use in writing mathematical software.
2016-01-17 13:24:23 +00:00
This package contains the documentation files.
2007-08-07 10:23:21 +00:00
%prep
2016-01-17 13:24:23 +00:00
%setup -qc
pushd %{name}-%{version}
2017-11-08 20:48:45 +00:00
2019-06-29 13:02:09 +00:00
%ifarch s390x x86_64 %{power64} aarch64
%patch1 -p0 -b .set_superlumt64_name
2018-06-06 09:37:24 +00:00
%endif
%ifarch %{arm} %{ix86}
%patch0 -p0 -b .set_superlumt_name
2016-10-06 12:57:29 +00:00
%endif
2017-11-08 20:48:45 +00:00
mv src/arkode/README.md src/README-arkode.md
mv src/cvode/README.md src/README-cvode.md
mv src/cvodes/README.md src/README-cvodes.md
mv src/ida/README.md src/README-ida.md
mv src/idas/README.md src/README.idas.md
mv src/kinsol/README.md src/README-kinsol.md
2016-01-17 13:24:23 +00:00
popd
%if 0%{?with_openmpi}
cp -a sundials-%{version} buildopenmpi_dir
%endif
%if 0%{?with_mpich}
cp -a sundials-%{version} buildmpich_dir
%endif
2007-08-07 10:23:21 +00:00
%build
2020-12-10 17:32:53 +00:00
mkdir -p sundials-%{version}/build
2018-09-05 09:12:20 +00:00
export LIBBLASLINK=-l%{blaslib}%{blasvar}
export INCBLAS=%{_includedir}/%{blaslib}
2018-06-06 09:37:24 +00:00
%if 0%{?with_superlumt}
2019-06-29 13:02:09 +00:00
%ifarch s390x x86_64 %{power64} aarch64
2018-06-06 09:37:24 +00:00
export LIBSUPERLUMTLINK=-lsuperlumt64_d
%endif
%ifarch %{arm} %{ix86}
2017-11-08 20:48:45 +00:00
export LIBSUPERLUMTLINK=-lsuperlumt_d
2018-06-06 09:37:24 +00:00
%endif
%endif
2019-06-29 13:02:09 +00:00
2016-10-17 12:40:04 +00:00
%if %{with debug}
2018-11-08 18:54:18 +00:00
%undefine _hardened_build
export CFLAGS=" "
export FFLAGS=" "
2019-04-23 10:30:05 +00:00
%global _cmake cmake3
2020-12-10 17:32:53 +00:00
%_cmake -B sundials-%{version}/build -S sundials-%{version} \
2016-10-17 12:40:04 +00:00
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
-DCMAKE_BUILD_TYPE:STRING=Debug \
2020-08-22 09:53:55 +00:00
-DCMAKE_C_FLAGS_DEBUG:STRING="-O0 -g %{__global_ldflags} -I$INCBLAS" \
-DCMAKE_Fortran_FLAGS_DEBUG:STRING="-O0 -g %{__global_ldflags} -I$INCBLAS" \
-DCMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING="%{__global_ldflags} $LIBBLASLINK $LIBSUPERLUMTLINK" \
2016-10-17 12:40:04 +00:00
%else
export CFLAGS="%{build_cflags}"
export CFLAGS="%{build_fflags}"
2020-12-10 17:32:53 +00:00
%cmake3 -B sundials-%{version}/build -S sundials-%{version} \
2020-01-25 17:55:42 +00:00
%endif
%if 0%{?with_klu64}
2018-10-15 17:01:28 +00:00
-DSUNDIALS_INDEX_SIZE:STRING=64 \
-DKLU_ENABLE=ON -DKLU_LIBRARY_DIR:PATH=%{_libdir} -DKLU_LIBRARY=%{_libdir}/libklu64.so \
-DAMD_LIBRARY=%{_libdir}/libamd64.so -DAMD_LIBRARY_DIR:PATH=%{_libdir} \
-DBTF_LIBRARY=%{_libdir}/libbtf64.so -DBTF_LIBRARY_DIR:PATH=%{_libdir} \
-DCOLAMD_LIBRARY=%{_libdir}/libcolamd64.so -DCOLAMD_LIBRARY_DIR:PATH=%{_libdir} \
-DKLU_INCLUDE_DIR:PATH=%{_includedir}/suitesparse \
%endif
%if 0%{?with_klu}
-DSUNDIALS_INDEX_SIZE:STRING=32 \
-DKLU_ENABLE=ON -DKLU_LIBRARY_DIR:PATH=%{_libdir} -DKLU_LIBRARY=%{_libdir}/libklu.so \
-DAMD_LIBRARY=%{_libdir}/libamd.so -DAMD_LIBRARY_DIR:PATH=%{_libdir} \
-DBTF_LIBRARY=%{_libdir}/libbtf.so -DBTF_LIBRARY_DIR:PATH=%{_libdir} \
-DCOLAMD_LIBRARY=%{_libdir}/libcolamd.so -DCOLAMD_LIBRARY_DIR:PATH=%{_libdir} \
-DKLU_INCLUDE_DIR:PATH=%{_includedir}/suitesparse \
%endif
2016-01-17 13:24:23 +00:00
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
-DCMAKE_BUILD_TYPE:STRING=Release \
2018-10-15 17:01:28 +00:00
-DCMAKE_C_FLAGS_RELEASE:STRING="%{optflags} -I$INCBLAS" \
-DCMAKE_Fortran_FLAGS_RELEASE:STRING="%{optflags} -I$INCBLAS" \
-DCMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING="%{__global_ldflags} $LIBBLASLINK $LIBSUPERLUMTLINK" \
2021-02-24 18:01:26 +00:00
-DCMAKE_INSTALL_INCLUDEDIR:PATH=%{_includedir} \
2017-11-08 20:48:45 +00:00
-DLAPACK_ENABLE:BOOL=OFF \
2018-10-15 17:01:28 +00:00
-DCMAKE_MODULE_LINKER_FLAGS:STRING="%{__global_ldflags}" \
2018-11-08 18:54:18 +00:00
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \
2019-04-23 10:30:05 +00:00
-DPYTHON_EXECUTABLE:FILEPATH=%{__python3} \
-DEXAMPLES_ENABLE_CXX:BOOL=ON -DEXAMPLES_ENABLE_C:BOOL=ON \
2016-01-17 13:24:23 +00:00
-DCMAKE_SKIP_RPATH:BOOL=YES -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES \
2020-11-20 10:55:04 +00:00
-DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=ON \
2016-01-17 13:24:23 +00:00
-DMPI_ENABLE:BOOL=OFF \
2019-04-23 10:30:05 +00:00
%if 0%{?with_fortran}
-DF77_INTERFACE_ENABLE:BOOL=ON \
-DEXAMPLES_ENABLE_F77:BOOL=ON \
%if %{?__isa_bits:%{__isa_bits}}%{!?__isa_bits:32} == 64
2019-04-23 10:30:05 +00:00
-DF2003_INTERFACE_ENABLE:BOOL=ON \
%endif
2019-04-23 10:30:05 +00:00
-DEXAMPLES_ENABLE_F90:BOOL=ON \
-DFortran_INSTALL_MODDIR:PATH=%{_fmoddir}/%{name} \
%endif
2016-01-17 13:24:23 +00:00
-DUSE_GENERIC_MATH:BOOL=ON \
2016-03-26 18:48:58 +00:00
-DOPENMP_ENABLE:BOOL=ON \
%if %{with pthread}
2016-01-17 13:24:23 +00:00
-DPTHREAD_ENABLE:BOOL=ON \
%endif
2016-10-04 13:21:49 +00:00
-DSUNDIALS_PRECISION:STRING=double \
%if 0%{?with_superlumt}
2016-10-04 13:21:49 +00:00
-DSUPERLUMT_ENABLE:BOOL=ON \
-DSUPERLUMT_INCLUDE_DIR:PATH=%{_includedir}/SuperLUMT \
-DSUPERLUMT_LIBRARY_DIR:PATH=%{_libdir} \
-DSUPERLUMT_THREAD_TYPE:STRING=OpenMP \
2016-10-06 12:57:29 +00:00
%endif
-DSUPERLUDIST_ENABLE:BOOL=OFF \
2016-10-04 13:21:49 +00:00
-DHYPRE_ENABLE:BOOL=OFF \
2020-05-28 20:33:43 +00:00
-DEXAMPLES_INSTALL:BOOL=OFF \
2020-12-10 17:32:53 +00:00
-DSUNDIALS_BUILD_WITH_MONITORING:BOOL=ON -Wno-dev
2020-12-10 17:32:53 +00:00
%make_build V=1 -C sundials-%{version}/build
2016-01-17 13:24:23 +00:00
#############################################################################
#######
2015-04-17 11:15:47 +00:00
%if 0%{?with_openmpi}
2020-01-05 20:24:08 +00:00
2020-12-10 17:32:53 +00:00
mkdir -p buildopenmpi_dir/build
2015-04-17 11:15:47 +00:00
%{_openmpi_load}
2017-11-08 20:48:45 +00:00
## Blas
export LIBBLASLINK=-l%{blaslib}%{blasvar}
export INCBLAS=%{_includedir}/%{blaslib}
2017-11-08 20:48:45 +00:00
##
2017-11-08 20:48:45 +00:00
## SuperLUMT
%if 0%{?with_superlumt}
2019-06-29 13:02:09 +00:00
%ifarch s390x x86_64 %{power64} aarch64
2018-06-06 09:37:24 +00:00
export LIBSUPERLUMTLINK=-lsuperlumt64_d
%endif
%ifarch %{arm} %{ix86}
2017-11-08 20:48:45 +00:00
export LIBSUPERLUMTLINK=-lsuperlumt_d
2018-06-06 09:37:24 +00:00
%endif
%endif
2017-11-08 20:48:45 +00:00
## Hypre
%if 0%{?with_hypre}
2018-05-14 11:57:06 +00:00
export LIBHYPRELINK="-L$MPI_LIB -lHYPRE"
%endif
2017-11-08 20:48:45 +00:00
##
2019-04-25 19:20:14 +00:00
# Force MPI compilers
export CC=$MPI_BIN/mpicc
export CXX=$MPI_BIN/mpic++
%if 0%{?fedora}
export FC=$MPI_BIN/mpifort
%else
export FC=$MPI_BIN/mpif77
%endif
##
2016-10-17 12:40:04 +00:00
%if %{with debug}
2018-11-08 18:54:18 +00:00
%undefine _hardened_build
export CFLAGS=" "
export FFLAGS=" "
2019-04-23 10:30:05 +00:00
%global _cmake cmake3
2020-12-10 17:32:53 +00:00
%_cmake -B buildopenmpi_dir/build -S buildopenmpi_dir \
2016-10-17 12:40:04 +00:00
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
-DCMAKE_BUILD_TYPE:STRING=Debug \
2020-08-22 09:53:55 +00:00
-DCMAKE_C_FLAGS_DEBUG:STRING="-O0 -g %{__global_ldflags} -I$INCBLAS" \
-DCMAKE_Fortran_FLAGS_DEBUG:STRING="-O0 -g %{__global_ldflags} -I$INCBLAS" \
-DCMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING="%{__global_ldflags} $LIBBLASLINK $LIBSUPERLUMTLINK $LIBHYPRELINK" \
2016-10-17 12:40:04 +00:00
%else
export CFLAGS="%{build_cflags}"
export CFLAGS="%{build_fflags}"
2020-12-10 17:32:53 +00:00
%cmake3 -B buildopenmpi_dir/build -S buildopenmpi_dir \
2020-01-25 17:55:42 +00:00
%endif
2018-06-06 09:37:24 +00:00
%if %{?__isa_bits:%{__isa_bits}}%{!?__isa_bits:32} == 64
2018-10-15 17:01:28 +00:00
-DSUNDIALS_INDEX_SIZE:STRING=64 \
%if 0%{?with_klu64}
-DKLU_ENABLE=ON -DKLU_LIBRARY_DIR:PATH=%{_libdir} -DKLU_LIBRARY=%{_libdir}/libklu64.so \
-DAMD_LIBRARY=%{_libdir}/libamd64.so -DAMD_LIBRARY_DIR:PATH=%{_libdir} \
-DBTF_LIBRARY=%{_libdir}/libbtf64.so -DBTF_LIBRARY_DIR:PATH=%{_libdir} \
-DCOLAMD_LIBRARY=%{_libdir}/libcolamd64.so -DCOLAMD_LIBRARY_DIR:PATH=%{_libdir} \
-DKLU_INCLUDE_DIR:PATH=%{_includedir}/suitesparse \
2018-06-06 09:37:24 +00:00
%endif
%endif
%if %{?__isa_bits:%{__isa_bits}}%{!?__isa_bits:32} == 32
-DSUNDIALS_INDEX_SIZE:STRING=32 \
%if 0%{?with_klu}
-DKLU_ENABLE=ON -DKLU_LIBRARY_DIR:PATH=%{_libdir} -DKLU_LIBRARY=%{_libdir}/libklu.so \
-DAMD_LIBRARY=%{_libdir}/libamd.so -DAMD_LIBRARY_DIR:PATH=%{_libdir} \
-DBTF_LIBRARY=%{_libdir}/libbtf.so -DBTF_LIBRARY_DIR:PATH=%{_libdir} \
-DCOLAMD_LIBRARY=%{_libdir}/libcolamd.so -DCOLAMD_LIBRARY_DIR:PATH=%{_libdir} \
-DKLU_INCLUDE_DIR:PATH=%{_includedir}/suitesparse \
%endif
%endif
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
-DCMAKE_BUILD_TYPE:STRING=Release \
2018-10-15 17:01:28 +00:00
-DCMAKE_C_FLAGS_RELEASE:STRING="%{optflags} -I$INCBLAS" \
-DCMAKE_Fortran_FLAGS_RELEASE:STRING="%{optflags} -I$INCBLAS" \
-DCMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING="%{__global_ldflags} $LIBBLASLINK $LIBSUPERLUMTLINK $LIBHYPRELINK" \
2021-02-24 18:01:26 +00:00
-DMPI_INCLUDE_PATH:PATH=$MPI_INCLUDE \
-DCMAKE_INSTALL_INCLUDEDIR:PATH=$MPI_INCLUDE \
2017-11-08 20:48:45 +00:00
-DLAPACK_ENABLE:BOOL=OFF \
2018-09-05 09:12:20 +00:00
%if 0%{?with_petsc}
-DPETSC_ENABLE:BOOL=ON \
-DPETSC_INCLUDES:PATH=$MPI_INCLUDE/petsc \
-DPETSC_LIBRARIES:PATH=$MPI_LIB/libpetsc.so \
-DPETSC_EXECUTABLE_RUNS=YES \
2016-10-17 12:40:04 +00:00
%endif
2019-04-23 10:30:05 +00:00
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib}/openmpi/lib \
-DPYTHON_EXECUTABLE:FILEPATH=%{__python3} \
-DEXAMPLES_ENABLE_CXX:BOOL=ON -DEXAMPLES_ENABLE_C:BOOL=ON \
2020-11-20 10:55:04 +00:00
-DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=ON \
2015-11-12 13:39:27 +00:00
-DCMAKE_SKIP_RPATH:BOOL=YES -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES \
2016-01-17 13:24:23 +00:00
-DMPI_ENABLE:BOOL=ON \
2019-04-23 10:30:05 +00:00
%if 0%{?with_fortran}
2018-10-15 17:01:28 +00:00
%if 0%{?fedora}
-DMPI_Fortran_COMPILER:STRING=$MPI_BIN/mpifort \
%else
-DMPI_Fortran_COMPILER:STRING=$MPI_BIN/mpif77 \
%endif
2019-04-23 10:30:05 +00:00
-DF77_INTERFACE_ENABLE:BOOL=ON \
-DEXAMPLES_ENABLE_F77:BOOL=ON \
%if %{?__isa_bits:%{__isa_bits}}%{!?__isa_bits:32} == 64
2019-04-23 10:30:05 +00:00
-DF2003_INTERFACE_ENABLE:BOOL=ON \
%endif
2019-04-23 10:30:05 +00:00
-DEXAMPLES_ENABLE_F90:BOOL=ON \
-DFortran_INSTALL_MODDIR:PATH=$MPI_FORTRAN_MOD_DIR/%{name} \
%endif
2016-01-17 13:24:23 +00:00
-DUSE_GENERIC_MATH:BOOL=ON \
2016-03-26 18:48:58 +00:00
-DOPENMP_ENABLE:BOOL=ON \
%if %{with pthread}
2016-01-17 13:24:23 +00:00
-DPTHREAD_ENABLE:BOOL=ON \
%endif
%if 0%{?with_superlumt}
2017-11-08 20:48:45 +00:00
-DSUPERLUMT_ENABLE:BOOL=ON \
-DSUPERLUMT_INCLUDE_DIR:PATH=%{_includedir}/SuperLUMT \
-DSUPERLUMT_LIBRARY_DIR:PATH=%{_libdir} \
-DSUPERLUMT_THREAD_TYPE:STRING=OpenMP \
%endif
%if 0%{?with_superludist}
-DSUPERLUDIST_ENABLE:BOOL=ON \
-DSUPERLUDIST_INCLUDE_DIR:PATH=$MPI_INCLUDE/superlu_dist \
-DSUPERLUDIST_LIBRARY_DIR:PATH=$MPI_LIB \
-DSUPERLUDIST_LIBRARIES:STRING=libsuperlu_dist.so \
%endif
2017-11-08 20:48:45 +00:00
%if 0%{?with_hypre}
2016-10-04 13:21:49 +00:00
-DHYPRE_ENABLE:BOOL=ON \
2017-11-08 20:48:45 +00:00
-DHYPRE_INCLUDE_DIR:PATH=$MPI_INCLUDE/hypre \
-DHYPRE_LIBRARY_DIR:PATH=$MPI_LIB \
2017-03-03 19:09:53 +00:00
%endif
2020-05-28 20:33:43 +00:00
-DEXAMPLES_INSTALL:BOOL=OFF \
2020-12-10 17:32:53 +00:00
-DSUNDIALS_BUILD_WITH_MONITORING:BOOL=ON -Wno-dev
2017-03-03 19:09:53 +00:00
2020-12-10 17:32:53 +00:00
%make_build V=1 -C buildopenmpi_dir/build
2015-04-17 11:15:47 +00:00
%{_openmpi_unload}
%endif
2016-01-17 13:24:23 +00:00
######
2017-11-08 20:48:45 +00:00
###########################################################################
2016-01-17 13:24:23 +00:00
%if 0%{?with_mpich}
2020-01-05 20:24:08 +00:00
2020-12-10 17:32:53 +00:00
mkdir -p buildmpich_dir/build
2016-01-17 13:24:23 +00:00
%{_mpich_load}
2019-04-23 10:30:05 +00:00
2017-11-08 20:48:45 +00:00
## Blas
export LIBBLASLINK=-l%{blaslib}%{blasvar}
export INCBLAS=%{_includedir}/%{blaslib}
2017-11-08 20:48:45 +00:00
##
2017-11-08 20:48:45 +00:00
## SuperLUMT
%if 0%{?with_superlumt}
2019-06-29 13:02:09 +00:00
%ifarch s390x x86_64 %{power64} aarch64
2018-06-06 09:37:24 +00:00
export LIBSUPERLUMTLINK=-lsuperlumt64_d
%endif
%ifarch %{arm} %{ix86}
2017-11-08 20:48:45 +00:00
export LIBSUPERLUMTLINK=-lsuperlumt_d
2018-06-06 09:37:24 +00:00
%endif
%endif
2017-11-08 20:48:45 +00:00
## Hypre
%if 0%{?with_hypre}
export LIBHYPRELINK="-L$MPI_LIB -lHYPRE"
%endif
##
2019-04-25 19:20:14 +00:00
# Force MPI compilers
export CC=$MPI_BIN/mpicc
export CXX=$MPI_BIN/mpic++
%if 0%{?fedora}
export FC=$MPI_BIN/mpifort
%else
export FC=$MPI_BIN/mpif77
%endif
##
2016-10-17 12:40:04 +00:00
%if %{with debug}
2018-11-08 18:54:18 +00:00
%undefine _hardened_build
export CFLAGS=" "
export FFLAGS=" "
2019-04-23 10:30:05 +00:00
%global _cmake cmake3
2020-12-10 17:32:53 +00:00
%_cmake -B buildmpich_dir/build -S buildmpich_dir \
2016-10-17 12:40:04 +00:00
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
-DCMAKE_BUILD_TYPE:STRING=Debug \
2020-08-22 09:53:55 +00:00
-DCMAKE_C_FLAGS_DEBUG:STRING="-O0 -g %{__global_ldflags} -I$INCBLAS" \
-DCMAKE_Fortran_FLAGS_DEBUG:STRING="-O0 -g %{__global_ldflags} -I$INCBLAS" \
-DCMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING="%{__global_ldflags} $LIBBLASLINK $LIBSUPERLUMTLINK $LIBHYPRELINK" \
2016-10-17 12:40:04 +00:00
%else
export CFLAGS="%{build_cflags}"
export CFLAGS="%{build_fflags}"
2020-12-10 17:32:53 +00:00
%cmake3 -B buildmpich_dir/build -S buildmpich_dir \
2020-01-25 17:55:42 +00:00
%endif
2018-06-06 09:37:24 +00:00
%if %{?__isa_bits:%{__isa_bits}}%{!?__isa_bits:32} == 64
2018-10-15 17:01:28 +00:00
-DSUNDIALS_INDEX_SIZE:STRING=64 \
%if 0%{?with_klu64}
-DKLU_ENABLE=ON -DKLU_LIBRARY_DIR:PATH=%{_libdir} -DKLU_LIBRARY=%{_libdir}/libklu64.so \
-DAMD_LIBRARY=%{_libdir}/libamd64.so -DAMD_LIBRARY_DIR:PATH=%{_libdir} \
-DBTF_LIBRARY=%{_libdir}/libbtf64.so -DBTF_LIBRARY_DIR:PATH=%{_libdir} \
-DCOLAMD_LIBRARY=%{_libdir}/libcolamd64.so -DCOLAMD_LIBRARY_DIR:PATH=%{_libdir} \
-DKLU_INCLUDE_DIR:PATH=%{_includedir}/suitesparse \
2018-06-06 09:37:24 +00:00
%endif
%endif
%if %{?__isa_bits:%{__isa_bits}}%{!?__isa_bits:32} == 32
-DSUNDIALS_INDEX_SIZE:STRING=32 \
%if 0%{?with_klu}
-DKLU_ENABLE=ON -DKLU_LIBRARY_DIR:PATH=%{_libdir} -DKLU_LIBRARY=%{_libdir}/libklu.so \
-DAMD_LIBRARY=%{_libdir}/libamd.so -DAMD_LIBRARY_DIR:PATH=%{_libdir} \
-DBTF_LIBRARY=%{_libdir}/libbtf.so -DBTF_LIBRARY_DIR:PATH=%{_libdir} \
-DCOLAMD_LIBRARY=%{_libdir}/libcolamd.so -DCOLAMD_LIBRARY_DIR:PATH=%{_libdir} \
-DKLU_INCLUDE_DIR:PATH=%{_includedir}/suitesparse \
%endif
%endif
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
-DCMAKE_BUILD_TYPE:STRING=Release \
2018-10-15 17:01:28 +00:00
-DCMAKE_C_FLAGS_RELEASE:STRING="%{optflags} -I$INCBLAS" \
-DCMAKE_Fortran_FLAGS_RELEASE:STRING="%{optflags} -I$INCBLAS" \
-DCMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING="%{__global_ldflags} $LIBBLASLINK $LIBSUPERLUMTLINK $LIBHYPRELINK" \
2017-11-08 20:48:45 +00:00
-DLAPACK_ENABLE:BOOL=OFF \
2021-02-24 18:01:26 +00:00
-DMPI_INCLUDE_PATH:PATH=$MPI_INCLUDE \
-DCMAKE_INSTALL_INCLUDEDIR:PATH=$MPI_INCLUDE \
2018-09-05 09:12:20 +00:00
%if 0%{?with_petsc}
-DPETSC_ENABLE:BOOL=ON \
-DPETSC_INCLUDES:PATH=$MPI_INCLUDE/petsc \
-DPETSC_LIBRARIES:PATH=$MPI_LIB/libpetsc.so \
-DPETSC_EXECUTABLE_RUNS=YES \
2016-10-17 12:40:04 +00:00
%endif
2019-04-23 10:30:05 +00:00
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib}/mpich/lib \
-DPYTHON_EXECUTABLE:FILEPATH=%{__python3} \
-DEXAMPLES_ENABLE_CXX:BOOL=ON -DEXAMPLES_ENABLE_C:BOOL=ON \
2020-11-20 10:55:04 +00:00
-DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=ON \
2016-01-17 13:24:23 +00:00
-DCMAKE_SKIP_RPATH:BOOL=YES -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES \
-DMPI_ENABLE:BOOL=ON \
2019-04-23 10:30:05 +00:00
%if 0%{?with_fortran}
2016-01-17 13:24:23 +00:00
%if 0%{?fedora}
2018-10-15 17:01:28 +00:00
-DMPI_Fortran_COMPILER:STRING=$MPI_BIN/mpifort \
2016-01-17 13:24:23 +00:00
%else
2018-10-15 17:01:28 +00:00
-DMPI_Fortran_COMPILER:STRING=$MPI_BIN/mpif77 \
2016-01-17 13:24:23 +00:00
%endif
2019-04-23 10:30:05 +00:00
-DF77_INTERFACE_ENABLE:BOOL=ON \
-DEXAMPLES_ENABLE_F77:BOOL=ON \
%if %{?__isa_bits:%{__isa_bits}}%{!?__isa_bits:32} == 64
2019-04-23 10:30:05 +00:00
-DF2003_INTERFACE_ENABLE:BOOL=ON \
%endif
2019-04-23 10:30:05 +00:00
-DEXAMPLES_ENABLE_F90:BOOL=ON \
-DFortran_INSTALL_MODDIR:PATH=$MPI_FORTRAN_MOD_DIR/%{name} \
%endif
2016-01-17 13:24:23 +00:00
-DUSE_GENERIC_MATH:BOOL=ON \
2016-03-26 18:48:58 +00:00
-DOPENMP_ENABLE:BOOL=ON \
%if %{with pthread}
-DPTHREAD_ENABLE:BOOL=ON \
%endif
%if 0%{?with_superlumt}
2017-11-08 20:48:45 +00:00
-DSUPERLUMT_ENABLE:BOOL=ON \
-DSUPERLUMT_INCLUDE_DIR:PATH=%{_includedir}/SuperLUMT \
-DSUPERLUMT_LIBRARY_DIR:PATH=%{_libdir} \
-DSUPERLUMT_THREAD_TYPE:STRING=OpenMP \
%endif
%if 0%{?with_superludist}
-DSUPERLUDIST_ENABLE:BOOL=ON \
-DSUPERLUDIST_INCLUDE_DIR:PATH=$MPI_INCLUDE/superlu_dist \
-DSUPERLUDIST_LIBRARY_DIR:PATH=$MPI_LIB \
-DSUPERLUDIST_LIBRARIES:STRING=libsuperlu_dist.so \
%endif
2017-11-15 20:10:34 +00:00
%if 0%{?with_hypre}
2016-10-04 13:21:49 +00:00
-DHYPRE_ENABLE:BOOL=ON \
2017-11-08 20:48:45 +00:00
-DHYPRE_INCLUDE_DIR:PATH=$MPI_INCLUDE/hypre \
-DHYPRE_LIBRARY_DIR:PATH=$MPI_LIB \
2017-03-03 19:09:53 +00:00
%endif
2020-05-28 20:33:43 +00:00
-DEXAMPLES_INSTALL:BOOL=OFF \
2020-12-10 17:32:53 +00:00
-DSUNDIALS_BUILD_WITH_MONITORING:BOOL=ON -Wno-dev
2017-03-03 19:09:53 +00:00
2020-12-10 17:32:53 +00:00
%make_build V=1 -C buildmpich_dir/build
2016-01-17 13:24:23 +00:00
%{_mpich_unload}
%endif
######
#############################################################################
2007-08-07 10:23:21 +00:00
%install
%if 0%{?with_openmpi}
%{_openmpi_load}
2017-11-08 20:48:45 +00:00
%make_install -C buildopenmpi_dir/build
rm -f %{buildroot}$MPI_INCLUDE/sundials/LICENSE
rm -f %{buildroot}$MPI_INCLUDE/sundials/NOTICE
%{_openmpi_unload}
%endif
2016-01-17 13:24:23 +00:00
%if 0%{?with_mpich}
%{_mpich_load}
2017-11-08 20:48:45 +00:00
%make_install -C buildmpich_dir/build
rm -f %{buildroot}$MPI_INCLUDE/sundials/LICENSE
rm -f %{buildroot}$MPI_INCLUDE/sundials/NOTICE
2016-01-17 13:24:23 +00:00
%{_mpich_unload}
%endif
2017-11-08 20:48:45 +00:00
%make_install -C sundials-%{version}/build
2018-09-05 09:12:20 +00:00
# Remove files in bad position
2018-01-28 11:37:16 +00:00
rm -f %{buildroot}%{_prefix}/LICENSE
2018-09-05 09:12:20 +00:00
rm -f %{buildroot}%{_includedir}/sundials/LICENSE
rm -f %{buildroot}%{_includedir}/sundials/NOTICE
2007-08-07 10:23:21 +00:00
2015-04-17 11:15:47 +00:00
%check
%ifnarch riscv64
2015-04-17 13:51:31 +00:00
%if 0%{?with_openmpi}
2018-11-08 18:54:18 +00:00
%if 0%{?with_openmpicheck}
2022-10-29 16:27:50 +00:00
%define _vpath_builddir buildopenmpi_dir/build
2018-11-08 18:54:18 +00:00
%{_openmpi_load}
%if %{with debug}
2019-04-23 10:30:05 +00:00
export LD_LIBRARY_PATH=%{buildroot}$MPI_LIB:$MPI_LIB
export OMPI_MCA_rmaps_base_oversubscribe=yes
ctest3 --force-new-ctest-process -VV -j1 --output-on-failure --debug
2018-11-08 18:54:18 +00:00
%else
2019-04-23 10:30:05 +00:00
export LD_LIBRARY_PATH=%{buildroot}$MPI_LIB:$MPI_LIB
export OMPI_MCA_rmaps_base_oversubscribe=yes
2021-10-20 09:43:21 +00:00
%ifarch aarch64 %{power64}
2022-11-13 17:15:35 +00:00
/usr/bin/ctest --output-on-failure --force-new-ctest-process -j1 -E 'test_fsunlinsol_dense_mod|test_sunnonlinsol_petscsnes'
2021-10-20 09:43:21 +00:00
%else
2022-11-13 17:15:35 +00:00
/usr/bin/ctest --output-on-failure --force-new-ctest-process -j1 -E 'test_sunnonlinsol_petscsnes|test_sunlinsol_klu'
2018-09-05 09:12:20 +00:00
%endif
2019-06-29 13:02:09 +00:00
%endif
2015-04-17 13:51:31 +00:00
%{_openmpi_unload}
%endif
## if with_openmpicheck
%endif
## if with_openmpi
2016-01-17 13:24:23 +00:00
%if 0%{?with_mpich}
2018-11-08 18:54:18 +00:00
%if 0%{?with_mpichcheck}
2022-10-29 16:58:29 +00:00
%define _vpath_builddir buildmpich_dir/build
2018-11-08 18:54:18 +00:00
%{_mpich_load}
%if %{with debug}
2019-04-23 10:30:05 +00:00
export LD_LIBRARY_PATH=%{buildroot}$MPI_LIB:$MPI_LIB
ctest3 --force-new-ctest-process -VV -j1 --output-on-failure --debug
2018-09-05 09:12:20 +00:00
%else
2019-04-23 10:30:05 +00:00
export LD_LIBRARY_PATH=%{buildroot}$MPI_LIB:$MPI_LIB
2021-10-20 09:43:21 +00:00
%ifarch aarch64 %{power64}
2022-11-13 17:15:35 +00:00
/usr/bin/ctest --output-on-failure --force-new-ctest-process -j1 -E 'test_fsunlinsol_dense_mod|test_sunnonlinsol_petscsnes'
2021-10-20 09:43:21 +00:00
%else
2022-11-13 17:15:35 +00:00
/usr/bin/ctest --output-on-failure --force-new-ctest-process -j1 -E 'test_sunnonlinsol_petscsnes|test_sunlinsol_klu'
2018-09-05 09:12:20 +00:00
%endif
2019-06-29 13:02:09 +00:00
%endif
2018-06-06 09:37:24 +00:00
%{_mpich_unload}
%endif
## if with_mpichcheck
%endif
## if with_mpich
2015-04-17 11:15:47 +00:00
2015-11-12 13:39:27 +00:00
%if 0%{?with_sercheck}
2022-10-29 16:58:29 +00:00
%define _vpath_builddir sundials-%{version}/build
2018-11-08 18:54:18 +00:00
%if %{with debug}
2019-04-23 10:30:05 +00:00
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}:%{_libdir}
2020-04-26 16:33:56 +00:00
ctest3 --force-new-ctest-process -VV -j1 --output-on-failure --debug
2018-11-08 18:54:18 +00:00
%else
2019-04-23 10:30:05 +00:00
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}:%{_libdir}
2021-10-20 09:43:21 +00:00
%ifarch aarch64 %{power64}
2022-11-13 17:15:35 +00:00
/usr/bin/ctest --output-on-failure --force-new-ctest-process -j1 -E 'test_fsunlinsol_dense_mod'
2021-10-20 09:43:21 +00:00
%else
2022-11-13 17:15:35 +00:00
/usr/bin/ctest --output-on-failure --force-new-ctest-process -j1 -E 'test_sunlinsol_klu'
2018-09-05 09:12:20 +00:00
%endif
%endif
%endif
## if with_sercheck
%endif
## ifnarch riscv64
2015-04-17 13:51:31 +00:00
2007-08-07 10:23:21 +00:00
%files
2016-01-17 13:24:23 +00:00
%license sundials-%{version}/LICENSE
2019-04-25 19:20:14 +00:00
%doc sundials-%{version}/README.md
%doc sundials-%{version}/src/README-arkode.md
%doc sundials-%{version}/src/README-cvode.md
%doc sundials-%{version}/src/README-cvodes.md
%doc sundials-%{version}/src/README-ida.md
%doc sundials-%{version}/src/README.idas.md
%doc sundials-%{version}/src/README-kinsol.md
2019-04-25 19:20:14 +00:00
%doc sundials-%{version}/NOTICE
2020-11-20 10:55:04 +00:00
%{_libdir}/libsundials_generic.so.*
2019-04-25 19:20:14 +00:00
%{_libdir}/libsundials_ida*.so.*
%{_libdir}/libsundials_cvode*.so.*
%{_libdir}/libsundials_arkode*.so.*
%{_libdir}/libsundials_kinsol.so.*
%{_libdir}/libsundials_nvecserial.so.*
%{_libdir}/libsundials_nvecopenmp.so.*
%{_libdir}/libsundials_nvecmanyvector.so.*
%if %{with pthread}
%{_libdir}/libsundials_nvecpthreads.so.*
%endif
2019-04-25 19:20:14 +00:00
%{_libdir}/libsundials_sunmatrix*.so.*
%{_libdir}/libsundials_sunlinsol*.so.*
%{_libdir}/libsundials_sunnonlinsol*.so.*
%if 0%{?with_fortran}
2021-02-21 18:29:08 +00:00
%{_libdir}/libsundials_f*[_mod].so.*
%{_libdir}/libsundials_f*[!_mod].so.*
2019-04-25 19:20:14 +00:00
%endif
2007-08-07 10:23:21 +00:00
%files devel
2020-11-20 10:55:04 +00:00
%{_libdir}/*.a
%{_libdir}/libsundials_generic.so
2019-04-25 19:20:14 +00:00
%{_libdir}/libsundials_ida*.so
%{_libdir}/libsundials_cvode*.so
%{_libdir}/libsundials_arkode*.so
%{_libdir}/libsundials_kinsol.so
%{_libdir}/libsundials_nvecserial.so
%{_libdir}/libsundials_nvecopenmp.so
%{_libdir}/libsundials_nvecmanyvector.so
2020-11-20 10:55:04 +00:00
%{_libdir}/cmake/sundials/
%if %{with pthread}
%{_libdir}/libsundials_nvecpthreads.so
%endif
2019-04-25 19:20:14 +00:00
%{_libdir}/libsundials_sunmatrix*.so
%{_libdir}/libsundials_sunlinsol*.so
%{_libdir}/libsundials_sunnonlinsol*.so
2019-04-23 10:30:05 +00:00
%if 0%{?with_fortran}
2021-02-21 18:29:08 +00:00
%{_libdir}/libsundials_f*[_mod].so
%{_libdir}/libsundials_f*[!_mod].so
2019-04-23 10:30:05 +00:00
%{_fmoddir}/%{name}/
2021-02-24 18:01:26 +00:00
%if %{with pthread}
%{_libdir}/libsundials_fnvecpthreads.so
%endif
%if 0%{?with_superlumt}
%{_libdir}/libsundials_fsunlinsolsuperlumt.so
%endif
2019-04-23 10:30:05 +00:00
%endif
%{_includedir}/nvector/
%{_includedir}/sunmatrix/
%{_includedir}/sunlinsol/
%{_includedir}/sunnonlinsol/
%{_includedir}/arkode/
%{_includedir}/cvode/
%{_includedir}/cvodes/
%{_includedir}/ida/
%{_includedir}/idas/
%{_includedir}/kinsol/
2020-11-20 10:55:04 +00:00
%dir %{_includedir}/sundials
%{_includedir}/sundials/sundials_export.h
%{_includedir}/sundials/sundials_band.h
%{_includedir}/sundials/sundials_dense.h
%{_includedir}/sundials/sundials_direct.h
%{_includedir}/sundials/sundials_futils.h
%{_includedir}/sundials/sundials_iterative.h
%{_includedir}/sundials/sundials_linearsolver.h
%{_includedir}/sundials/sundials_math.h
%{_includedir}/sundials/sundials_matrix.h
%{_includedir}/sundials/sundials_memory.h
%{_includedir}/sundials/sundials_nonlinearsolver.h
%{_includedir}/sundials/sundials_mpi_types.h
%{_includedir}/sundials/sundials_nvector.h
%{_includedir}/sundials/sundials_types.h
%{_includedir}/sundials/sundials_version.h
%{_includedir}/sundials/sundials_config.h
2020-11-20 11:28:55 +00:00
%{_includedir}/sundials/sundials_fconfig.h
%{_includedir}/sundials/sundials_fnvector.h
%if 0%{?with_openmpi}
%files openmpi
2016-01-17 13:24:23 +00:00
%license sundials-%{version}/LICENSE
2019-04-25 19:20:14 +00:00
%doc sundials-%{version}/README.md
%doc sundials-%{version}/src/README-arkode.md
%doc sundials-%{version}/src/README-cvode.md
%doc sundials-%{version}/src/README-cvodes.md
%doc sundials-%{version}/src/README-ida.md
%doc sundials-%{version}/src/README.idas.md
%doc sundials-%{version}/src/README-kinsol.md
2019-04-25 19:20:14 +00:00
%doc sundials-%{version}/NOTICE
2020-11-20 10:55:04 +00:00
%{_libdir}/openmpi/lib/libsundials_generic.so.*
2019-04-25 19:20:14 +00:00
%{_libdir}/openmpi/lib/libsundials_nvecparallel.so.*
%{_libdir}/openmpi/lib/libsundials_nvecparhyp.so.*
%if 0%{?with_petsc}
2019-04-25 19:20:14 +00:00
%{_libdir}/openmpi/lib/libsundials_nvecpetsc.so.*
2021-11-06 20:34:22 +00:00
%{_libdir}/openmpi/lib/libsundials_sunnonlinsolpetscsnes.so.*
%endif
%{_libdir}/openmpi/lib/libsundials_nvecmpimanyvector.so.*
%if %{with pthread}
%{_libdir}/openmpi/lib/libsundials_nvecmpipthreads.so.*
%endif
%{_libdir}/openmpi/lib/libsundials_nvecmpiplusx.so.*
2020-04-26 12:27:47 +00:00
%{_libdir}/openmpi/lib/libsundials_kinsol.so.*
%{_libdir}/openmpi/lib/libsundials_ida*.so.*
%{_libdir}/openmpi/lib/libsundials_cvode*.so.*
%{_libdir}/openmpi/lib/libsundials_arkode*.so.*
%{_libdir}/openmpi/lib/libsundials_nvecserial.so.*
%{_libdir}/openmpi/lib/libsundials_nvecopenmp.so.*
%{_libdir}/openmpi/lib/libsundials_sunmatrix*.so.*
%{_libdir}/openmpi/lib/libsundials_sunlinsol*.so.*
%{_libdir}/openmpi/lib/libsundials_sunnonlinsol*.so.*
2020-04-24 18:14:27 +00:00
%{_libdir}/openmpi/lib/libsundials_nvecmanyvector.so.*
%if %{with pthread}
2020-04-24 18:14:27 +00:00
%{_libdir}/openmpi/lib/libsundials_nvecpthreads.so.*
%endif
2019-04-25 19:20:14 +00:00
%if 0%{?with_fortran}
2021-02-21 18:29:08 +00:00
%{_libdir}/openmpi/lib/libsundials_f*[_mod].so.*
%{_libdir}/openmpi/lib/libsundials_f*[!_mod].so.*
2019-04-25 19:20:14 +00:00
%endif
%files openmpi-devel
2020-11-20 10:55:04 +00:00
%{_libdir}/openmpi/lib/*.a
2018-11-08 18:54:18 +00:00
%{_includedir}/openmpi-%{_arch}/nvector/
2019-04-25 19:20:14 +00:00
%{_includedir}/openmpi-%{_arch}/sundials/
2021-02-24 18:01:26 +00:00
%{_includedir}/openmpi-%{_arch}/arkode/
%{_includedir}/openmpi-%{_arch}/cvode/
%{_includedir}/openmpi-%{_arch}/cvodes/
%{_includedir}/openmpi-%{_arch}/ida/
%{_includedir}/openmpi-%{_arch}/idas/
%{_includedir}/openmpi-%{_arch}/kinsol/
%{_includedir}/openmpi-%{_arch}/sunlinsol/
%{_includedir}/openmpi-%{_arch}/sunmatrix/
%{_includedir}/openmpi-%{_arch}/sunnonlinsol/
2019-04-23 10:30:05 +00:00
%if 0%{?with_fortran}
%{_fmoddir}/openmpi/%{name}/
2021-02-21 18:29:08 +00:00
%{_libdir}/openmpi/lib/libsundials_f*[_mod].so
%{_libdir}/openmpi/lib/libsundials_f*[!_mod].so
2019-04-25 19:20:14 +00:00
%endif
2020-11-20 10:55:04 +00:00
%{_libdir}/openmpi/lib/libsundials_generic.so
2019-04-25 19:20:14 +00:00
%{_libdir}/openmpi/lib/libsundials_nvecparallel.so
%{_libdir}/openmpi/lib/libsundials_nvecparhyp.so
%if 0%{?with_petsc}
2019-04-25 19:20:14 +00:00
%{_libdir}/openmpi/lib/libsundials_nvecpetsc.so
2021-11-06 20:34:22 +00:00
%{_libdir}/openmpi/lib/libsundials_sunnonlinsolpetscsnes.so
%endif
%{_libdir}/openmpi/lib/libsundials_nvecmpimanyvector.so
%if %{with pthread}
%{_libdir}/openmpi/lib/libsundials_nvecmpipthreads.so
2020-05-22 16:48:56 +00:00
%{_libdir}/openmpi/lib/libsundials_nvecpthreads.so
%endif
%{_libdir}/openmpi/lib/libsundials_nvecmpiplusx.so
2020-04-26 12:27:47 +00:00
%{_libdir}/openmpi/lib/libsundials_kinsol.so
%{_libdir}/openmpi/lib/libsundials_ida*.so
%{_libdir}/openmpi/lib/libsundials_cvode*.so
%{_libdir}/openmpi/lib/libsundials_arkode*.so
%{_libdir}/openmpi/lib/libsundials_nvecserial.so
%{_libdir}/openmpi/lib/libsundials_nvecopenmp.so
%{_libdir}/openmpi/lib/libsundials_sunmatrix*.so
%{_libdir}/openmpi/lib/libsundials_sunlinsol*.so
%{_libdir}/openmpi/lib/libsundials_sunnonlinsol*.so
2020-04-24 18:14:27 +00:00
%{_libdir}/openmpi/lib/libsundials_nvecmanyvector.so
2020-11-20 10:55:04 +00:00
%{_libdir}/openmpi/lib/cmake/sundials/
%endif
2016-01-17 13:24:23 +00:00
%if 0%{?with_mpich}
%files mpich
%license sundials-%{version}/LICENSE
2019-04-25 19:20:14 +00:00
%doc sundials-%{version}/README.md
%doc sundials-%{version}/src/README-arkode.md
%doc sundials-%{version}/src/README-cvode.md
%doc sundials-%{version}/src/README-cvodes.md
%doc sundials-%{version}/src/README-ida.md
%doc sundials-%{version}/src/README.idas.md
%doc sundials-%{version}/src/README-kinsol.md
2019-04-25 19:20:14 +00:00
%doc sundials-%{version}/NOTICE
2020-11-20 10:55:04 +00:00
%{_libdir}/mpich/lib/libsundials_generic.so.*
2019-04-25 19:20:14 +00:00
%{_libdir}/mpich/lib/libsundials_nvecparallel.so.*
%{_libdir}/mpich/lib/libsundials_nvecparhyp.so.*
%if 0%{?with_petsc}
2019-04-25 19:20:14 +00:00
%{_libdir}/mpich/lib/libsundials_nvecpetsc.so.*
2021-11-06 20:34:22 +00:00
%{_libdir}/mpich/lib/libsundials_sunnonlinsolpetscsnes.so.*
%endif
%{_libdir}/mpich/lib/libsundials_nvecmpimanyvector.so.*
%if %{with pthread}
%{_libdir}/mpich/lib/libsundials_nvecmpipthreads.so.*
%endif
%{_libdir}/mpich/lib/libsundials_nvecmpiplusx.so.*
2020-04-26 12:27:47 +00:00
%{_libdir}/mpich/lib/libsundials_kinsol.so.*
%{_libdir}/mpich/lib/libsundials_ida*.so.*
%{_libdir}/mpich/lib/libsundials_cvode*.so.*
%{_libdir}/mpich/lib/libsundials_arkode*.so.*
%{_libdir}/mpich/lib/libsundials_nvecserial.so.*
%{_libdir}/mpich/lib/libsundials_nvecopenmp.so.*
%{_libdir}/mpich/lib/libsundials_sunmatrix*.so.*
%{_libdir}/mpich/lib/libsundials_sunlinsol*.so.*
%{_libdir}/mpich/lib/libsundials_sunnonlinsol*.so.*
2020-04-24 18:14:27 +00:00
%{_libdir}/mpich/lib/libsundials_nvecmanyvector.so.*
%if %{with pthread}
2020-04-24 18:14:27 +00:00
%{_libdir}/mpich/lib/libsundials_nvecpthreads.so.*
%endif
2019-04-25 19:20:14 +00:00
%if 0%{?with_fortran}
2021-02-21 18:29:08 +00:00
%{_libdir}/mpich/lib/libsundials_f*[_mod].so.*
%{_libdir}/mpich/lib/libsundials_f*[!_mod].so.*
2019-04-25 19:20:14 +00:00
%endif
2016-01-17 13:24:23 +00:00
%files mpich-devel
2018-11-08 18:54:18 +00:00
%{_includedir}/mpich-%{_arch}/nvector/
2019-04-25 19:20:14 +00:00
%{_includedir}/mpich-%{_arch}/sundials/
2021-02-24 18:01:26 +00:00
%{_includedir}/mpich-%{_arch}/arkode/
%{_includedir}/mpich-%{_arch}/cvode/
%{_includedir}/mpich-%{_arch}/cvodes/
%{_includedir}/mpich-%{_arch}/ida/
%{_includedir}/mpich-%{_arch}/idas/
%{_includedir}/mpich-%{_arch}/kinsol/
%{_includedir}/mpich-%{_arch}/sunlinsol/
%{_includedir}/mpich-%{_arch}/sunmatrix/
%{_includedir}/mpich-%{_arch}/sunnonlinsol/
2019-04-23 10:30:05 +00:00
%if 0%{?with_fortran}
%{_fmoddir}/mpich/%{name}/
2021-02-21 18:29:08 +00:00
%{_libdir}/mpich/lib/libsundials_f*[_mod].so
%{_libdir}/mpich/lib/libsundials_f*[!_mod].so
2019-04-25 19:20:14 +00:00
%endif
2020-11-20 10:55:04 +00:00
%{_libdir}/mpich/lib/*.a
%{_libdir}/mpich/lib/libsundials_generic.so
2019-04-25 19:20:14 +00:00
%{_libdir}/mpich/lib/libsundials_nvecparallel.so
%{_libdir}/mpich/lib/libsundials_nvecparhyp.so
%if 0%{?with_petsc}
2019-04-25 19:20:14 +00:00
%{_libdir}/mpich/lib/libsundials_nvecpetsc.so
2021-11-06 20:34:22 +00:00
%{_libdir}/mpich/lib/libsundials_sunnonlinsolpetscsnes.so
%endif
%{_libdir}/mpich/lib/libsundials_nvecmpimanyvector.so
%if %{with pthread}
%{_libdir}/mpich/lib/libsundials_nvecmpipthreads.so
2020-05-22 16:48:56 +00:00
%{_libdir}/mpich/lib/libsundials_nvecpthreads.so
%endif
%{_libdir}/mpich/lib/libsundials_nvecmpiplusx.so
2020-04-26 12:27:47 +00:00
%{_libdir}/mpich/lib/libsundials_kinsol.so
%{_libdir}/mpich/lib/libsundials_ida*.so
%{_libdir}/mpich/lib/libsundials_cvode*.so
%{_libdir}/mpich/lib/libsundials_arkode*.so
%{_libdir}/mpich/lib/libsundials_nvecserial.so
%{_libdir}/mpich/lib/libsundials_nvecopenmp.so
%{_libdir}/mpich/lib/libsundials_sunmatrix*.so
%{_libdir}/mpich/lib/libsundials_sunlinsol*.so
%{_libdir}/mpich/lib/libsundials_sunnonlinsol*.so
2020-04-24 18:14:27 +00:00
%{_libdir}/mpich/lib/libsundials_nvecmanyvector.so
2020-11-20 10:55:04 +00:00
%{_libdir}/mpich/lib/cmake/sundials/
2016-01-17 13:24:23 +00:00
%endif
2018-11-08 18:54:18 +00:00
%files doc
%license sundials-%{version}/LICENSE
%doc sundials-%{version}/README.md
%doc sundials-%{version}/NOTICE
2018-11-08 18:54:18 +00:00
%doc sundials-%{version}/doc/cvode/cv_guide.pdf
%doc sundials-%{version}/doc/kinsol/kin_guide.pdf
%doc sundials-%{version}/doc/cvodes/cvs_guide.pdf
%doc sundials-%{version}/doc/ida/ida_guide.pdf
%doc sundials-%{version}/doc/arkode/*
2007-08-07 10:23:21 +00:00
%changelog
* Thu Jun 01 2023 David Abdurachmanov <davidlt@rivosinc.com> - 5.8.0-11.0.riscv64
- Disable tests on riscv64 for now
- Disable petsc on riscv64 for now
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.8.0-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
2023-01-14 19:57:40 +00:00
* Sat Jan 14 2023 Antonio Trande <sagitter@fedoraproject.org> - 5.8.0-10
- Enable KLU support in EPEL9
* Wed Jan 04 2023 Antonio Trande <sagitter@fedoraproject.org> - 5.8.0-9
- Build in EPEL9
- Disable KLU support in EPEL9
2022-11-13 16:31:43 +00:00
* Sun Nov 13 2022 Antonio Trande <sagitter@fedoraproject.org> - 5.8.0-8
- Enable OpenMPI tests
2022-10-29 16:27:50 +00:00
* Sat Oct 29 2022 Antonio Trande <sagitter@fedoraproject.org> - 5.8.0-7
- Use multiple jobs for testing
2022-10-29 16:58:29 +00:00
- Disable OpenMPI tests
2022-10-29 16:27:50 +00:00
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.8.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
2022-04-23 16:43:49 +00:00
* Sat Apr 23 2022 Antonio Trande <sagitter@fedoraproject.org> - 5.8.0-5
- Rebuild for PETSc-3.17.0
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.8.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sat Nov 20 2021 Antonio Trande <sagitter@fedoraproject.org> - 5.8.0-3
- Enable SuiteSparse support on epel8
2021-11-06 18:21:22 +00:00
* Sat Nov 06 2021 Antonio Trande <sagitter@fedoraproject.org> - 5.8.0-2
- Build on epel8
2021-10-20 09:43:21 +00:00
* Wed Oct 20 2021 Antonio Trande <sagitter@fedoraproject.org> - 5.8.0-1
- Release 5.8.0
* Mon Jul 26 2021 Antonio Trande <sagitter@fedoraproject.org> - 5.7.0-3
- Disable debug mode
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.7.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2021-02-24 18:01:26 +00:00
* Sun Feb 21 2021 Antonio Trande <sagitter@fedoraproject.org> - 5.7.0-1
- Release 5.7.0
2021-02-21 18:29:08 +00:00
* Sun Feb 21 2021 Antonio Trande <sagitter@fedoraproject.org> - 5.6.1-3
- Fix the lists of installed files
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2021-01-05 17:37:35 +00:00
* Wed Dec 30 2020 Antonio Trande <sagitter@fedoraproject.org> - 5.6.1-1
- Release 5.6.1
2020-12-10 17:32:53 +00:00
* Thu Dec 10 2020 Antonio Trande <sagitter@fedoraproject.org> - 5.5.0-2
- Modify CMake options
2020-11-20 10:55:04 +00:00
* Sun Nov 08 2020 Antonio Trande <sagitter@fedoraproject.org> - 5.5.0-1
- Release 5.5.0
2020-10-03 11:53:12 +00:00
* Fri Sep 25 2020 Antonio Trande <sagitter@fedoraproject.org> - 5.4.0-1
- Release 5.4.0
2020-08-24 14:39:31 +00:00
* Mon Aug 24 2020 Antonio Trande <sagitter@fedoraproject.org> - 5.3.0-5
- Increase build release number
* Thu Aug 20 2020 Iñaki Úcar <iucar@fedoraproject.org> - 5.3.0-4
- https://fedoraproject.org/wiki/Changes/FlexiBLAS_as_BLAS/LAPACK_manager
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.0-3
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-05-28 20:33:43 +00:00
* Sat May 23 2020 Antonio Trande <sagitter@fedoraproject.org> - 5.3.0-1
- Release 5.3.0
- CMake option SUNDIALS_BUILD_WITH_MONITORING activated
* Sat May 23 2020 Antonio Trande <sagitter@fedoraproject.org> - 5.2.0-5
- Add OMPI_MCA_rmaps_base_oversubscribe=yes option to prevent ctest
failures due to insufficient number of slots
* Fri May 22 2020 Antonio Trande <sagitter@fedoraproject.org> - 5.2.0-4
- Fix installation of config.h files (rhbz#1839131)
2020-04-24 18:14:27 +00:00
* Fri Apr 24 2020 Antonio Trande <sagitter@fedoraproject.org> - 5.2.0-3
- Fix packaging of all libraries
2020-04-24 14:38:33 +00:00
* Fri Apr 24 2020 Antonio Trande <sagitter@fedoraproject.org> - 5.2.0-2
- Fix rhbz#1827675
* Fri Apr 10 2020 Antonio Trande <sagitter@fedoraproject.org> - 5.2.0-1
- Release 5.2.0
- Use -fcommon flag workaround for GCC-10
- Disable pthread support (do not mix-up openmp and pthread)
* Fri Jan 31 2020 Antonio Trande <sagitter@fedoraproject.org> - 4.1.0-12
2020-04-26 16:33:56 +00:00
- Use job 1 with ctest
- Disable MPI tests on EPEL8
* Fri Jan 31 2020 Antonio Trande <sagitter@fedoraproject.org> - 4.1.0-11
2020-04-26 12:27:47 +00:00
- Fix rhbz#1828004
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2020-01-25 17:55:42 +00:00
* Sat Jan 25 2020 Antonio Trande <sagitter@fedoraproject.org> - 4.1.0-9
- Workaround for GCC-10 (-fcommon)
2020-01-05 20:24:08 +00:00
* Sun Jan 05 2020 Antonio Trande <sagitter@fedoraproject.org> - 4.1.0-8
- New rebuild
2019-12-21 11:21:39 +00:00
* Sat Dec 21 2019 Antonio Trande <sagitter@fedoraproject.org> - 4.1.0-7
- Rebuild for petsc-3.11.3 on EPEL7
2019-10-18 20:36:32 +00:00
* Fri Oct 18 2019 Antonio Trande <sagitter@fedoraproject.org> - 4.1.0-6
- Rebuild for petsc-3.12.0
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2019-10-18 20:36:32 +00:00
* Sun Jun 30 2019 Antonio Trande <sagitter@fedoraproject.org> - 4.1.0-4
- Do not use devtoolset as runtime dependence
2019-10-18 20:36:32 +00:00
* Wed Jun 26 2019 Antonio Trande <sagitter@fedoraproject.org> - 4.1.0-3
- Do not use curly brackets under %%files
2019-10-18 20:36:32 +00:00
* Thu Apr 25 2019 Antonio Trande <sagitter@fedoraproject.org> - 4.1.0-2
2019-04-25 19:20:14 +00:00
- Reorganization of the files
2019-10-18 20:36:32 +00:00
* Sun Apr 21 2019 Antonio Trande <sagitter@fedoraproject.org> - 4.1.0-1
2019-04-23 10:30:05 +00:00
- Release 4.1.0
- Re-enable OpenMPI tests (rhbz#1639646)
- Use Python3
- Compile Fortran libraries
2019-02-14 15:51:47 +00:00
* Thu Feb 14 2019 Orion Poplawski <orion@nwra.com> - 3.2.1-4
- Rebuild for openmpi 3.1.3
2019-02-20 19:09:46 +00:00
- Disable tests of MPI libraries for "not enough slots available" errors
2019-02-14 15:51:47 +00:00
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2019-10-18 20:36:32 +00:00
* Sun Dec 02 2018 Antonio Trande <sagitter@fedoraproject.org> - 3.2.1-2
- PETSc support is now re-enabled (rhbz#1639646)
2019-10-18 20:36:32 +00:00
* Sat Oct 20 2018 Antonio Trande <sagitter@fedoraproject.org> - 3.2.1-1
2018-11-08 18:54:18 +00:00
- Update to 3.2.1
- Disable PETSc support (rhbz#1639646)
- Disable OpenMPI tests (rhbz#1639646)
2019-10-18 20:36:32 +00:00
* Sat Oct 13 2018 Antonio Trande <sagitter@fedoraproject.org> - 3.2.0-1
2018-10-15 17:01:28 +00:00
- Update to 3.2.0
2019-10-18 20:36:32 +00:00
* Wed Sep 05 2018 Antonio Trande <sagitter@fedoraproject.org> - 3.1.2-2
2018-09-05 09:56:43 +00:00
- Forced to use python2 (tests work under python2 only)
2018-09-05 09:42:53 +00:00
2019-10-18 20:36:32 +00:00
* Wed Aug 01 2018 Antonio Trande <sagitter@fedoraproject.org> - 3.1.2-1
2018-09-05 09:12:20 +00:00
- Update to 3.1.2
- Enable PETSC support
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2019-10-18 20:36:32 +00:00
* Wed Jun 06 2018 Antonio Trande <sagitter@fedoraproject.org> - 3.1.1-2
2018-06-06 09:37:24 +00:00
- Do not pack examples
- Use SuperLUMT64 on 64bit systems
2019-10-18 20:36:32 +00:00
* Sun May 13 2018 Antonio Trande <sagitter@fedoraproject.org> - 3.1.1-1
2018-05-14 11:57:06 +00:00
- Update to 3.1.1
2019-10-18 20:36:32 +00:00
* Fri May 04 2018 Antonio Trande <sagitter@fedoraproject.org> - 3.1.0-5
2018-05-04 20:18:52 +00:00
- Rebuild for hypre-2.14.0
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2019-10-18 20:36:32 +00:00
* Fri Feb 02 2018 Antonio Trande <sagitter@fedoraproject.org> - 3.1.0-3
2018-02-02 11:16:55 +00:00
- Use %%ldconfig_scriptlets
2019-10-18 20:36:32 +00:00
* Wed Jan 31 2018 Antonio Trande <sagitter@fedoraproject.org> - 3.1.0-2
2018-01-31 11:05:24 +00:00
- Rebuild for GCC-8
2019-10-18 20:36:32 +00:00
* Fri Dec 22 2017 Antonio Trande <sagitter@fedoraproject.org> - 3.1.0-1
2018-01-28 11:37:16 +00:00
- Update to 3.1.0
2019-10-18 20:36:32 +00:00
* Wed Nov 15 2017 Antonio Trande <sagitter@fedoraproject.org> - 3.0.0-3
2017-11-15 19:38:37 +00:00
- Use -Wl,--as-needed flag
- Fix shared-linker flags
2019-10-18 20:36:32 +00:00
* Thu Nov 09 2017 Antonio Trande <sagitter@fedoraproject.org> - 3.0.0-2
2017-11-09 10:39:42 +00:00
- Remove sub-packages
- Uninstall static libraries
2019-10-18 20:36:32 +00:00
* Mon Oct 30 2017 Antonio Trande <sagitter@fedoraproject.org> - 3.0.0-1
2017-11-08 20:48:45 +00:00
- Update to 3.0.0
- Use cmake3 on epel
- Install examples
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2019-10-18 20:36:32 +00:00
* Fri Mar 03 2017 Antonio Trande <sagitter@fedoraproject.org> - 2.7.0-10
2017-03-03 20:27:24 +00:00
- Build OpenMPI libraries on EPEL
2019-10-18 20:36:32 +00:00
* Fri Mar 03 2017 Antonio Trande <sagitter@fedoraproject.org> - 2.7.0-9
2017-03-03 11:37:08 +00:00
- Add KLU support
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2019-10-18 20:36:32 +00:00
* Tue Nov 01 2016 Antonio Trande <sagitter@fedoraproject.org> - 2.7.0-7
2016-11-01 10:12:43 +00:00
- New architectures
2019-10-18 20:36:32 +00:00
* Mon Oct 24 2016 Antonio Trande <sagitter@fedoraproject.org> - 2.7.0-6
2016-10-24 17:07:13 +00:00
- Fix builds of MPICH libraries
2016-10-21 22:06:41 +00:00
* Fri Oct 21 2016 Orion Poplawski <orion@cora.nwra.com> - 2.7.0-5
- Rebuild for openmpi 2.0
2019-10-18 20:36:32 +00:00
* Mon Oct 17 2016 Antonio Trande <sagitter@fedoraproject.org> - 2.7.0-4
2016-10-17 12:40:04 +00:00
- Set debug builds
2019-10-18 20:36:32 +00:00
* Thu Oct 06 2016 Antonio Trande <sagitter@fedoraproject.org> - 2.7.0-3
2016-10-06 12:57:29 +00:00
- SuperLUMT support condizionalized
2016-10-17 12:40:04 +00:00
- Removed pkgconfig files
2016-10-06 12:57:29 +00:00
2019-10-18 20:36:32 +00:00
* Tue Oct 04 2016 Antonio Trande <sagitter@fedoraproject.org> - 2.7.0-2
2016-10-04 13:21:49 +00:00
- Enabled SuperLUMT and HYPRE support
2019-10-18 20:36:32 +00:00
* Thu Sep 29 2016 Antonio Trande <sagitter@fedoraproject.org> - 2.7.0-1
2016-09-29 17:47:24 +00:00
- Update to 2.7.0
2019-10-18 20:36:32 +00:00
* Sun Mar 27 2016 Antonio Trande <sagitter@fedoraproject.org> - 2.6.2-19
2016-03-27 10:39:16 +00:00
- Typos fixed
2019-10-18 20:36:32 +00:00
* Sat Mar 26 2016 Antonio Trande <sagitter@fedoraproject.org> - 2.6.2-18
2016-03-26 18:48:58 +00:00
- Enabled OpenMP support
* Sun Mar 20 2016 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 2.6.2-17
- Add lapack-devel requires to -devel package
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.2-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2019-10-18 20:36:32 +00:00
* Mon Jan 25 2016 Antonio Trande <sagitter@fedoraproject.org> - 2.6.2-15
2016-01-25 21:49:53 +00:00
- Fixed pthread flags
2019-10-18 20:36:32 +00:00
* Sun Jan 17 2016 Antonio Trande <sagitter@fedoraproject.org> - 2.6.2-14
2016-01-17 13:24:23 +00:00
- Fix OpenMPI compilers
- MPICH libraries enabled
- Cmake's MPI Fortran compiler test disabled
- Included pkgconfig files for MPICH libraries
2019-10-18 20:36:32 +00:00
* Thu Dec 31 2015 Antonio Trande <sagitter@fedoraproject.org> - 2.6.2-13
- Exclude pkgconfig for OpenMPI libs on s390
2019-10-18 20:36:32 +00:00
* Sat Dec 26 2015 Antonio Trande <sagitter@fedoraproject.org> - 2.6.2-12
- Fixed pkgconfig files
- Added pkgconfig files for OpenMPI libraries
- All Fortran libraries moved to default library paths
2019-10-18 20:36:32 +00:00
* Thu Nov 12 2015 Antonio Trande <sagitter@fedoraproject.org> - 2.6.2-11
2015-11-12 19:23:25 +00:00
- Fixes for EPEL7
- Set mpif77 only for OpenMPI < 1.17 (EPEL7)
- Set mpifort for OpenMPI > 1.17 (Fedora)
- Set LDFLAGS for EPEL7
2019-10-18 20:36:32 +00:00
* Wed Nov 11 2015 Antonio Trande <sagitter@fedoraproject.org> - 2.6.2-10
2015-11-12 19:23:25 +00:00
- OpenMPI Fortran lib tests not compiled on F<23
2019-10-18 20:36:32 +00:00
* Wed Nov 11 2015 Antonio Trande <sagitter@fedoraproject.org> - 2.6.2-9
2015-11-12 13:39:27 +00:00
- Hardened builds on <F23
- openmpi tests still crash/hang on i686 (Fedora 21)
- Rebuilt on Fedora 21
2019-10-18 20:36:32 +00:00
* Thu Oct 15 2015 Antonio Trande <sagitter@fedoraproject.org> - 2.6.2-8
2015-10-15 17:56:57 +00:00
- Rebuilt for cmake 3.4.0
2019-10-18 20:36:32 +00:00
* Sun Sep 20 2015 Antonio Trande <sagitter@fedoraproject.org> - 2.6.2-7
- Performed even tests of the parallel-libraries on ix86 arches
2015-09-15 22:24:07 +00:00
* Tue Sep 15 2015 Orion Poplawski <orion@cora.nwra.com> - 2.6.2-6
- Rebuild for openmpi 1.10.0
2015-08-28 14:51:00 +00:00
* Fri Aug 28 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.6.2-5
- Rebuild for rpm-mpi-hooks-3-2
2015-08-15 19:22:47 +00:00
* Sat Aug 15 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.6.2-4
- Rebuild for MPI provides
2015-07-26 20:39:19 +00:00
* Mon Aug 10 2015 Sandro Mani <manisandro@gmail.com> - 2.6.2-3
- Rebuild for RPM MPI Requires Provides Change
2019-10-18 20:36:32 +00:00
* Tue Aug 04 2015 Antonio Trande <sagitter@fedoraproject.org> - 2.6.2-2
2015-08-04 10:38:30 +00:00
- Added rsh as BR for EPEL7
2019-10-18 20:36:32 +00:00
* Tue Aug 04 2015 Antonio Trande <sagitter@fedoraproject.org> - 2.6.2-1
2015-08-04 09:56:30 +00:00
- Update to 2.6.2
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2019-10-18 20:36:32 +00:00
* Wed Jun 03 2015 Antonio Trande <sagitter@fedoraproject.org> - 2.6.1-8
- Excluded some tests for s390 s390x
- openmpi tests disabled on ix86 %%{arm} (BZ#1201901)
2019-10-18 20:36:32 +00:00
* Sat May 09 2015 Antonio Trande <sagitter@fedoraproject.org> - 2.6.1-7
- Excluded kinKrylovDemo_ls test for aarch64
2019-10-18 20:36:32 +00:00
* Fri Apr 17 2015 Antonio Trande <sagitter@fedoraproject.org> - 2.6.1-6
2015-04-17 13:51:31 +00:00
- Performed parallel/serial tests
2019-10-18 20:36:32 +00:00
* Thu Apr 16 2015 Antonio Trande <sagitter@fedoraproject.org> - 2.6.1-5
2015-04-17 11:15:47 +00:00
- Fixed ldconfig scriptlets
2019-10-18 20:36:32 +00:00
* Sat Apr 04 2015 Antonio Trande <sagitter@fedoraproject.org> - 2.6.1-4
- Packaged static Fortran libraries
2019-10-18 20:36:32 +00:00
* Fri Apr 03 2015 Antonio Trande <sagitter@fedoraproject.org> - 2.6.1-3
- Packaged pkg-config files of Serial libraries
2019-10-18 20:36:32 +00:00
* Wed Apr 01 2015 Antonio Trande <sagitter@fedoraproject.org> - 2.6.1-2
- Built OpenMPI, libraries with threading support, Fortran libraries
2015-04-17 11:15:47 +00:00
* Mon Mar 30 2015 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 2.6.1-1
- Update to version 2.6.1
2015-04-17 11:15:47 +00:00
- Minor bugfixes
2015-04-17 11:15:47 +00:00
* Sun Mar 29 2015 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 2.6.0-2
- Ensure the shared libraries are linked correctly
* Sun Mar 22 2015 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 2.6.0-1
- Update to 2.6.0
- Drop patches that are not needed anymore
* Wed Dec 03 2014 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 2.5.0-7
- Initial build for EPEL-7
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 2.5.0-5
- Fixed patches used in the previous build
- Fixes bug #1105767
* Wed May 21 2014 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 2.5.0-4
- added patches to fix bugs #926583 and #1037342
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-02-18 16:33:50 +00:00
* Mon Feb 18 2013 Dan Horák <dan[at]danny.cz> - 2.5.0-2
- openmpi not available s390(x)
* Sat Jan 26 2013 Rahul Sundaram <sundaram@fedoraproject.org> - 2.5.0-1
- upstream release 2.5.0
- enable parallel build
- drop obsolete patch
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2008-11-05 06:46:29 +00:00
* Sun Sep 21 2008 Ville Skyttä <ville.skytta at iki.fi> - 2.3.0-7
- Fix Patch0:/%%patch mismatch (#463065).
2008-11-05 06:46:29 +00:00
2008-02-19 07:18:37 +00:00
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.3.0-6
- Autorebuild for GCC 4.3
2007-08-07 10:23:21 +00:00
* Sat Aug 04 2007 John Pye <john@curioussymbols.com> 2.3.0-5
- Final corrections from Debarshi Ray:
- Changed all file-location macros to the curly-bracket format.
- License field changed to BSD and comments added regarding special conditions.
* Wed Aug 01 2007 John Pye <john@curioussymbols.com> 2.3.0-4
- Corrections from Mamoru Tasaka:
- Removed /sbin/ldconfig call for -devel package (not required).
- Moved *.a libraries to a -static package.
- Corrected sub/main package dependencies (added release num).
- Corrected and added extra 'defattr' statements in files sections.
* Tue Jul 31 2007 John Pye <john@curioussymbols.com> 2.3.0-3
- Removed INSTALL_NOTES.
- Added /sbin/ldconfig call for -devel package.
- Remove automake dependency.
- Changed --with-mpi-root location (currently commented out).
- Added /sbin/ldconfig call for -devel package.
* Mon Jul 30 2007 John Pye <john@curioussymbols.com> 2.3.0-2
- Removed OpenMPI dependencies (providing serial-only package at the moment).
- Fixing for Debarshi Ray's feedback:
- changed post/postun to use -p style,
- added comments for why 'makeinstall' is required,
- using macro instead of direct call to ./configure,
- replaced spaces with tabs,
- re-tagged -doc package as group Documentation,
- removed CC=... and CXX=... from %%configure command, and
- changed download location.
* Sun Jul 29 2007 John Pye <john@curioussymbols.com> 2.3.0-1
- Converting to Fedora RPM by removing distro-specific stuff.
* Wed Jun 27 2007 John Pye <john@curioussymbols.com> 2.3.0
- Creating separate devel, doc and library packages.
* Sun Jun 24 2007 John Pye <john@curioussymbols.com> 2.3.0
- Fixed problem with creation of shared libraries (correction thanks to Andrey Romanenko in Debian).
* Sat Jun 23 2007 John Pye <john@curioussymbols.com> 2.3.0
- Ported to OpenSUSE Build Service, working on support for openSUSE alongside FC6, FC7.
* Thu Jul 27 2006 John Pye <john.pye@student.unsw.edu.au> 2.3.0-0
- First RPM spec created.