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 nightly GPU failures after kokkos 4.5.0 #1100

Merged
merged 1 commit into from
Dec 14, 2024

Conversation

jewatkins
Copy link
Collaborator

  • remove create_copy() and create temp workspace
  • add Helmholtz back in

This fixes #1097. The residual was fine but the Jacobian was zero. I had to backtrack to this routine: https://github.com/sandialabs/Albany/compare/jewatkins/fix-cudauvm-build?expand=1#diff-b8f4f1c28bdb086398fa7e2b2af2ff512bc8dc3df7c5af97e4979760004e8fdeL132
where derivative components were not being computed properly. create_copy() is not really needed and looks a bit hacky (also it's not tested and probably not worth fixing). It seems easier to just allocate some memory for these temp fields.

Also, it looks like Helmholtz2D was removed, so I added that back in. I traced the removal back to cbca814 based on this issue: #840 and this wiki doc: https://acme-climate.atlassian.net/wiki/spaces/FAN/pages/3539469051/Albany+tests+and+problems+re-organization
which says we want to keep it around.

 - remove create_copy() and create temp workspace
 - add Helmholtz back in
@jewatkins jewatkins requested a review from mperego December 13, 2024 23:28
@jewatkins jewatkins self-assigned this Dec 13, 2024
@jewatkins jewatkins added the Testing Stuff related to testing Albany (including nightly tests) label Dec 13, 2024
Copy link
Collaborator

@mperego mperego left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks for the fix!

I don't have a strong opinion about keeping or not Helmholtz, but I'm sorry I removed it even if we decided to keep it.

@jewatkins
Copy link
Collaborator Author

I don't have a strong opinion about keeping or not Helmholtz, but I'm sorry I removed it even if we decided to keep it.

it looks like there's a Helmholtz Teko test I can try to revive too. I'll leave that for another time.

@jewatkins jewatkins merged commit 0ab1fb9 into master Dec 14, 2024
@jewatkins jewatkins deleted the jewatkins/fix-cudauvm-build branch December 14, 2024 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Testing Stuff related to testing Albany (including nightly tests)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nightly GPU failures after Kokkos 4.5.0
2 participants