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

Conduit: Fix SoA Particle #4065

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

ax3l
Copy link
Member

@ax3l ax3l commented Aug 6, 2024

Summary

Fix the SoA particle structures for Conduit. Handle zero particles on MPI ranks without UB.

Additional background

Fix #4062
ECP-WarpX/WarpX#5087

cc @cyrush @ChristosT @c-wetterer-nelson

Checklist

The proposed changes:

  • fix a bug or incorrect behavior in AMReX
  • add new capabilities to AMReX
  • changes answers in the test suite to more than roundoff level
  • are likely to significantly affect the results of downstream AMReX users
  • include documentation in the code and/or rst files, if appropriate

@ax3l ax3l added the bug label Aug 6, 2024
@ax3l ax3l requested a review from atmyers August 6, 2024 17:13
Fix the SoA particle structures for Conduit. Handle zero particles
on MPI ranks without UB.
@ax3l ax3l force-pushed the fix-conduit-particles-soa branch from 7c9f095 to 6233aa5 Compare August 6, 2024 17:39
@ax3l
Copy link
Member Author

ax3l commented Aug 6, 2024

@ChristosT @c-wetterer-nelson FYI on this bugfix in AMReX for Conduit/Ascent. This should affect your Catalyst2 work as well, since you pick up our WarpX data via Conduit.

@nicolemarsaglia
Copy link
Contributor

@ax3l looks like that fixed it! Thanks!

@atmyers atmyers merged commit 30caf09 into AMReX-Codes:development Aug 6, 2024
72 checks passed
@atmyers
Copy link
Member

atmyers commented Aug 6, 2024

Thanks @ax3l for fixing and @nicolemarsaglia for testing!

@cyrush
Copy link
Contributor

cyrush commented Aug 8, 2024

@ax3l thanks for fixing this!

@ax3l ax3l deleted the fix-conduit-particles-soa branch August 8, 2024 16:11
@ax3l
Copy link
Member Author

ax3l commented Aug 8, 2024

Yay! 🎉 Thank you for testing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Conduit/Ascent is Broken for Pure SoA Particles
4 participants