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

make errors #2

Open
gnye8 opened this issue Aug 12, 2022 · 1 comment
Open

make errors #2

gnye8 opened this issue Aug 12, 2022 · 1 comment

Comments

@gnye8
Copy link

gnye8 commented Aug 12, 2022

Hi, I've tried to install this on my macbook (it is running Monterey 12.4 with M2 chip), and when I run 'make' in the src folder, it gives me this error:

g++ -O3 -mfpmath=sse -msse -msse2 -msse3 -DEVIDENCE_SR -DEVIDENCE_PARS  -DNDEBUG -W -pipe -Wundef -Winline --param large-function-growth=100000 -Wall  -c Contrafold.cpp
clang: warning: argument unused during compilation: '-msse' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-msse2' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-msse3' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '--param large-function-growth=100000' [-Wunused-command-line-argument]
error: unknown FP unit 'sse'

Thanks for your help!

@csfoo
Copy link
Owner

csfoo commented Aug 13, 2022

Hi, you may remove the compiler option -mfpmath=sse and it should work. These sse related options are specific to Intel CPUs to speed-up the computations.

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