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

error: no member named 'sort_option' in 'SPADDHandle' #2347

Open
LutzGross opened this issue Sep 26, 2024 · 4 comments
Open

error: no member named 'sort_option' in 'SPADDHandle' #2347

LutzGross opened this issue Sep 26, 2024 · 4 comments

Comments

@LutzGross
Copy link

compilation of Trilinos 16 (also 15) fails on MacOS with

packages/kokkos-kernels/sparse/src/KokkosSparse_spadd_handle.hpp:113:44: error: no member named 'sort_option' in 'SPADDHandle<lno_row_view_t_, lno_nnz_view_t_, scalar_nnz_view_t_, ExecutionSpace, MemorySpace>'

This under homebrew [email protected] , [email protected] and

Apple clang version 16.0.0 (clang-1600.0.26.3)
Target: arm64-apple-darwin23.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Installation with mk_trilinos.sh.gz

@jrood-nrel
Copy link

I get this error as well. I see it with Trilinos 15.1.1 as well. I can try to build with Spack for 15.1.1 or 16.0.0 and see this error even when it chooses a different Kokkos version for each Trilinos version.

@jrood-nrel
Copy link

#2296 solves it. The older versions of kokkos-kernels need to be patched to solve this.

@lucbv
Copy link
Contributor

lucbv commented Oct 16, 2024

We typically do not patch old version of the code we simply encourage folks to get newer versions with fixes. This would not help with Trilinos unless you build against an external version of Kokkos Kernels. Trilinos could add a patch in Spack for the version affected by this issue?

@jrood-nrel
Copy link

Yes that is what I am doing.

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

No branches or pull requests

3 participants