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

Error while terminating (CUDA DEBUG compilation + Particles) #1419

Closed
debog opened this issue Feb 2, 2024 · 2 comments
Closed

Error while terminating (CUDA DEBUG compilation + Particles) #1419

debog opened this issue Feb 2, 2024 · 2 comments

Comments

@debog
Copy link
Contributor

debog commented Feb 2, 2024

When a simulation with particles (for example, particlesWoA) is run on GPUs with the code compiled with DEBUG=TRUE, it shows the following error at exit:

AMReX (24.01-30-g41397e2e7049) finalized
pure virtual method called
terminate called without an active exception
[lassen33:126238] *** Process received signal ***
[lassen33:126238] Signal: Aborted (6)
[lassen33:126238] Signal code:  (-33568)

I haven't been able to understand why this is happening. This doesn't happen with

  • non-GPU code (compiled with DEBUG=TRUE or not)
  • on GPU but not compiled with DEBUG=TRUE.
@gardner48
Copy link
Collaborator

@debog looks like @asalmgren has a fix for this in PR #1422

@asalmgren
Copy link
Collaborator

yes -- I've tested that this fix addresses the bug you pointed out -- thanks for catching that! Fix is entirely courtesy of Weiqun :-)

@debog debog closed this as completed Feb 2, 2024
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

No branches or pull requests

3 participants