mshr issue: libmshr.so.2019.1 not found

180 views
Skip to first unread message

David Nolte

unread,
Apr 15, 2021, 5:43:35 PM4/15/21
to fenics-support
Dear list,

I am using dolfin 2019.1.0 (master 946dbd), compiled from source on
CentOS 8.1, working fine.
However, importing mshr (2019.1.0) gives the following error:

In [1]: import mshr
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-22e342faaa44> in <module>
----> 1 import mshr

~/dev/fenics-master-2020-07-02/venv/lib/python3.6/site-packages/mshr/__init__.py
in
<module>                                                                            

     22 import dolfin
     23
---> 24 from .cpp import Circle
     25 from .cpp import Ellipse
     26 from .cpp import Rectangle

ImportError: libmshr.so.2019.1: cannot open shared object file: No such
file or
directory                                                                               


The installation of mshr did not show any errors, see log attached.
Not sure where to look for the cause of the error. I'd much appreciate
any hints.

Thank you!

David

mshr.log

pascal...@free.fr

unread,
Apr 16, 2021, 6:30:53 AM4/16/21
to fenics-support
you might have a look there. I had a similar problem
Read the whole thread
seems that there is some need to carefully check some versions of slepc or  builds of mshr and dolfin:
Reply all
Reply to author
Forward
0 new messages