Skip to content

included reset functions for ghost and virtual particle containers#1028

Closed
SreejithNREL wants to merge 1 commit intoAMReX-Combustion:developmentfrom
SreejithNREL:SprayDataIssueOnHip
Closed

included reset functions for ghost and virtual particle containers#1028
SreejithNREL wants to merge 1 commit intoAMReX-Combustion:developmentfrom
SreejithNREL:SprayDataIssueOnHip

Conversation

@SreejithNREL
Copy link
Copy Markdown
Contributor

Problem: I get the following warning after PeleLMeX run is complete (signalled by AMReX finalize call)
pure virtual method called
terminate called without an active exception
Dependency: Should be used with PelePhysics PR#650, PeleLMeX PR#621
Issue: For some reason, on HIP, the spray particle containers are called by process exit handlers after AMreX finalize call, which results in double freeing and hence the error message
Solution: Enforcing all spray particle containers are destroyed before the AMReX finalize call

@jrood-nrel
Copy link
Copy Markdown
Contributor

Oops, I didn't realize this PR was already here. Copilot found this same thing for me and I merged that. Sorry about that.

@jrood-nrel jrood-nrel closed this Mar 26, 2026
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