Skip to content

Kokkos cleanup#4499

Draft
roystgnr wants to merge 41 commits into
libMesh:develfrom
roystgnr:kokkos-cleanup
Draft

Kokkos cleanup#4499
roystgnr wants to merge 41 commits into
libMesh:develfrom
roystgnr:kokkos-cleanup

Conversation

@roystgnr

@roystgnr roystgnr commented Jul 17, 2026

Copy link
Copy Markdown
Member

Accidentally hit "make pull request" when I was aiming for the arrow for "convert to draft".

Anyway, @rochi00 is seeing a weird Lapack LU failure in adaptivity_ex3 when running this branch himself, but I can't reproduce it, so I want to see what CI environments think.

@roystgnr
roystgnr marked this pull request as draft July 17, 2026 17:51
roystgnr and others added 29 commits July 17, 2026 14:33
This is a fraction of a commit authored by Rochi; I stripped off the
m4 bits so we could just use the updated ACSM versions from the start.
With Kokkos we may have device compilers that can't handle them.
This is necessary for --enable-werror --enable-paranoid-warnings (and
possibly just the former?) configurations with Ubuntu 26.4 Kokkos for
me.
This looks like more of the sort of redundancy I want to get rid of, but
I want to get compiling first.
I can't actually trigger this directly yet, but I needed it in
MetaPhysicL for indirectly included Kokkos headers (at least for the
version in Ubuntu 26.4) there.
This fixes --enable-werror --enable-paranoid-warnings --enable-kokkos
builds for me.
roystgnr added 9 commits July 17, 2026 14:33
"Should I add a layer of indirection to accomplish X" is one of the
hardest questions in software, unless X is "nothing".  Then it's easy.
This might become useful again depending on how we change things in the
backend, but for now it's redundant with operator().
operator() setters here lets us avoid an indirection layer
If we had to support arbitrary third-party classes directly this would
have been helpful, but we're writing our own shims here.
@moosebuild

moosebuild commented Jul 17, 2026

Copy link
Copy Markdown

Job Coverage, step Generate coverage on e02e81d wanted to post the following:

Coverage

80b5e9 #4499 e02e81
Total Total +/- New
Rate 65.65% 65.64% -0.00% 100.00%
Hits 78738 78736 -2 6
Misses 41207 41209 +2 0

Diff coverage report

Full coverage report

This comment will be updated on new commits.

roystgnr added 3 commits July 17, 2026 14:47
Hopefully this fixes the problem when Kokkos yells at us when we
configure with OpenMP but then test its header (which we were doing
without -fopenmp), as well as any problems downstream from people
missing -fopenmp in pkgconfig.
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