-
Notifications
You must be signed in to change notification settings - Fork 17
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
Change checksum backend to h5py to improve CI performance #725
Conversation
Does this fix #717? |
@AlexanderSinn thanks for this PR! Yes it seems to address #717, although I originally expected that CI was slowed down because HiPACE++ was slower, not because the Python analysis scripts were. Could you merge dev in there?
|
There was a problem hiding this 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. There is still something fishy to look at in the dependencies, but this accelerated CI time will be appreciated for now.
The issue was identified to be caused by the upgrade of openPMD viewer from 1.2 to 1.3: The last fast CI was on PR #687 and the first slow CI was on PR #689. Fast CI was with openPMD viewer 1.2 (from the log of #687):
slow CI was with openPMD viewer 1.3 (from the log of #689)
|
Thanks for reporting this. |
This will require some more testing, because all the tests that take significantly longer read out both fields and particles. |
https://github.com/openPMD/openPMD-viewer/pull/332/files seems to indeed introduce the Issue, however my testing suggests that the slow-down actually occurs when reading in particles with the get_data() function.
|
Sorry for being so slow on GitHub pings, feel free to also ping on Slack as well when I overlook something important :( Thank you for triaging & finding the root cause of this is from openPMD/openPMD-viewer#332 / openPMD/openPMD-viewer#334. You used HDF5 files, right? (Not json, which is for testing & very slow, ofc.) |
Yes, HDF5 files |
I am amazed that How large is the data set in question and how many MPI ranks wrote it? |
I drafted a potential fix in openPMD/openPMD-viewer#340 |
Fixed via Thank you @AlexanderSinn for the help! :) |
Based on #724
There seems to be something wrong with the
openpmd-api
backend in openPMD-viewer so change toh5py
backend for now.Default
openpmd-api
backend:h5py
backend: