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

Added support to use adios2's flatten_step #5634

Open
wants to merge 6 commits into
base: development
Choose a base branch
from

Conversation

guj
Copy link
Contributor

@guj guj commented Feb 3, 2025

To enable it, put it in the openPMD option through input file:
e.g.

diag1_f.openpmd_backend = bp
diag1_f.adios2_engine.type = bp5
diag1_f.adios2_engine.parameters.FlattenSteps = on

This feature is useful for BTD use case. Data can be flushed after each buffered writes of a snapshot

To check weather this feature is in use, try "bpls -V your_bp_file_name"

To enable it, put it in the openPMD option through input file.
@ax3l ax3l self-requested a review February 3, 2025 23:38
@ax3l ax3l self-assigned this Feb 3, 2025
Copy link
Member

@lucafedeli88 lucafedeli88 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this PR, @guj !
I've left few comments, mainly to make clang-tidy and CodeQL happy.

Source/Diagnostics/WarpXOpenPMD.cpp Outdated Show resolved Hide resolved
Source/Diagnostics/WarpXOpenPMD.cpp Outdated Show resolved Hide resolved
Source/Diagnostics/WarpXOpenPMD.cpp Outdated Show resolved Hide resolved
Source/Diagnostics/WarpXOpenPMD.cpp Outdated Show resolved Hide resolved
Source/Diagnostics/WarpXOpenPMD.cpp Outdated Show resolved Hide resolved
guj and others added 5 commits February 5, 2025 09:53
Added braces for the if/else loop via Luca Fedeli

Co-authored-by: Luca Fedeli <[email protected]>
added  const to bool variable via Luca Fedeli

Co-authored-by: Luca Fedeli <[email protected]>
eliminate extra space

Co-authored-by: Luca Fedeli <[email protected]>
remove commented line via Luca Fedeli

Co-authored-by: Luca Fedeli <[email protected]>
Remove commented line via Luca Fedeli

Co-authored-by: Luca Fedeli <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants