ImportError with pyfmi

587 Views Asked by At

I am tying to use pyfmi on our universities Linux HPC cluster. Building the FMILibrary and also installing pyfmi does not throw any error. However I get the below error message when trying to import pyfmi in python:

File "/home/user/.local/lib/python2.7/site-packages/pyfmi/init.py", line 24, in from .fmi import FMUModel, load_fmu, FMUModelME1, FMUModelME2 ImportError: /home/user/.local/lib/python2.7/site-packages/pyfmi/fmi.so: undefined symbol: __intel_sse2_strcpy

Does anyone have an idea what the reason might be?

Thanks in advance!

1

There are 1 best solutions below

0
On

Meanwhile I solved the above problem.

pyfmi was built from source using the intel compiler instead of gcc. So with:

module switch intel gcc

this error didnt occur anymore.