Skip to content

SeBa, MESA r2208 and GalactICS fail precision tests on ARM processors #1163

@LourensVeen

Description

@LourensVeen

When running on ARM processors (Apple Silicon and also Raspberry Pi), SeBa, MESA r2208 and GalactICS fail some of the tests because of what seems to be a numerical precision issue. GitHub Actions runs:

GalactICS: https://github.com/LourensVeen/amuse/actions/runs/15856287284
SeBa: https://github.com/LourensVeen/amuse/actions/runs/15846565565
MESA r2208: https://github.com/LourensVeen/amuse/actions/runs/15846565519

These work on my AMD Zen laptop with Linux and both GCC and Clang, and on GitHub actions (Intel?) with gcc. Also SeBa is in C++, and GalactICS and MESA are in Fortran, so it doesn't seem to be a compiler or OS issue.

The one thing we can think of at the moment is that it might be the weird 80-bit internal long double that x86 FPUs have and ARM FPUs don't. There's a compiler switch to use only SSE on x86, which doesn't do more than 64 bits, so we can try that to see if that triggers the problem on x86 as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: methodologyScientific methodology, precision, validation, etc.area: testsThe central tests, for issues testing community codes use area: community_code

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions