← Back to team overview

dolfin team mailing list archive

Re: Dynamic load of libmpi in PyDOLFIN

 

Ok, strange then that it worked on my computer...

Johan



On Oct 12, 2010, at 10:22, Johannes Ring <johannr@xxxxxxxxx> wrote:

> On Tue, Oct 12, 2010 at 5:12 PM, Johan Hake <johan.hake@xxxxxxxxx> wrote:
>> Hello!
>> 
>> I just tried to remove the import of the dynamicloadmpi module (at the top of
>> __init__.py) and I could still import dolfin. I could not do this with
>> previous Ubuntus (not sure which...).
>> 
>> I am running Lucid now. Does anyone else still have problem importing dolfin
>> when the dynamicloadmpi is outcommented? What with mac?
> 
> Yes, the problem is still there. I tried it on Hardy, Jaunty, Karmic,
> and Lucid and they all fail with the same error message:
> 
> $ python -c "import dolfin"
> Traceback (most recent call last):
>  File "<string>", line 1, in <module>
>  File "/home/fenicsslave/jhbuildbot/fenics/lib/python2.6/site-packages/dolfin/__init__.py",
> line 13, in <module>
>    import dolfin.cpp as cpp
>  File "/home/fenicsslave/jhbuildbot/fenics/lib/python2.6/site-packages/dolfin/cpp.py",
> line 28, in <module>
>    _cpp = swig_import_helper()
>  File "/home/fenicsslave/jhbuildbot/fenics/lib/python2.6/site-packages/dolfin/cpp.py",
> line 24, in swig_import_helper
>    _mod = imp.load_module('_cpp', fp, pathname, description)
> ImportError: /usr/lib/openmpi/lib/openmpi/mca_paffinity_linux.so:
> undefined symbol: mca_base_param_reg_int
> 
> It worked fine when I comment it out on Mac.
> 
> Johannes



Follow ups

References