Skip to content

Import Error for fastmp module #3

@neda-noor-m

Description

@neda-noor-m

Thanks for sharing.
I installed fastmp extension using the following commands:
python setup.py build
python setup.py install
Then, I tried to import fastmp in this way:
from deepstruct.fastmp import fastmp
Unfortunately, I got this:

from deepstruct.fastmp import fastmp
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "/home/neda/pycharm-community-2018.1.1/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 20, in do_import
    module = self._system_import(name, *args, **kwargs)
ImportError: /home/neda/Documents/neda/PHD-thesis/code/SPEN/NLStruct_1/deepstruct/fastmp/fastmp.cpython-35m-x86_64-linux-gnu.so: undefined symbol: omp_get_thread_num

My system has Ubuntu 16.04, and Python 3.5.5. The GCC version is 5.4.

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