pyamrex
pyamrex copied to clipboard
Compiling for 32bit Linux
Compiling 25.02 for 32bit Linux raises this static assert:
src/Particle/ParticleContainer.cpp:52:8: required from here
2025-03-12T17:03:32.0388802Z /usr/local/include/AMReX_ParticleContainerI.H:65:61: error: static assertion failed: sizeof ParticleType is not a multiple of sizeof RealType
2025-03-12T17:03:32.0390003Z 65 | static_assert(sizeof(ParticleType)%sizeof(RealType) == 0,
2025-03-12T17:03:32.0390575Z | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
https://github.com/AMReX-Codes/pyamrex/blob/25.02/src/Particle/ParticleContainer.cpp#L52
Seen in
- https://github.com/BLAST-ImpactX/impactx-wheels
- https://github.com/AMReX-Codes/amrex/issues/4371