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.
Thanks for sharing.
I installed
fastmpextension using the following commands:python setup.py buildpython setup.py installThen, I tried to import
fastmpin this way:from deepstruct.fastmp import fastmpUnfortunately, I got this:
My system has Ubuntu 16.04, and Python 3.5.5. The GCC version is 5.4.