-
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
Corrupted .h5 files w/ particles #5222
Comments
Could you please check with |
With
With
|
here is output for 5 steps of simulation with
Without chuncking I can't write my openPMD output with species at all |
@psychocoderHPC @franzpoeschel From the output it seems that @weqoll I know this is a tedious workaround, but it might help to have at least some particle information: Can you dump only one species per file by specifying |
@weqoll I saw in the output of PIConGPU that you are using OpenPMD version 0.17.0-dev. Can you try to use the latest release instead. https://github.com/openPMD/openPMD-api/releases I am not sure if there are some issues in the dev branch of openPMD or if you maybe pulled a non wroking version of the dev branch. |
0.17.0-dev currently only contains bugfixes compared to the release, so this should be fine. Will look in more detail later today. |
With HDF5, there are unfortunately sometimes combinations of parameters which can lead to troubles like this. We have seen similar issues in the past and not been able to find a clear cause for them. There are multiple things to try:
|
Thank you for help, I'll be able to try all the actions today later and after i'll write about results |
Well, I tried what you've written about chuncking and hdf5, however it didn't help I've just also tried to reinstall hdf5 and openmpi from sources instead of pre-built packages because of their versions I'm sure that root of this issue could be linked with misversioning, because openPMD documentation claims:
After reinstalling of MPI and HDF5 I've successfully recompiled whole PIConGPU.
However, I can't do anything with this program. After launch of
Could you help me figure out what i am missing? Thanks |
I figured out that OpenMPI v-5.0 does not support openib, so that can be an issue open-mpi/ompi#8831 |
You can simply empty https://github.com/ComputationalRadiationPhysics/picongpu/blob/dev/etc/picongpu/openib.conf in your PIConGPU cloned code. This is where we set this openib config. |
fix ComputationalRadiationPhysics#5222 The ibconfig is not compatible with all OpenMPI versions. This file was added by me over 10 years ago as workaround for infiniband issues. If for any reasons ib configuration are required the variables should be set in the coresponding tpl file.
#5229 will remove the config file completely. |
Sorry that my issue takes so long to resolve.
I've compilated openMPI 5.0 that supports multithreading out of box. In
HDF5 is also compiled with |
Sorry, I forgot mentioning that you would need to activate threaded MPI for the subfiling VFD. You can do this in PIConGPU by running export PIC_USE_THREADED_MPI=MPI_THREAD_MULTIPLE before launching PIConGPU. |
seems like somethign is missing :( |
Huh |
It's for the generic openPMD, i've dropped the macro particle counter for the sake of the experiment. Also, there is some strange behaviour if I set chunking OFF without subfilling too. I'll be waiting for your answers, thank you for the help! |
The segmentation fault was my error, fixed with #5230. You can use something like the below command to get normal HDF5 files from the subfiling output: for i in ./openPMD/simData_000*.h5.*.config; do h5fuse -f "$i"; done
Yes, this is the kind of error that I mentioned a few days ago. We also saw this sporadically, but were never really able to find out where it comes from. Generally, those issues are fixed by either switching between ROMIO and MPI-IO or between chunking and no chunking, but there seems to be no setting that works always. |
@ikbuibui Can you please reopen the issue? Github closed it automatically. |
Hello everyone!
I'm trying to repeat setup with preionized foil (tilted at 45 degrees) and femtosecond pulse. Fs-pulse goes along x-axis and reflects from foil, causing some extra light radiation to generate via redistribution of electrons. Everything goes OK at the calculations phase, however there are issues with openPMD output and its formation into .h5-files.
All works fine with fields, but in the case of particles everything goes weird;
Find this issue with almost standard Probe Particles setup: everything repeats your workflow documentation except for its distribution. I formed an x-line with thickness about 1-2 x-steps. So it all goes like this:
MacroParticlesCounter reports that everything is OK with probes initialization, their number is about the size of simulation area linear size.
However, when I try to read probes dataset from this file with matlab function
h5read
, there goes an error:Function
h5disp()
gives me such warning:That's kinda weird, because when i try to write .h5 files earlier everything was ok and electrons+ions particle distributions was taken without any errors.
Could you help me with this issue? Or at least could you give me some ways to debug such issue?
I've recompiled a lot of times this probe setup even with standard
EveryNthCell
density profile, but this issue's recreating over and over. Thank you!I've installed the actual PIConGPU version for November 15th at
dev
-branch, my OS version is:density.param
snippet:particle.param
snippet:speciesDefinition.param
snippet:speciesInitialization.param
snippet:fileOutput.param
snippet:The text was updated successfully, but these errors were encountered: