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

fopenmp issue on mac #2599

peiyaoli opened this Issue Sep 10, 2018 · 0 comments


None yet
1 participant

peiyaoli commented Sep 10, 2018

Hi, I met some issues with Cython fopenmp library here.
Mine OS is macos 10.13.6 。
gcc version 5.

I compiled a module with fopenmp and cython library, no error poped up. However, while I import the module,
ImportError: dlopen(/Users/XXX/Documents/Projects/parallel-mse/, 2): Symbol not found: _GOMP_parallel
Referenced from: /Users/XXX/Documents/Projects/parallel-mse/
Expected in: flat namespace
in /Users/XXX/Documents/Projects/parallel-mse/

Here is my gcc -v

Using built-in specs.
Target: x86_64-apple-darwin17.3.0
Configured with: ../configure --build=x86_64-apple-darwin17.3.0 --prefix=/usr/local/Cellar/gcc@5/5.5.0_2 --libdir=/usr/local/Cellar/gcc@5/5.5.0_2/lib/gcc/5 --enable-languages=c,c++,objc,obj-c++,fortran --program-suffix=-5 --with-gmp=/usr/local/opt/gmp --with-mpfr=/usr/local/opt/mpfr --with-mpc=/usr/local/opt/libmpc --with-system-zlib --enable-libstdcxx-time=yes --enable-stage1-checking --enable-checking=release --enable-lto --enable-plugin --disable-werror --with-pkgversion='Homebrew GCC 5.5.0_2' --with-bugurl= --disable-nls --enable-multilib
Thread model: posix
gcc version 5.5.0 (Homebrew GCC 5.5.0_2)

I googled lots of threads but none could solve this. Could anyone have a lot at it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment