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

Error when importing array_ops #58

Open
NiallMac opened this issue Nov 25, 2021 · 0 comments
Open

Error when importing array_ops #58

NiallMac opened this issue Nov 25, 2021 · 0 comments

Comments

@NiallMac
Copy link

I'm getting the following when trying to import array_ops. I didn't get errors during the compilation - I can attach the output of that if useful.

>>> from enlib import array_ops
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/r/rbond/maccrann/cmb/code/enlib_dir/enlib/array_ops/__init__.py", line 1, in <module>
    from .interface import *
  File "/home/r/rbond/maccrann/cmb/code/enlib_dir/enlib/array_ops/interface.py", line 4, in <module>
    from . import fortran_32, fortran_64, fortran_c64, fortran_c128
ImportError: /home/r/rbond/maccrann/cmb/code/enlib_dir/enlib/array_ops/fortran_32.cpython-39-x86_64-linux-gnu.so: undefined symbol: ssyev_

Here is the contents of my COMPILE_OPTS file:

export LAPACK_LINK = -L$(MKLPATH) -lmkl_rt -lpthread -lm
export OMP_LINK    = -liomp5
export FFLAGS      = -qopenmp -Ofast -fPIC -xhost # -vec-report -opt-report
#export FFLAGS      = -O0 -CB -g -fPIC -xhost # -vec-report -opt-report
export FSAFE       = -qopenmp -O3 -fPIC -xhost
export CFLAGS      = -fopenmp -lgomp
export FC          = ifort
export F2PY        = f2py
export F2PYCOMP    = intelem
export PYTHON      = python
export SED         = sed
export CC          = icc

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

1 participant