This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

mshr install problem

0 votes

I have installed mshr using

git clone https://bitbucket.org/benjamik/mshr.git

cd mshr

mkdir mshr/build

cd mshr/build

cmake ..

make && make install

I'm using dolphin dev (from a git clone on 20140929) and petsc-3.5.2.

I get this when testing the install

$ python -c "import mshr"
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/site-packages/mshr.py", line 30, in
_mshr = swig_import_helper()
File "/usr/local/lib/python2.7/site-packages/mshr.py", line 26, in swig_import_helper
_mod = imp.load_module('_mshr', fp, pathname, description)
ImportError: dynamic module does not define init function (init_mshr)

Any idea what is wrong here?

/Fredrik

closed with the note: Please send this question to the FEniCS support mailing list: http://fenicsproject.org/mailman/listinfo/fenics-support
asked Sep 30, 2014 by frli FEniCS Novice (120 points)
closed Sep 30, 2014 by johannr
...