Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix aliasing potential ALIAS target SuiteSparse::KLU #582

Merged
merged 3 commits into from
Sep 30, 2024

Conversation

dweindl
Copy link

@dweindl dweindl commented Sep 30, 2024

Fixes a CMake configuration issue related to aliasing an ALIAS target when using ENABLE_KLU=ON in combination with a static-only build of SuiteSparse.

See #579 for details.

Fixes #579.

Fixes a CMake configuration issue related to aliasing an ``ALIAS`` target when
using ``ENABLE_KLU=ON`` in combination with a static-only build of SuiteSparse.

See LLNL#579 for details.

Fixes LLNL#579.

Signed-off-by: Daniel Weindl <[email protected]>
cmake/tpl/FindKLU.cmake Outdated Show resolved Hide resolved
dweindl and others added 2 commits September 30, 2024 15:26
Copy link
Collaborator

@drreynolds drreynolds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, and passes all CI tests

@balos1 balos1 added this to the SUNDIALS Next milestone Sep 30, 2024
@balos1 balos1 merged commit 25ea7af into LLNL:develop Sep 30, 2024
23 checks passed
@dweindl dweindl deleted the fix_579_alias branch September 30, 2024 18:14
dweindl added a commit to AMICI-dev/AMICI that referenced this pull request Oct 7, 2024
We've been lagging behind SUNDIALS development. This updates the SUNDIALS library from v5.8.0 to [v7.1.1](https://sundials.readthedocs.io/en/latest/Changelog_link.html#changes-to-sundials-in-release-7-1-1).

Note:
* This includes the post-7.1.1 changes to `cmake/tpl/FindKLU.cmake` from LLNL/sundials#582
* This includes the post-7.1.1 changes to [`sundials/src/sunmatrix/sparse/sunmatrix_sparse.c:SUNMatScaleAddI_Sparse`](https://github.com/LLNL/sundials/blob/736369d543cb80956b1ba87377ffc0c8cf6b342b/src/sunmatrix/sparse/sunmatrix_sparse.c#L625C1-L694C2) from  LLNL/sundials#584, fixing LLNL/sundials#581

The majority of changes inside amici are related to the introduction of [SUNContext](https://sundials.readthedocs.io/en/latest/sundials/SUNContext_link.html#the-suncontext-type), which is required for the construction of all SUNDIALS objects. Other trivial changes are related to renamed types and macros.

Furthermore, the error handling strategy has changed. As a consequence, simulation error messages will look slightly different.

Closes #1565
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants