ComputationalRadiationPhysics / picongpu

Performance-Portable Particle-in-Cell Simulations for the Exascale Era :sparkles:
https://picongpu.readthedocs.io
Other
694 stars 218 forks source link

Run-time error cudaErrorMisalignedAddress #3202

Open sbastrakov opened 4 years ago

sbastrakov commented 4 years ago

Reported by @cbontoiu in #3199.

So far I was not able to reproduce on Hemera with making the described changes to the standard LWFA.

Creating a separate issue so that this is not forgotten. @cbontoiu , could you provide the full .param setup, .cfg, and your environment details (GPU model, CUDA version, compiler)?

sbastrakov commented 4 years ago

The discussion to be continued in #3203, closing this as duplicate. Wrong call, reopining.

cbontoiu commented 4 years ago

Here is the error

cuda-misalignment.txt

and here are the input param files

param.zip

and the cfg file

1.cfg.txt

My feeling is that this error comes when the differences between the transverse and longitudinal space units are too large. For example in this case I had:

image

Also I have to add that the simulation succeeded to write out 19 .h5 files (tested twice) before failing with this error.

Yes, now I can confirm, the simulation works fine with:

image

sbastrakov commented 4 years ago

Thanks for providing details @cbontoiu . Can't promise I will take a look in the following days, but please feel free to ping us again here if there is no response for long.

cbontoiu commented 4 years ago

Hi can you please remind me how to uninstall the current development version of picongpu (installed a month ago) and install instead the 0.5 version. I remember getting an email about it. Thank you!

sbastrakov commented 4 years ago

Do you mean from source or via spack? For spack, I think this message explains it. However, not sure if the release candidate for 0.5 is already available via spack. And the 0.5 release will happen some time soon. And for source you just checkout branch release-0.5.0-rc1.