I have installed mshr using
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