forked from pool/sundials
Compare commits
13 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 7d1f232468 | |||
| 0ac6849ba8 | |||
| 252d8a94ba | |||
| 04eab7541a | |||
| b181d64dce | |||
| 7319a6561f | |||
| 4471f52d07 | |||
| 1d0ddacf5c | |||
| 3f75b757bc | |||
| b4fc45c7fc | |||
| d3927daa46 | |||
| 41e9695236 | |||
| 68927e184e |
@@ -2,4 +2,5 @@
|
||||
<package>mvapich2</package>
|
||||
<package>serial</package>
|
||||
<package>openmpi4</package>
|
||||
<package>openmpi5</package>
|
||||
</multibuild>
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d762a7950ef4097fbe9d289f67a8fb717a0b9f90f87ed82170eb5c36c0a07989
|
||||
size 91813927
|
||||
3
sundials-7.5.0.tar.gz
Normal file
3
sundials-7.5.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:089ac659507def738b7a65b574ffe3a900d38569e3323d9709ebed3e445adecc
|
||||
size 92920912
|
||||
@@ -1,3 +1,96 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 28 19:35:08 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 7.5.0:
|
||||
* New features:
|
||||
- Added the SUNDomEigEstimator interface for estimating the
|
||||
dominant eigenvalue value of a system.
|
||||
- Added the function LSRKStepSetDomEigEstimator in LSRKStep to
|
||||
attach a SUNDomEigEstimator, when using Runge-Kutta-
|
||||
Chebyshev or Runge-Kutta-Legendre methods, as an
|
||||
alternative to supplying a user-defined function to compute
|
||||
the dominant eigenvalue.
|
||||
- A new SUNLinearSolver, SUNLINEARSOLVER_GINKGOBATCH, and
|
||||
corresponding SUNMatrix, SUNMATRIX_GINKGOBATCH, were added
|
||||
for solving block/batched linear systems with the Ginkgo
|
||||
linear solver library.
|
||||
- The functions KINSetMAA and KINSetOrthAA have been updated
|
||||
to allow for setting the Anderson acceleration depth and
|
||||
orthogonalization method after KINInit.
|
||||
* Bug fixes:
|
||||
- Too many to list, see
|
||||
<https://sundials.readthedocs.io/en/latest/Changelog_link.html#changes-to-sundials-in-release-7-5-0>
|
||||
- Split out new shared libraries: libsundials_sundomeigestarnoldi1
|
||||
and libsundials_sundomeigestpower1, two different
|
||||
implementations of sundials' new eigen value estimator
|
||||
SUNDomEigEstimator.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 4 12:48:10 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 7.4.0:
|
||||
* New features:
|
||||
- ARKodeSetCFLFraction now allows cfl_frac to be greater than
|
||||
or equal to one.
|
||||
- Added an option to enable compensated summation of the time
|
||||
accumulator for all of ARKODE.
|
||||
* Bug fixes:
|
||||
- Fixed segfaults in CVodeAdjInit and IDAAdjInit when called
|
||||
after adjoint memory has been freed.
|
||||
- Fixed a CMake bug that would cause the Caliper compile test
|
||||
to fail at configure time.
|
||||
- Fixed a bug in the CVODE/CVODES CVodeSetEtaFixedStepBounds
|
||||
function which disallowed setting eta_min_fx or eta_max_fx
|
||||
to 1.
|
||||
- SUNAdjointStepper_PrintAllStats was reporting the wrong
|
||||
quantity for the number of "recompute passes" and has been
|
||||
fixed.
|
||||
* Deprecation Notices: The SPRKStepSetUseCompensatedSums
|
||||
function has been deprecated. Use the
|
||||
ARKodeSetUseCompensatedSums function instead.
|
||||
- Enable openmpi5 flavour.
|
||||
- Replace use of %post(un) scriptlets with %ldconfig_scriplets.
|
||||
- Clean up %check section:
|
||||
* Tests no longer dump bloated output to stdout, so no need to
|
||||
redirect to a file any more.
|
||||
* Floating point issues seemingly resolved upstream, so run the
|
||||
full gamut of tests without excluding any.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 30 08:10:04 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 7.3.0:
|
||||
* Too many to list, see
|
||||
<https://github.com/LLNL/sundials/releases/tag/v7.3.0>.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 13 11:35:32 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 7.2.1:
|
||||
* Unit tests were separated from examples.
|
||||
* Fixed a bug in ARKStep where an extra right-hand side
|
||||
evaluation would occur each time step when enabling the
|
||||
ARKodeSetAutonomous option.
|
||||
* Fix using an IMEX method where the DIRK table has an implicit
|
||||
first stage and is not stiffly accurate.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 19 11:29:05 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 7.2.0:
|
||||
* Many changes, see
|
||||
<https://sundials.readthedocs.io/en/latest/Changelog_link.html#changes-to-sundials-in-release-7-2-0>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 17 05:10:15 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 7.1.1:
|
||||
* Fixed a bug in v7.1.0 with the SYCL N_Vector N_VSpace
|
||||
* function (gh#LLNL/sundials#523).
|
||||
- Changes from version 7.1.0:
|
||||
* Too many to list, see
|
||||
<https://github.com/LLNL/sundials/releases/tag/v7.1.0>.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 12 01:04:46 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
|
||||
114
sundials.spec
114
sundials.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package sundials
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -25,10 +25,12 @@
|
||||
%undefine DisOMPI2
|
||||
%undefine DisOMPI3
|
||||
%undefine DisOMPI4
|
||||
%undefine DisOMPI5
|
||||
%else
|
||||
%define DisOMPI1 ExclusiveArch: do_not_build
|
||||
%define DisOMPI3 ExclusiveArch: do_not_build
|
||||
%define DisOMPI4 ExclusiveArch: do_not_build
|
||||
%define DisOMPI5 ExclusiveArch: do_not_build
|
||||
%undefine DisOMPI2
|
||||
%endif
|
||||
|
||||
@@ -79,20 +81,22 @@ ExclusiveArch: do_not_build
|
||||
|
||||
# /SECTION
|
||||
|
||||
%define shlib_arkode libsundials_arkode6%{?my_suffix}
|
||||
%define shlib_cvode libsundials_cvode7%{?my_suffix}
|
||||
%define shlib_cvodes libsundials_cvodes7%{?my_suffix}
|
||||
%define shlib_core libsundials_core7%{?my_suffix}
|
||||
%define shlib_ida libsundials_ida7%{?my_suffix}
|
||||
%define shlib_idas libsundials_idas6%{?my_suffix}
|
||||
%define shlib_kinsol libsundials_kinsol7%{?my_suffix}
|
||||
%define shlib_nvec libsundials_nvec7%{?my_suffix}
|
||||
%define shlib_sunlinsol libsundials_sunlinsol5%{?my_suffix}
|
||||
%define shlib_sunmatrix libsundials_sunmatrix5%{?my_suffix}
|
||||
%define shlib_sunnonlin libsundials_sunnonlin4%{?my_suffix}
|
||||
%define shlib_arkode libsundials_arkode6%{?my_suffix}
|
||||
%define shlib_cvode libsundials_cvode7%{?my_suffix}
|
||||
%define shlib_cvodes libsundials_cvodes7%{?my_suffix}
|
||||
%define shlib_core libsundials_core7%{?my_suffix}
|
||||
%define shlib_eigestarnoldi libsundials_sundomeigestarnoldi1%{?my_suffix}
|
||||
%define shlib_eigestpower libsundials_sundomeigestpower1%{?my_suffix}
|
||||
%define shlib_ida libsundials_ida7%{?my_suffix}
|
||||
%define shlib_idas libsundials_idas6%{?my_suffix}
|
||||
%define shlib_kinsol libsundials_kinsol7%{?my_suffix}
|
||||
%define shlib_nvec libsundials_nvec7%{?my_suffix}
|
||||
%define shlib_sunlinsol libsundials_sunlinsol5%{?my_suffix}
|
||||
%define shlib_sunmatrix libsundials_sunmatrix5%{?my_suffix}
|
||||
%define shlib_sunnonlin libsundials_sunnonlin4%{?my_suffix}
|
||||
|
||||
Name: %{package_name}
|
||||
Version: 7.0.0
|
||||
Version: 7.5.0
|
||||
Release: 0
|
||||
Summary: Suite of nonlinear solvers
|
||||
# SUNDIALS is licensed under BSD with some additional (but unrestrictive) clauses.
|
||||
@@ -132,6 +136,8 @@ Requires: %{shlib_arkode} = %{version}
|
||||
Requires: %{shlib_core} = %{version}
|
||||
Requires: %{shlib_cvodes} = %{version}
|
||||
Requires: %{shlib_cvode} = %{version}
|
||||
Requires: %{shlib_eigestarnoldi} = %{version}
|
||||
Requires: %{shlib_eigestpower} = %{version}
|
||||
Requires: %{shlib_idas} = %{version}
|
||||
Requires: %{shlib_ida} = %{version}
|
||||
Requires: %{shlib_kinsol} = %{version}
|
||||
@@ -192,6 +198,28 @@ for use in writing mathematical software.
|
||||
|
||||
This package provides the shared libraries for SUNDIALS' generic solver.
|
||||
|
||||
%package -n %{shlib_eigestarnoldi}
|
||||
Summary: Suite of nonlinear solvers - sundomeigestarnoldi shared libraries
|
||||
|
||||
%description -n %{shlib_eigestarnoldi}
|
||||
SUNDIALS is a SUite of Non-linear DIfferential/ALgebraic equation Solvers
|
||||
for use in writing mathematical software.
|
||||
|
||||
This package provides the shared libraries for SUNDIALS' Arnoldi
|
||||
implementation for SUNDomEigEstimator, which estimates the
|
||||
dominant eigenvalue for a system.
|
||||
|
||||
%package -n %{shlib_eigestpower}
|
||||
Summary: Suite of nonlinear solvers - sundomeigestpower shared libraries
|
||||
|
||||
%description -n %{shlib_eigestpower}
|
||||
SUNDIALS is a SUite of Non-linear DIfferential/ALgebraic equation Solvers
|
||||
for use in writing mathematical software.
|
||||
|
||||
This package provides the shared libraries for SUNDIALS' Power
|
||||
Iteration implementation for SUNDomEigEstimator, which estimates
|
||||
the dominant eigenvalue for a system.
|
||||
|
||||
%package -n %{shlib_ida}
|
||||
Summary: Suite of nonlinear solvers - ida shared libraries
|
||||
|
||||
@@ -299,9 +327,6 @@ rm %{buildroot}%{my_incdir}/sundials/{NOTICE,LICENSE}
|
||||
%fdupes %{buildroot}
|
||||
|
||||
%check
|
||||
# Send extremely verbose output to a log file instead of printing to screen to avoid build log bloat
|
||||
# Disable the sunlinsol tests which fail apparently due to minor floating pt issues
|
||||
# On 32-bit, also disable the sunmatrix tests which fail due to minor floating pt issues
|
||||
%if %{with mpi}
|
||||
. %{my_bindir}/mpivars.sh
|
||||
|
||||
@@ -319,44 +344,21 @@ if [ "$(grep 'core id' /proc/cpuinfo | wc -l)" -lt 4 ]; then
|
||||
export OMPI_MCA_rmaps_base_oversubscribe=1
|
||||
fi
|
||||
%endif
|
||||
%ifarch %ix86
|
||||
%ctest --quiet --output-log test-output.log --exclude-regex "test_(sunlinsol_lapack|sunmatrix_sparse)*" || ( grep "Fail" test-output.log; exit 1 )
|
||||
%else
|
||||
%ctest --quiet --output-log test-output.log --exclude-regex "test_sunlinsol_lapack*" || ( grep "Fail" test-output.log; exit 1; )
|
||||
%endif
|
||||
%ctest
|
||||
|
||||
%post -n %{shlib_arkode} -p /sbin/ldconfig
|
||||
%postun -n %{shlib_arkode} -p /sbin/ldconfig
|
||||
|
||||
%post -n %{shlib_cvode} -p /sbin/ldconfig
|
||||
%postun -n %{shlib_cvode} -p /sbin/ldconfig
|
||||
|
||||
%post -n %{shlib_cvodes} -p /sbin/ldconfig
|
||||
%postun -n %{shlib_cvodes} -p /sbin/ldconfig
|
||||
|
||||
%post -n %{shlib_core} -p /sbin/ldconfig
|
||||
%postun -n %{shlib_core} -p /sbin/ldconfig
|
||||
|
||||
%post -n %{shlib_ida} -p /sbin/ldconfig
|
||||
%postun -n %{shlib_ida} -p /sbin/ldconfig
|
||||
|
||||
%post -n %{shlib_idas} -p /sbin/ldconfig
|
||||
%postun -n %{shlib_idas} -p /sbin/ldconfig
|
||||
|
||||
%post -n %{shlib_kinsol} -p /sbin/ldconfig
|
||||
%postun -n %{shlib_kinsol} -p /sbin/ldconfig
|
||||
|
||||
%post -n %{shlib_nvec} -p /sbin/ldconfig
|
||||
%postun -n %{shlib_nvec} -p /sbin/ldconfig
|
||||
|
||||
%post -n %{shlib_sunlinsol} -p /sbin/ldconfig
|
||||
%postun -n %{shlib_sunlinsol} -p /sbin/ldconfig
|
||||
|
||||
%post -n %{shlib_sunmatrix} -p /sbin/ldconfig
|
||||
%postun -n %{shlib_sunmatrix} -p /sbin/ldconfig
|
||||
|
||||
%post -n %{shlib_sunnonlin} -p /sbin/ldconfig
|
||||
%postun -n %{shlib_sunnonlin} -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets -n %{shlib_arkode}
|
||||
%ldconfig_scriptlets -n %{shlib_cvode}
|
||||
%ldconfig_scriptlets -n %{shlib_cvodes}
|
||||
%ldconfig_scriptlets -n %{shlib_core}
|
||||
%ldconfig_scriptlets -n %{shlib_eigestarnoldi}
|
||||
%ldconfig_scriptlets -n %{shlib_eigestpower}
|
||||
%ldconfig_scriptlets -n %{shlib_ida}
|
||||
%ldconfig_scriptlets -n %{shlib_idas}
|
||||
%ldconfig_scriptlets -n %{shlib_kinsol}
|
||||
%ldconfig_scriptlets -n %{shlib_nvec}
|
||||
%ldconfig_scriptlets -n %{shlib_sunlinsol}
|
||||
%ldconfig_scriptlets -n %{shlib_sunmatrix}
|
||||
%ldconfig_scriptlets -n %{shlib_sunnonlin}
|
||||
|
||||
%if %{without mpi}
|
||||
%files doc
|
||||
@@ -393,6 +395,12 @@ fi
|
||||
%files -n %{shlib_core}
|
||||
%{my_libdir}/libsundials_core.so.*
|
||||
|
||||
%files -n %{shlib_eigestarnoldi}
|
||||
%{my_libdir}/libsundials_sundomeigestarnoldi.so.*
|
||||
|
||||
%files -n %{shlib_eigestpower}
|
||||
%{my_libdir}/libsundials_sundomeigestpower.so.*
|
||||
|
||||
%files -n %{shlib_ida}
|
||||
%{my_libdir}/libsundials_ida.so.*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user