INCF / MUSIC

MUSIC, the MUltiSimulation Coordinator
GNU General Public License v3.0
37 stars 37 forks source link

MUSIC on ARM #78

Open Jo55Jo opened 9 months ago

Jo55Jo commented 9 months ago

I tried installing MUSIC on apple M1 Arm. I have problems in the make process, especially linking problems. Does anybody know whether it is possible to install MUSIC on Arm?

this is the error at the end of the "make" process: ... ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: [music] Error 1 make[1]: [all-recursive] Error 1 make: *** [all] Error 2

mdjurfeldt commented 9 months ago

There shouldn't be any architecture-dependent code in MUSIC, so this is likely due to which compiler has been invoked. Could it be that there exists some cross-compiler on your system which does not produce code for the right architecture? Note also that there exists more than one arm architecture.

You could use the environment variables MPI_CXX etc as described in README to explicitly tell the configure script what compiler and flags to use.

Jo55Jo commented 8 months ago

Thank you! This helped!

mdjurfeldt commented 8 months ago

OK, so you got it working? Can I close this issue?

Jo55Jo commented 8 months ago

Yes thank you!

Am 18.12.2023 um 00:15 schrieb mdjurfeldt @.***>:

OK, so you got it working? Can I close this issue?

— Reply to this email directly, view it on GitHub https://github.com/INCF/MUSIC/issues/78#issuecomment-1859318571, or unsubscribe https://github.com/notifications/unsubscribe-auth/AY5JO2KSBWTKZAYWH57QLW3YJ54IVAVCNFSM6AAAAABAXVIPMGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJZGMYTQNJXGE. You are receiving this because you authored the thread.