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

Streaming: Histogramming of Particle Data #1248

Open
ax3l opened this issue Apr 19, 2022 · 0 comments
Open

Streaming: Histogramming of Particle Data #1248

ax3l opened this issue Apr 19, 2022 · 0 comments
Assignees

Comments

@ax3l
Copy link
Member

ax3l commented Apr 19, 2022

@aeriforme would like to write a data pipeline that takes all particle data and bins it to a 1D or 2D user-defined histogram.
This would be a great application of our work in @franzpoeschel et al. https://arxiv.org/abs/2107.06108.

Idea: Let's take the script in https://github.com/openPMD/openPMD-api/blob/dev/src/cli/pipe.py as a template and instead of forwarding the data 1:1 to another file format, we call np.histogram (1D) or np.histogram2d (2D) to store into a histogram per process. Finally, we reduce the histograms (sum) via mpi4py and write them out into a 2D mesh (or simple np.save from rank 0).

@aeriforme works with CINECA clusters.

Ref.:

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

No branches or pull requests

2 participants