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

Nodal Solver: Use multi-color Gauss-Seidel on GPU #4043

Merged
merged 2 commits into from
Jul 23, 2024

Conversation

WeiqunZhang
Copy link
Member

Because the nodal solver's Gauss-Seidel smoother is not thread safe on GPU, we have been using Jacobi. But recently an amr-wind test shows that the Jacobi smoother is not stable for some hard problems. Using a multi-color (4 in 2d and 8 in 3d) Gauss-Seidel smoother appears to work well.

Because the nodal solver's Gauss-Seidel smoother is not thread safe on GPU,
we have been using Jacobi. But recently an amr-wind test shows that the
Jacobi smoother is not stable for some hard problems. Using a multi-color (4
in 2d and 8 in 3d) Gauss-Seidel smoother appears to work well.
@WeiqunZhang WeiqunZhang marked this pull request as ready for review July 23, 2024 15:26
@WeiqunZhang
Copy link
Member Author

This has passed our regression tests on CPU and GPU. The amr-wind test with anisotropic resolution works.

@asalmgren asalmgren merged commit 930e75e into AMReX-Codes:development Jul 23, 2024
71 checks passed
@WeiqunZhang WeiqunZhang deleted the gpu-ndsolver branch July 23, 2024 16:59
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.

2 participants