-
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
ADIOS Particles are not fully openPMD-compatible #3119
Comments
@KseniaBastrakova as far as I understand, with HDF5 checkpoints it all works fine? |
Oh dang, I think the
Copy-paste-upsi :) @KseniaBastrakova do you like to change this and provide a PR for it? |
Great finding @KseniaBastrakova 👍 . |
@PrometheusPi I don't think it does, since restarting currently uses ADIOS (or HDF5) directly, not via openPMD-API. As long as our writer is consistent with the reader, should be fine. |
Yes, I'm going to do that |
@KseniaBastrakova thanks, please feel free to ping me on the PR. Any chance to get this done today already? :) Re: Restarts. |
@ax3l today @KseniaBastrakova is traveling, so I doubt. |
No problem, opened in #2312 because I need it myself, too. Testing welcome, will go to sleep now ;) |
Fixed by #3120. |
Did you try this is readable with openPMD-api now? |
@ax3l good point, sorry for closing too early. |
Quick test on my data before/after #3120. Reading a series that only contains:
|
@ax3l has your test simulation finished? |
Still have this error:
We could probably ignore this and throw a warning instead in openPMD-api... Although currently we do not encourage to store non-openPMD-data inside the reserved paths that are parsed, so this would not pass the validator nor reading of the standard anyway: openPMD/openPMD-standard#115 The main problem here is that ADIOS particles do not yet use openPMD particle patches, I never had time to finish that last part in the ADIOS I/O set since it affects restarts and I already spend a lot of time making the backend safe under changing MPI distributions between runs. Particle patches also solve that, someone just has to do it. Quick fix for PIConGPU: move the Potential hack for PIConGPU: add the required attributes, although useless, to the Quick hack for existing data: remove the I will in parallel also look if we can hack something in the API to continue parsing on invalid records, but do not have much time this week so no guarantees: openPMD/openPMD-api#620 |
@KseniaBastrakova I pushed work-around that ignores the Still your observation is valid: this object should not be in that location and violates openPMD, so we can leave this issue open until this is fixed. You can test the development version of openPMD-api either by
Feedback if this patch fixes your problem (and/or causes new problems) is appreciated. |
I just released Just run python3 -m pip install --upgrade openpmd-api as usual and this will contain the fix so you can try quicker. |
I still have this problem after update 0.10.2
Still results in the same error
I have checked that version is |
Confusing, I tested this on my own files and had no problems. |
now, I'm pretty sure, that it was my mistake, sorry. I tested it again, everything works and I had no problems on the last version PIConGPU |
Hooray, that's great! :) |
I create ADIOS checkpoints during the simulation.
TBG_checkpoint="--checkpoint.period 1000 --checkpoint.backend adios"
I got some ADIOS file, as a result.
When I tryed open one of ADIOS file, i got error:
series = openpmd_api.Series(checkpoint_0.bp, openpmd_api.Access_Type.read_only)
i'm using ADIOS 1.13.1
And openPMD latest (d68e9fc2),
PicOnGPU latest (d340812)
The text was updated successfully, but these errors were encountered: