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

Installation error #5

Closed
archgen opened this issue Jan 1, 2023 · 1 comment
Closed

Installation error #5

archgen opened this issue Jan 1, 2023 · 1 comment

Comments

@archgen
Copy link

archgen commented Jan 1, 2023

Hi @Rosemeis, I am trying to install emu following the tutorial. I've come up to the below error and wondering if you have had any luck installing on a mac. I'm using Ventura 13.0.1.
Many thanks,
Matthew

(emu) matthias@Matthews-MacBook-Pro-2 emu % python setup.py build_ext --inplace
running build_ext
building 'emu.shared_cy' extension
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/matthias/opt/anaconda3/envs/emu/include -fPIC -O2 -isystem /Users/matthias/opt/anaconda3/envs/emu/include -I/Users/matthias/opt/anaconda3/envs/emu/lib/python3.10/site-packages/numpy/core/include -I/Users/matthias/opt/anaconda3/envs/emu/lib/python3.10/site-packages/numpy/core/include -I/Users/matthias/opt/anaconda3/envs/emu/include/python3.10 -c emu/shared_cy.c -o build/temp.macosx-10.9-x86_64-cpython-310/emu/shared_cy.o -fopenmp -g0
clang: error: unsupported option '-fopenmp'
error: command '/usr/bin/clang' failed with exit code 1

@Rosemeis
Copy link
Owner

Sorry for the late reply. The issue is that the standard gcc compiler with macOS does not include OpenMP. You therefore need to install the gcc with homebrew.

Best,
Jonas

@archgen archgen closed this as completed May 17, 2023
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