Force the alignment of SoA and AoS Particles #4375
Force the alignment of SoA and AoS Particles #4375atmyers merged 4 commits intoAMReX-Codes:developmentfrom
Conversation
|
@WeiqunZhang I see still the same error with this patch in BLAST-ImpactX/impactx-wheels#3 |
|
Oh, I think I tested the first version. Will restart with the latest changes now. |
|
Ok, improvement. Now only the legacy data type (AoS + SoA) has the same alignment issue, too, e.g., for |
|
Oh wait, that was patched here as well. So does not work just yet it seems. |
c92653a to
0d3c5ba
Compare
|
Added a CI runner that shows the issue (and fixed a few more musl issues in #4385 on the way). Status is still: If you have more ideas, you can push them here and see if the AlpineLinux runner passes. |
0732f06 to
ae329ec
Compare
|
There might be a compiler bug that does not treat multiple alignas statements correctly. It is supposed to use the strictest one, but it might be using the last one. If I only use one, the Particle CI tests pass. |
This fixes build issues on 32-bit Linux. This should not affect 64 bits machines.
ae329ec to
7e14c64
Compare
7e14c64 to
8a05f84
Compare
|
Yay, works for ImpactX 25.04+ now: BLAST-ImpactX/impactx-wheels#6 🎉 |
This fixes build issues on 32-bit Linux. This should not affect 64 bits machines.
Fix #4371