SHTns runtime error on Apple M1: bad SHT accuracy

Issue #48 resolved
Former user created an issue

Compiling and using SHTns on the new Apple M1 computer (ARM based) leads to Accuracy test failed. Please file a.... *** [SHTns] Run-time error : bad SHT accuracy

Comments (4)

  1. Martin Schreiber

    This seems to be related to the chosen number of spectral modes. E.g. 336 works without this error and the results look nice, but 334 creates this error output.

  2. Nathanaël Schaeffer repo owner

    mmm… I don’t have access to the M1.
    Can you tell me more? What version/commit? What simd flavour is detected (if any)? This information is available on the output line starting with “[SHTns”

    What happens when configured with --disable-simd ?

  3. Martin Schreiber

    II tried this recently with the version 3.5.2 and this problem doesn’t show up anymore.

    It might have been related to a buggy toolchain.

  4. Log in to comment