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

Cannot compile numpy on Mac OSX #4597

Closed
ziploc1010 opened this issue Apr 7, 2014 · 2 comments
Closed

Cannot compile numpy on Mac OSX #4597

ziploc1010 opened this issue Apr 7, 2014 · 2 comments
Labels
57 - Close? Issues which may be closable unless discussion continued

Comments

@ziploc1010
Copy link

Hi,

I am trying to compile numpy on Mac OSX Mavericks linked to Intel MKL but I get the following error:

python setup.py config --compiler=intelem build_clib --compiler=intelem build_ext --compiler=intelem

icc -O3 -g -fPIC -fp-model strict -fomit-frame-pointer -openmp -xhost -shared build/temp.macosx-10.6-intel-2.7/numpy/core/src/dummymodule.o -Lbuild/temp.macosx-10.6-intel-2.7 -o build/lib.macosx-10.6-intel-2.7/numpy/core/_dummy.so
icc: command line warning #10006: ignoring unknown option '-shared'
Undefined symbols for architecture x86_64:
"_Py_InitModule4_64", referenced from:
_init_dummy in dummymodule.o
"_main", referenced from:
start in crt1.10.6.o
ld: symbol(s) not found for architecture x86_64
icc: command line warning #10006: ignoring unknown option '-shared'
Undefined symbols for architecture x86_64:
"_Py_InitModule4_64", referenced from:
_init_dummy in dummymodule.o
"_main", referenced from:
start in crt1.10.6.o
ld: symbol(s) not found for architecture x86_64
error: Command "icc -O3 -g -fPIC -fp-model strict -fomit-frame-pointer -openmp -xhost -shared build/temp.macosx-10.6-intel-2.7/numpy/core/src/dummymodule.o -Lbuild/temp.macosx-10.6-intel-2.7 -o build/lib.macosx-10.6-intel-2.7/numpy/core/_dummy.so" failed with exit status 1

@kmarekspartz
Copy link

@ziploc1010: Is this still occurring for you?

@charris charris added the 57 - Close? Issues which may be closable unless discussion continued label Jun 11, 2016
@mattip
Copy link
Member

mattip commented Aug 8, 2018

@ziploc1010 is this still occurring? I am closing, please reopen if needed.

@mattip mattip closed this as completed Aug 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
57 - Close? Issues which may be closable unless discussion continued
Projects
None yet
Development

No branches or pull requests

4 participants