Skip to content

Cannot have stop in accelerator region #797

Open
@sbryngelson

Description

@sbryngelson

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working or doesn't seem right

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions