-
Notifications
You must be signed in to change notification settings - Fork 217
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
Error trying to read output data from PIConGPU 0.5.0 via openPMD-api 0.15.1 #4568
Comments
It might be that this was a non-standard conform openMD-api plugin implementation on PIConGPU 0.5.0. Perhaps @franzpoeschel can provide details on that. If I remember correctly, 0.5.0 still used libSplash as hdf5 output library. Thus, the adios hdf5 backend was never used extensively. Perhaps using libSplash will fix your problem. There will probably be not fix to 0.5.0. |
There seem to be multiple things going on in the error trace. The error that finally caused the crash apparently not the unitSI thing, because openPMD-api 0.15 detects that kind of error and continues parsing. If it's in any way possible, can you share the failing file with me? What is the output of |
Hi @franzpoeschel thank you for the reply and sorry for my late response. Here is the full file (212M). |
Ok, there are indeed multiple things happening:
The second issue unfortunately means that there is no workaround to make the file accessible, but I'll need to add a fix. I'll try to provide a fix soon, so we can still get it in the upcoming bugfix release. |
For the radiation mask changing this
to |
openPMD/openPMD-api#1469 These should address the issues with reading that file. |
I'm trying to create a lightweight dataset for testing purposes. When compiling a default Bunch or KelvinHelmholtz simulation on PIConGPU 0.5.0, the radiationMask dataset does not appear. EDIT /* filter to enable radiation for electrons
*
* to enable the filter:
* - goto file `speciesDefinition.param`
* - add the attribute `radiationMask` to the electron species
*/ |
|
Using Python 3.11.3, openPMD-api 0.15.1 and some output simulation data from PIConGPU 0.5.0, I get the following error
It seems PIConGPU 0.5.0 uses openPMD standard v1.0.0, which openPMD-api 0.15.1 should support?
The
unitSI
attribute seems to be missing from theparticlePatches
dataset members.Tried with different Python versions and different version of openpmd-api, it seems to be the file itself that is the problem, since everything works fine with PIConGPU 0.6. Afaik 0.6 uses openpmd-api for i/o, right? Still, the difference in the output files seems minor, it would seem like adding a few unitSI in the right places would fix this.
The text was updated successfully, but these errors were encountered: