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

Read in parallel #14

Open
mattbellis opened this issue Jul 12, 2021 · 2 comments
Open

Read in parallel #14

mattbellis opened this issue Jul 12, 2021 · 2 comments
Assignees

Comments

@mattbellis
Copy link
Owner

h5py parallel.

There is already is read.py a way to read "chunks" of the data. For example from event 0 to 99.

Can we have an example with 4 threads (?) reading simultaneously from 0-99, 100-199, etc.?

@mattbellis
Copy link
Owner Author

@noahfranz13 noahfranz13 self-assigned this Jun 19, 2023
@noahfranz13
Copy link
Collaborator

I tried to do this with pythons built in multiprocessing.Pool function and it does not work because h5py File objects can not be pickled. The error can be recreated in this notebook.

I read through the h5py mpi docs link above and it seems like it needs some extra modules installed. I will look into those more and try to utilize them!

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

2 participants