Skip to content

Commit

Permalink
Merge pull request #2840 from Steven-Roberts/sundials-warning
Browse files Browse the repository at this point in the history
Add warnings about SUNDIALS versions <4
  • Loading branch information
bendudson committed Jan 26, 2024
2 parents 18b22ad + 62e6fdc commit 79601f9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions cmake/FindSUNDIALS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ if (SUNDIALS_INCLUDE_DIR)
set(SUNDIALS_VERSION "${SUNDIALS_VERSION_MAJOR}.${SUNDIALS_VERSION_MINOR}.${SUNDIALS_VERSION_PATCH}" CACHE STRING "SUNDIALS version")
endif()

if("${SUNDIALS_VERSION_MAJOR}" LESS 4)
message(WARNING "SUNDIALS versions <4 are depricated and will not be supported in the next release")
endif()

if (SUNDIALS_DEBUG)
message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] "
" SUNDIALS_VERSION = ${SUNDIALS_VERSION}")
Expand Down
7 changes: 4 additions & 3 deletions manual/sphinx/user_docs/advanced_install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -430,9 +430,10 @@ solver. Currently, BOUT++ also supports the SUNDIALS solvers CVODE, IDA
and ARKODE which are available from
https://computation.llnl.gov/casc/sundials/main.html.

.. note:: BOUT++ currently supports SUNDIALS > 2.6, up to 5.4.0 as of
September 2020. It is advisable to use the highest possible
version
.. note:: BOUT++ currently supports SUNDIALS > 2.6, up to 6.7.0 as of
January 2024. It is advisable to use the highest possible
version. Support for SUNDIALS versions < 4 will be removed
in the next release.

The full installation guide is found in the downloaded ``.tar.gz``,
but we will provide a step-by-step guide to install it and make it
Expand Down

0 comments on commit 79601f9

Please sign in to comment.