Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MUSIC on ARM #78

Open
Jo55Jo opened this issue Dec 16, 2023 · 4 comments
Open

MUSIC on ARM #78

Jo55Jo opened this issue Dec 16, 2023 · 4 comments

Comments

@Jo55Jo
Copy link

Jo55Jo commented Dec 16, 2023

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
Copy link
Contributor

mdjurfeldt commented Dec 16, 2023

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
Copy link
Author

Jo55Jo commented Dec 17, 2023

Thank you! This helped!

@mdjurfeldt
Copy link
Contributor

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

@Jo55Jo
Copy link
Author

Jo55Jo commented Dec 21, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants