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

Libboost_mpi error when updated to Ubuntu 14.04

+1 vote

Hi,

Does anyone get the same error message when running any RANS demo after undated to Ubuntu 14.04? The following is what I get:
...
File "/home/cbcdesys/cbc/pdesys/PDESubSystems.py", line 8, in
from dolfin import *
File "/home/Work/FEniCS/lib/python2.7/site-packages/dolfin/init.py", line 16, in
import cpp
File "/home/Work/FEniCS/lib/python2.7/site-packages/dolfin/cpp/init.py", line 42, in
exec("import %s" % module_name)
File "", line 1, in
File "/home/Work/FEniCS/lib/python2.7/site-packages/dolfin/cpp/common.py", line 30, in
_common = swig_import_helper()
File "/home/Work/FEniCS/lib/python2.7/site-packages/dolfin/cpp/common.py", line 26, in swig_import_helper
_mod = imp.load_module('_common', fp, pathname, description)
ImportError: libboost_mpi.so.1.53.0: cannot open shared object file: No such file or directory

How do I resolve this issue? I tried reinstalling python and libboost* and I still get the same message.

Any help is appreciated.

Thanks.

Fangyuan

asked Apr 2, 2014 by fangyuan FEniCS Novice (160 points)

1 Answer

+1 vote

There was old DOLFIN packages in the FEniCS PPA that probably caused this problem. Try to remove them and use the packages in the standard Ubuntu archive instead. Something like this should work:

sudo apt-get purge dolfin*
sudo apt-get autoremove
sudo rm -f /etc/apt/sources.list.d/fenics-packages-fenics-trusty.list
sudo apt-get update
sudo apt-get install fenics
sudo apt-get dist-upgrade
answered Apr 2, 2014 by johannr FEniCS Expert (17,350 points)
...