661 lines
21 KiB
RPMSpec
661 lines
21 KiB
RPMSpec
## Define if use openmpi or not
|
|
%ifarch s390 s390x
|
|
%global with_openmpi 0
|
|
%else
|
|
%global with_openmpi 1
|
|
%endif
|
|
|
|
Summary: Suite of nonlinear solvers
|
|
Name: sundials
|
|
Version: 2.6.2
|
|
Release: 4%{?dist}
|
|
# SUNDIALS is licensed under BSD with some additional (but unrestrictive) clauses.
|
|
# Check the file 'LICENSE' for details.
|
|
License: BSD
|
|
Group: Development/Libraries
|
|
URL: http://www.llnl.gov/casc/sundials/
|
|
Source0: http://www.llnl.gov/casc/sundials/download/code/%{name}-%{version}.tar.gz
|
|
|
|
##This package provides pkg-config files of Sundials
|
|
Source1: %{name}-pkgconfig_files.tar.gz
|
|
|
|
BuildRequires: gcc-gfortran
|
|
BuildRequires: cmake
|
|
BuildRequires: lapack-devel, blas-devel
|
|
%if 0%{?rhel}
|
|
BuildRequires: rsh
|
|
%endif
|
|
|
|
%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)
|
|
Group: Development/Libraries
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
Provides: %{name}-static = %{version}-%{release}
|
|
%description devel
|
|
SUNDIALS is a SUite of Non-linear DIfferential/ALgebraic equation Solvers
|
|
for use in writing mathematical software.
|
|
|
|
This package contains the developer files (.so file, header files)
|
|
|
|
%if 0%{?with_openmpi}
|
|
%package openmpi
|
|
Summary: Suite of nonlinear solvers
|
|
Group: Development/Libraries
|
|
BuildRequires: openmpi-devel
|
|
%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
|
|
Summary: Suite of nonlinear solvers (static libraries)
|
|
Group: Development/Libraries
|
|
Requires: %{name}-openmpi%{?_isa} = %{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.
|
|
|
|
%package fortran-openmpi
|
|
Summary: Suite of nonlinear solvers
|
|
Group: Development/Libraries
|
|
Requires: gcc-gfortran%{?_isa}
|
|
%description fortran-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 fortran-openmpi-devel
|
|
Summary: Suite of nonlinear solvers
|
|
Group: Development/Libraries
|
|
Requires: %{name}-fortran-openmpi%{?_isa} = %{version}-%{release}
|
|
%description fortran-openmpi-devel
|
|
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 devel libraries and
|
|
header files.
|
|
%endif
|
|
|
|
%package fortran
|
|
Summary: Suite of nonlinear solvers (static libraries)
|
|
Group: Development/Libraries
|
|
Requires: gcc-gfortran%{?_isa}
|
|
%description fortran
|
|
SUNDIALS is a SUite of Non-linear DIfferential/ALgebraic equation Solvers
|
|
for use in writing mathematical software.
|
|
|
|
This package contains the Sundials Fortran libraries.
|
|
|
|
## Cannot build shared libraries for the FCMIX (Fortran) interfaces
|
|
## due to unresolved symbol errors
|
|
## coming from inexistent user-provided functions.
|
|
## This package provides some static libraries
|
|
%package fortran-devel
|
|
Summary: Suite of nonlinear solvers
|
|
Group: Development/Libraries
|
|
Requires: %{name}-fortran%{?_isa} = %{version}-%{release}
|
|
Provides: %{name}-fortran-static = %{version}-%{release}
|
|
%description fortran-devel
|
|
SUNDIALS is a SUite of Non-linear DIfferential/ALgebraic equation Solvers
|
|
for use in writing mathematical software.
|
|
|
|
This package contains the Sundials Fortran devel libraries and
|
|
header files.
|
|
|
|
%package threads
|
|
Summary: Suite of nonlinear solvers
|
|
Group: Development/Libraries
|
|
%description threads
|
|
SUNDIALS is a SUite of Non-linear DIfferential/ALgebraic equation Solvers
|
|
for use in writing mathematical software.
|
|
|
|
This package contains the Sundials libraries (included the Fortran ones)
|
|
compiled with threading support.
|
|
|
|
%package threads-devel
|
|
Summary: Suite of nonlinear solvers
|
|
Group: Development/Libraries
|
|
Requires: %{name}-threads%{?_isa} = %{version}-%{release}
|
|
%description threads-devel
|
|
SUNDIALS is a SUite of Non-linear DIfferential/ALgebraic equation Solvers
|
|
for use in writing mathematical software.
|
|
|
|
This package contains the Sundials devel library compiled with threading support
|
|
and relative header files.
|
|
|
|
%package doc
|
|
Summary: Suite of nonlinear solvers (documentation)
|
|
Group: Documentation
|
|
BuildArch: noarch
|
|
%description doc
|
|
SUNDIALS is a SUite of Non-linear DIfferential/ALgebraic equation Solvers
|
|
for use in writing mathematical software.
|
|
|
|
This package contains the documentation files
|
|
|
|
%prep
|
|
%setup -q
|
|
%setup -T -D -a 1
|
|
|
|
##Define library dirs in the pkg-config files
|
|
sed -i 's|@@libdir@@|%{_libdir}|g' sundials-pkgconfig_files/*.pc
|
|
sed -i 's|@@fmoddir@@|%{_fmoddir}|g' sundials-pkgconfig_files/*.pc
|
|
sed -i 's|@@includedir@@|%{_includedir}|g' sundials-pkgconfig_files/*.pc
|
|
|
|
##Set destination library's paths
|
|
sed -i 's/DESTINATION lib/DESTINATION %{_lib}/g' src/arkode/CMakeLists.txt
|
|
sed -i 's|DESTINATION lib|DESTINATION %{_fmoddir}|g' src/arkode/fcmix/CMakeLists.txt
|
|
sed -i 's/DESTINATION lib/DESTINATION %{_lib}/g' src/cvode/CMakeLists.txt
|
|
sed -i 's|DESTINATION lib|DESTINATION %{_fmoddir}|g' src/cvode/fcmix/CMakeLists.txt
|
|
sed -i 's/DESTINATION lib/DESTINATION %{_lib}/g' src/cvodes/CMakeLists.txt
|
|
sed -i 's/DESTINATION lib/DESTINATION %{_lib}/g' src/ida/CMakeLists.txt
|
|
sed -i 's|DESTINATION lib|DESTINATION %{_fmoddir}|g' src/ida/fcmix/CMakeLists.txt
|
|
sed -i 's/DESTINATION lib/DESTINATION %{_lib}/g' src/idas/CMakeLists.txt
|
|
sed -i 's/DESTINATION lib/DESTINATION %{_lib}/g' src/kinsol/CMakeLists.txt
|
|
sed -i 's|DESTINATION lib|DESTINATION %{_fmoddir}|g' src/kinsol/fcmix/CMakeLists.txt
|
|
|
|
##Set pthread library's paths
|
|
sed -i \
|
|
's|INSTALL(TARGETS sundials_nvecpthreads_shared DESTINATION lib)|INSTALL(TARGETS sundials_nvecpthreads_shared DESTINATION %{_libdir})|g' \
|
|
src/nvec_pthreads/CMakeLists.txt
|
|
sed -i \
|
|
's|INSTALL(TARGETS sundials_fnvecpthreads_shared DESTINATION lib)|INSTALL(TARGETS sundials_fnvecpthreads_shared DESTINATION %{_fmoddir})|g' \
|
|
src/nvec_pthreads/CMakeLists.txt
|
|
|
|
##Set serial library's paths
|
|
sed -i \
|
|
's|TARGETS sundials_nvecserial_shared DESTINATION lib|TARGETS sundials_nvecserial_shared DESTINATION %{_libdir}|g' \
|
|
src/nvec_ser/CMakeLists.txt
|
|
sed -i 's|DESTINATION include/nvector|DESTINATION %{_includedir}/nvector|g' src/nvec_ser/CMakeLists.txt
|
|
sed -i \
|
|
's|TARGETS sundials_fnvecserial_shared DESTINATION lib|TARGETS sundials_fnvecserial_shared DESTINATION %{_fmoddir}|g' \
|
|
src/nvec_ser/CMakeLists.txt
|
|
|
|
##Set parallel library's paths
|
|
sed -i \
|
|
's|TARGETS sundials_nvecparallel_shared DESTINATION lib|TARGETS sundials_nvecparallel_shared DESTINATION %{_libdir}/openmpi/lib|g' \
|
|
src/nvec_par/CMakeLists.txt
|
|
sed -i 's|DESTINATION include/nvector|DESTINATION %{_includedir}/openmpi-%{_arch}/nvector|g' src/nvec_par/CMakeLists.txt
|
|
sed -i \
|
|
's|TARGETS sundials_fnvecparallel_shared DESTINATION lib|TARGETS sundials_fnvecparallel_shared DESTINATION %{_fmoddir}/openmpi-%{_arch}|g' \
|
|
src/nvec_par/CMakeLists.txt
|
|
|
|
## mpif77 test fails with GNU Fortran (GCC) 5.0.0 20150319 (64bit) Fedora 23
|
|
%if 0%{?fedora} > 22
|
|
sed -i 's|set(MPIF_PERFORM_TEST TRUE)|set(MPIF_PERFORM_TEST FALSE)|g' config/SundialsMPIF.cmake
|
|
sed -i 's|set(MPIF_FOUND FALSE)|set(MPIF_FOUND TRUE)|g' config/SundialsMPIF.cmake
|
|
%endif
|
|
|
|
mv src/arkode/README src/README-arkode
|
|
mv src/cvode/README src//README-cvode
|
|
mv src/cvodes/README src/README-cvodes
|
|
mv src/ida/README src/README-ida
|
|
mv src/idas/README src/README.idas
|
|
mv src/kinsol/README src/README-kinsol
|
|
mv src/nvec_ser/README src/README-nvec_ser
|
|
mv src/nvec_par/README src/README-nvec_par
|
|
mv src/nvec_pthreads/README src/README-nvec_pthreads
|
|
|
|
%build
|
|
%if 0%{?with_openmpi}
|
|
mkdir buildparallel_dir && pushd buildparallel_dir
|
|
%{_openmpi_load}
|
|
export LDFLAGS=" -Wl,--as-needed -lpthread"
|
|
%cmake \
|
|
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
|
|
-DCMAKE_BUILD_TYPE:STRING=Release \
|
|
-DCMAKE_C_FLAGS_RELEASE:STRING="%{optflags}" \
|
|
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
|
-DEXAMPLES_ENABLE=ON -DEXAMPLES_INSTALL=OFF \
|
|
-DEXAMPLES_INSTALL_PATH:STRING=share/sundials \
|
|
-DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF \
|
|
-DMPI_ENABLE:BOLL=ON \
|
|
-DMPI_MPICC:STRING=%{_libdir}/openmpi/bin/mpicc \
|
|
-DMPI_RUN_COMMAND=mpirun \
|
|
-DMPI_MPIF77:STRING=%{_libdir}/openmpi/bin/mpif77 \
|
|
-DFCMIX_ENABLE:BOOL=ON \
|
|
-DCMAKE_Fortran_COMPILER:STRING=%{_bindir}/gfortran \
|
|
-DCMAKE_Fortran_FLAGS_RELEASE:STRING="%{optflags}" \
|
|
-DPTHREAD_ENABLE:BOOL=OFF \
|
|
-DLAPACK_ENABLE:BOOL=ON -DSUPERLUMT_ENABLE:BOOL=OFF \
|
|
-DKLU_ENABLE:BOOL=OFF -Wno-dev ..
|
|
make V=1 %{?_smp_mflags}
|
|
%{_openmpi_unload}
|
|
popd
|
|
%endif
|
|
|
|
mkdir buildserial_dir && pushd buildserial_dir
|
|
export LDFLAGS=" -lm "
|
|
%cmake \
|
|
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
|
|
-DCMAKE_BUILD_TYPE:STRING=Release \
|
|
-DCMAKE_C_FLAGS_RELEASE:STRING="%{optflags}" \
|
|
-DCMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=" -llapack -lblas -Wl,--as-needed -lpthread " \
|
|
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
|
-DEXAMPLES_ENABLE=ON -DEXAMPLES_INSTALL=OFF \
|
|
-DEXAMPLES_INSTALL_PATH:STRING=share/sundials \
|
|
-DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF \
|
|
-DMPI_ENABLE:BOLL=OFF \
|
|
-DFCMIX_ENABLE:BOOL=ON \
|
|
-DCMAKE_Fortran_COMPILER:STRING=%{_bindir}/gfortran \
|
|
-DCMAKE_Fortran_FLAGS_RELEASE:STRING="%{optflags}" \
|
|
-DPTHREAD_ENABLE:BOOL=ON \
|
|
-DLAPACK_ENABLE:BOOL=ON -DSUPERLUMT_ENABLE:BOOL=OFF \
|
|
-DKLU_ENABLE:BOOL=OFF -Wno-dev ..
|
|
make V=1 %{?_smp_mflags}
|
|
popd
|
|
|
|
%install
|
|
%if 0%{?with_openmpi}
|
|
%{_openmpi_load}
|
|
make install DESTDIR=%{buildroot} -C buildparallel_dir
|
|
%{_openmpi_unload}
|
|
%endif
|
|
make install DESTDIR=%{buildroot} -C buildserial_dir
|
|
|
|
mkdir -p %{buildroot}%{_libdir}/pkgconfig
|
|
install -pm 644 sundials-pkgconfig_files/*.pc %{buildroot}%{_libdir}/pkgconfig
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%post threads -p /sbin/ldconfig
|
|
%postun threads -p /sbin/ldconfig
|
|
|
|
%check
|
|
##
|
|
## openmpi tests crash/hang on i686 (bz#1201901)
|
|
%ifnarch %ix86 %{arm}
|
|
%if 0%{?with_openmpi}
|
|
pushd buildparallel_dir/examples
|
|
%{_openmpi_load}
|
|
##arkode
|
|
mpirun -np 4 -wdir arkode/C_parallel ark_diurnal_kry_bbd_p
|
|
mpirun -np 4 -wdir arkode/F77_parallel fark_diag_kry_bbd_p
|
|
##cvode
|
|
mpirun -np 4 -wdir cvode/fcmix_parallel fcvDiag_kry_bbd_p
|
|
mpirun -np 4 -wdir cvode/parallel cvAdvDiff_diag_p
|
|
##cvodes
|
|
mpirun -np 4 -wdir cvodes/parallel cvsAdvDiff_ASAp_non_p
|
|
##ida
|
|
mpirun -np 4 -wdir ida/fcmix_parallel fidaHeat2D_kry_bbd_p
|
|
mpirun -np 4 -wdir ida/parallel idaFoodWeb_kry_bbd_p
|
|
##idas
|
|
mpirun -np 4 -wdir idas/parallel idasBruss_ASAp_kry_bbd_p
|
|
##kinsol
|
|
mpirun -np 4 -wdir kinsol/fcmix_parallel fkinDiagon_kry_p
|
|
mpirun -np 4 -wdir kinsol/parallel kinFoodWeb_kry_bbd_p
|
|
##nvector
|
|
mpirun -np 4 -wdir nvector/parallel test_nvector_mpi 5000 4 1
|
|
%{_openmpi_unload}
|
|
popd
|
|
%endif
|
|
%endif
|
|
|
|
pushd buildserial_dir/examples
|
|
##arkode
|
|
cd arkode/C_serial
|
|
./ark_analytic
|
|
./ark_analytic_nonlin
|
|
./ark_brusselator
|
|
./ark_brusselator1D
|
|
./ark_brusselator_fp
|
|
./ark_heat1D
|
|
./ark_heat1D_adapt
|
|
./ark_KrylovDemo_prec
|
|
./ark_robertson
|
|
./ark_robertson_root
|
|
|
|
cd ../F77_serial
|
|
./fark_diurnal_kry_bp
|
|
%ifnarch s390 s390x ppc64 ppc64le
|
|
./fark_roberts_dnsL
|
|
%endif
|
|
cd ../..
|
|
##cvode
|
|
cd cvode/fcmix_serial
|
|
%ifnarch s390 s390x ppc64 ppc64le
|
|
./fcvAdvDiff_bnd
|
|
./fcvDiurnal_kry
|
|
./fcvDiurnal_kry_bp
|
|
./fcvRoberts_dns
|
|
./fcvRoberts_dnsL
|
|
%endif
|
|
|
|
cd ../serial
|
|
./cvAdvDiff_bnd
|
|
./cvAdvDiff_bndL
|
|
./cvDirectDemo_ls
|
|
./cvDiurnal_kry
|
|
./cvDiurnal_kry_bp
|
|
./cvKrylovDemo_ls
|
|
./cvKrylovDemo_prec
|
|
./cvRoberts_dns
|
|
./cvRoberts_dnsL
|
|
./cvRoberts_dns_uw
|
|
cd ../..
|
|
##cvodes
|
|
cd cvodes/serial
|
|
./cvsAdvDiff_ASAi_bnd
|
|
./cvsAdvDiff_bnd
|
|
./cvsAdvDiff_bndL
|
|
./cvsAdvDiff_FSA_non
|
|
./cvsDirectDemo_ls
|
|
./cvsDiurnal_FSA_kry
|
|
./cvsDiurnal_kry
|
|
./cvsDiurnal_kry_bp
|
|
./cvsFoodWeb_ASAi_kry
|
|
./cvsFoodWeb_ASAp_kry
|
|
./cvsHessian_ASA_FSA
|
|
./cvsKrylovDemo_ls
|
|
./cvsKrylovDemo_prec
|
|
./cvsRoberts_ASAi_dns
|
|
./cvsRoberts_dns
|
|
./cvsRoberts_dnsL
|
|
./cvsRoberts_dns_uw
|
|
./cvsRoberts_FSA_dns
|
|
cd ../..
|
|
##ida
|
|
cd ida/fcmix_pthreads
|
|
%ifnarch s390 s390x ppc64 ppc64le
|
|
./fidaRoberts_dns_pthreads
|
|
cd ../fcmix_serial
|
|
./fidaRoberts_dns
|
|
%endif
|
|
cd ../serial
|
|
./idaFoodWeb_bnd
|
|
./idaHeat2D_bnd
|
|
./idaHeat2D_kry
|
|
./idaKrylovDemo_ls
|
|
./idaRoberts_dns
|
|
./idaSlCrank_dns
|
|
cd ../..
|
|
##idas
|
|
cd idas/serial
|
|
./idasAkzoNob_ASAi_dns
|
|
./idasAkzoNob_dns
|
|
./idasFoodWeb_bnd
|
|
./idasHeat2D_bnd
|
|
./idasHeat2D_kry
|
|
./idasHessian_ASA_FSA
|
|
./idasKrylovDemo_ls
|
|
./idasRoberts_ASAi_dns
|
|
./idasRoberts_dns
|
|
./idasRoberts_FSA_dns
|
|
./idasSlCrank_dns
|
|
./idasSlCrank_FSA_dns
|
|
cd ../..
|
|
##kinsol
|
|
cd kinsol/fcmix_serial
|
|
%ifnarch s390 s390x ppc64 ppc64le
|
|
./fkinDiagon_kry
|
|
%endif
|
|
cd ../serial
|
|
./kinFerTron_dns
|
|
./kinFoodWeb_kry
|
|
##http://sundials.2283335.n4.nabble.com/kinKrylovDemo-ls-failed-on-aarch64-td4653553.html
|
|
%ifnarch aarch64 s390 s390x ppc64 ppc64le
|
|
./kinKrylovDemo_ls
|
|
%endif
|
|
./kinLaplace_bnd
|
|
./kinLaplace_picard_bnd
|
|
./kinRoberts_fp
|
|
./kinRoboKin_dns
|
|
cd ../..
|
|
##nvector
|
|
cd nvector/pthreads
|
|
./test_nvector_pthreads 5000 4 1
|
|
cd ../serial
|
|
./test_nvector_serial 5000 4 1
|
|
popd
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc README src/README-*
|
|
%{_libdir}/libsundials_nvecserial.so.*
|
|
%{_libdir}/libsundials_cvode.so.*
|
|
%{_libdir}/libsundials_cvodes.so.*
|
|
%{_libdir}/libsundials_arkode.so.*
|
|
%{_libdir}/libsundials_ida.so.*
|
|
%{_libdir}/libsundials_idas.so.*
|
|
%{_libdir}/libsundials_kinsol.so.*
|
|
%exclude %{_datadir}/sundials/
|
|
|
|
%files doc
|
|
%license LICENSE
|
|
%doc README
|
|
%doc doc/cvode/cv_examples.pdf
|
|
%doc doc/cvode/cv_guide.pdf
|
|
%doc doc/kinsol/kin_examples.pdf
|
|
%doc doc/kinsol/kin_guide.pdf
|
|
%doc doc/cvodes/cvs_examples.pdf
|
|
%doc doc/cvodes/cvs_guide.pdf
|
|
%doc doc/ida/ida_examples.pdf
|
|
%doc doc/ida/ida_guide.pdf
|
|
%doc doc/arkode/*
|
|
|
|
%files devel
|
|
%{_libdir}/libsundials_nvecserial.so
|
|
%{_libdir}/libsundials_cvode.so
|
|
%{_libdir}/libsundials_cvodes.so
|
|
%{_libdir}/libsundials_arkode.so
|
|
%{_libdir}/libsundials_ida.so
|
|
%{_libdir}/libsundials_idas.so
|
|
%{_libdir}/libsundials_kinsol.so
|
|
%{_includedir}/sundials/
|
|
%{_includedir}/cvode/
|
|
%{_includedir}/cvodes/
|
|
%{_includedir}/arkode/
|
|
%{_includedir}/ida/
|
|
%{_includedir}/idas/
|
|
%{_includedir}/kinsol/
|
|
%{_includedir}/nvector/
|
|
%{_libdir}/pkgconfig/arkode.pc
|
|
%{_libdir}/pkgconfig/cvodes.pc
|
|
%{_libdir}/pkgconfig/idas.pc
|
|
%{_libdir}/pkgconfig/cvode.pc
|
|
%{_libdir}/pkgconfig/ida.pc
|
|
%{_libdir}/pkgconfig/kinsol.pc
|
|
%{_libdir}/pkgconfig/nvec_serial.pc
|
|
|
|
%if 0%{?with_openmpi}
|
|
%files openmpi
|
|
%license LICENSE
|
|
%doc README src/README-nvec_par
|
|
%{_libdir}/openmpi/lib/libsundials_nvecparallel.so.*
|
|
|
|
%files openmpi-devel
|
|
%{_includedir}/openmpi-%{_arch}/nvector/nvector_parallel.h
|
|
%{_libdir}/openmpi/lib/libsundials_nvecparallel.so
|
|
|
|
%files fortran-openmpi
|
|
%license LICENSE
|
|
%doc README src/README-nvec_par
|
|
%{_fmoddir}/openmpi-%{_arch}/libsundials_fnvecparallel.so.*
|
|
|
|
%files fortran-openmpi-devel
|
|
%{_includedir}/openmpi-%{_arch}/nvector/nvector_parallel.h
|
|
%{_fmoddir}/openmpi-%{_arch}/libsundials_fnvecparallel.so
|
|
%endif
|
|
|
|
%files fortran
|
|
%license LICENSE
|
|
%doc README
|
|
%{_fmoddir}/libsundials_fnvecserial.so.*
|
|
|
|
%files fortran-devel
|
|
%{_includedir}/sundials/sundials_fnvector.h
|
|
%{_fmoddir}/libsundials_fnvecserial.so
|
|
%{_fmoddir}/libsundials_*.a
|
|
%{_libdir}/pkgconfig/fcvode_serial.pc
|
|
%{_libdir}/pkgconfig/fkinsol_serial.pc
|
|
%{_libdir}/pkgconfig/fnvec_serial.pc
|
|
%{_libdir}/pkgconfig/farkode_serial.pc
|
|
%{_libdir}/pkgconfig/fida_serial.pc
|
|
|
|
%files threads
|
|
%license LICENSE
|
|
%doc README src/README-nvec_pthreads
|
|
%{_libdir}/libsundials_nvecpthreads.so.*
|
|
%{_fmoddir}/libsundials_fnvecpthreads.so.*
|
|
|
|
%files threads-devel
|
|
%{_fmoddir}/libsundials_fnvecpthreads.so
|
|
%{_libdir}/libsundials_nvecpthreads.so
|
|
%{_includedir}/nvector/nvector_pthreads.h
|
|
%{_libdir}/pkgconfig/nvec_pthreads.pc
|
|
%{_libdir}/pkgconfig/fnvec_pthreads.pc
|
|
|
|
%changelog
|
|
* Sat Aug 15 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.6.2-4
|
|
- Rebuild for MPI provides
|
|
|
|
* Mon Aug 10 2015 Sandro Mani <manisandro@gmail.com> - 2.6.2-3
|
|
- Rebuild for RPM MPI Requires Provides Change
|
|
|
|
* Tue Aug 04 2015 Antonio Trande <sagitterATfedoraproject.org> - 2.6.2-2
|
|
- Added rsh as BR for EPEL7
|
|
|
|
* Tue Aug 04 2015 Antonio Trande <sagitterATfedoraproject.org> - 2.6.2-1
|
|
- 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
|
|
|
|
* Wed Jun 03 2015 Antonio Trande <sagitterATfedoraproject.org> - 2.6.1-8
|
|
- Excluded some tests for s390 s390x
|
|
- openmpi tests disabled on ix86 %%{arm} (BZ#1201901)
|
|
|
|
* Sat May 09 2015 Antonio Trande <sagitterATfedoraproject.org> - 2.6.1-7
|
|
- Excluded kinKrylovDemo_ls test for aarch64
|
|
|
|
* Fri Apr 17 2015 Antonio Trande <sagitterATfedoraproject.org> - 2.6.1-6
|
|
- Performed parallel/serial tests
|
|
|
|
* Thu Apr 16 2015 Antonio Trande <sagitterATfedoraproject.org> - 2.6.1-5
|
|
- Fixed ldconfig scriptlets
|
|
|
|
* Sat Apr 04 2015 Antonio Trande <sagitterATfedoraproject.org> - 2.6.1-4
|
|
- Packaged static Fortran libraries
|
|
|
|
* Fri Apr 03 2015 Antonio Trande <sagitterATfedoraproject.org> - 2.6.1-3
|
|
- Packaged pkg-config files of Serial libraries
|
|
|
|
* Wed Apr 01 2015 Antonio Trande <sagitterATfedoraproject.org> - 2.6.1-2
|
|
- Built OpenMPI, libraries with threading support, Fortran libraries
|
|
|
|
* Mon Mar 30 2015 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 2.6.1-1
|
|
- Update to version 2.6.1
|
|
- Minor bugfixes
|
|
|
|
* 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
|
|
|
|
* 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
|
|
|
|
* 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
|
|
|
|
* Sun Sep 21 2008 Ville Skyttä <ville.skytta at iki.fi> - 2.3.0-7
|
|
- Fix Patch0:/%%patch mismatch (#463065).
|
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.3.0-6
|
|
- Autorebuild for GCC 4.3
|
|
|
|
* 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.
|
|
|