|
|
## Py-M.E.S.S. and Slycot
|
|
|
|
|
|
Slycot is a Python interface to the SLICOT library. Since it depends on Fortran code it might happen that there are conflicts when using the Python-Wheels from our website. The problem was first detected by the pyMOR developers (https://github.com/pymor/pymor/issues/412):
|
|
|
> I have weired issue regarding pymess wheels and slycot:
|
|
|
> ```
|
|
|
> import slycot
|
|
|
> import pymess
|
|
|
> ```
|
|
|
> works fine. However
|
|
|
> ```
|
|
|
> import pymess
|
|
|
> import slycot
|
|
|
> ```
|
|
|
> leads to
|
|
|
> ```
|
|
|
> Traceback (most recent call last):
|
|
|
> File "<stdin>", line 1, in <module>
|
|
|
> File "/home/stephan/.virtualenvs/pymor/lib/python3.5/site-packages/slycot/__init__.py", line 16, in <module>
|
|
|
> from .analysis import ab01nd,ab05md,ab05nd,ab07nd,ab08nd, \
|
|
|
> File "/home/stephan/.virtualenvs/pymor/lib/python3.5/site-packages/slycot/analysis.py", line 21, in <module>
|
|
|
> from . import _wrapper
|
|
|
> ImportError: /home/stephan/.virtualenvs/pymor/lib/python3.5/site-packages/pymess/.libs/libgfortran.so.3: version `GFORTRAN_1.4' not found (required by /home/stephan /.virtualenvs/pymor/lib/python3.5/site-packages/slycot/_wrapper.cpython-35m-x86_64-linux-gnu.so)
|
|
|
> ```
|
|
|
|
|
|
Since this problem is hard to reproduce we suggest to load `pymess` always after `slycot`.
|
|
|
|
|
|
|