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

Issue compiling with Apple Silicon (M2) #37

Open
malharkute opened this issue Apr 19, 2024 · 3 comments
Open

Issue compiling with Apple Silicon (M2) #37

malharkute opened this issue Apr 19, 2024 · 3 comments

Comments

@malharkute
Copy link

Hi,

I'm trying to compile/install Fermi Surfer on my M2 laptop. The configure step "./configure" runs without issue, but the "make" step gives me the following error:

ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [fermisurfer] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Is there a version released for the ARM64 architecture, or is there any change I can make to the Makefile to make compilation possible? Thanks for your help!

@Dongsheng-Wen
Copy link

Same here. Have you found a solution?

@mitsuaki1987
Copy link
Owner

@malharkute @Dongsheng-Wen
Thank you for reporting.
Sorry I have not yet checked on M2 device.
Could you provide configure.log, and copy of the standard output with make command?

Workarounds until fix this issue is to use FermiSurfer on a remote Linux machine with X11 forwarding, or Web browser version
http://163.220.177.91/fsonweb/index.php
which has a part of functions of original FermiSurfer.

@minkyu-p
Copy link

minkyu-p commented Jul 18, 2024

@mitsuaki1987 I have been also struggling for compilation on Apple Silicon M2. I attach my outputs.
config.log
stdout.log
There seems no critical error in the log, but if I run an example file (e.g. mgb2_vfz.frmsf) I get 85953 segmentation fault.
Moreover, no executable file is generated in the fermisurfer folder.

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

4 participants