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

Cannot have stop in accelerator region #797

Open
sbryngelson opened this issue Feb 3, 2025 · 0 comments
Open

Cannot have stop in accelerator region #797

sbryngelson opened this issue Feb 3, 2025 · 0 comments
Assignees
Labels
bug Something isn't working or doesn't seem right

Comments

@sbryngelson
Copy link
Member

PR #749 introduces several impermissible statements, at least on AMD GPU hardware and with Cray compilers (v >= 19). The problem is stop statements in the GPU kernels. Examples are here:

stop "Check cluterflag. Exiting."

if (intfc_rad(k, 1) <= 0._wp) stop "Negative bubble radius encountered, please reduce dt"

if (intfc_rad(k, 2) <= 0._wp) stop "Negative bubble radius encountered, please reduce dt"

if (intfc_rad(k, 2) <= 0._wp) stop "Negative bubble radius encountered, please reduce dt"

and so on and so forth.

@sbryngelson sbryngelson added the bug Something isn't working or doesn't seem right label Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working or doesn't seem right
Development

No branches or pull requests

2 participants