Skip to content

Compiling for 32bit Linux #424

@ax3l

Description

@ax3l

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinginstallBuild and installation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions