SHA256
10
0
forked from pool/sundials

4 Commits

5 changed files with 45 additions and 69 deletions

View File

@@ -2,5 +2,4 @@
<package>mvapich2</package>
<package>serial</package>
<package>openmpi4</package>
<package>openmpi5</package>
</multibuild>

3
sundials-7.2.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5c6c0a66a7e27c45bfb57b27f7579463855a85fc3976fed1d5c9dd88dc1ae3ab
size 94348468

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:679ddacdd77610110e613164e8297d6d0cd35bae8e9c3afc8e8ff6f99a1c2a7b
size 92340962

View File

@@ -1,52 +1,3 @@
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
#
# spec file for package sundials
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,12 +25,10 @@
%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
@@ -94,7 +92,7 @@ ExclusiveArch: do_not_build
%define shlib_sunnonlin libsundials_sunnonlin4%{?my_suffix}
Name: %{package_name}
Version: 7.4.0
Version: 7.2.0
Release: 0
Summary: Suite of nonlinear solvers
# SUNDIALS is licensed under BSD with some additional (but unrestrictive) clauses.
@@ -301,6 +299,9 @@ 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
@@ -318,19 +319,44 @@ if [ "$(grep 'core id' /proc/cpuinfo | wc -l)" -lt 4 ]; then
export OMPI_MCA_rmaps_base_oversubscribe=1
fi
%endif
%ctest
%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
%ldconfig_scriptlets -n %{shlib_arkode}
%ldconfig_scriptlets -n %{shlib_cvode}
%ldconfig_scriptlets -n %{shlib_cvodes}
%ldconfig_scriptlets -n %{shlib_core}
%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}
%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
%if %{without mpi}
%files doc