Skip to content

Error when importing array_ops #58

Description

@NiallMac

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions