← Back to team overview

dolfin team mailing list archive

Re: Issues when compiling DOLFIN without MPI

 

Garth N. Wells wrote:


Marie Rognes wrote:
I'm trying to compile dolfin with PETSc and SLEPc, but without MPI:

     ./scons.local enableMpi=no withPetscDir=$PETSC_DIR
    withSlepcDir=$SLEPC_DIR

This gives the following error:


Hopefully this is fixed now, although my PETSc is built with MPI, so I can't be sure. Let me know if it's ok or otherwise.


I get through the compilation stage now, so that's good :)

However, if I try to "import dolfin", I get:

       Python 2.5.2 (r252:60911, Jun 19 2008, 15:12:17)
   [GCC 4.1.2 (Gentoo 4.1.2 p1.0.2)] on linux2
   Type "help", "copyright", "credits" or "license" for more information.
    >>> import dolfin
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
     File
   "/home/meg/src/dolfin/dolfin/local/lib/python2.5/site-packages/dolfin/__init__.py",
   line 13, in <module>
       from assemble import *
     File
   "/home/meg/src/dolfin/dolfin/local/lib/python2.5/site-packages/dolfin/assemble.py",
   line 22, in <module>
       from dolfin import *
     File
   "/home/meg/src/dolfin/dolfin/local/lib/python2.5/site-packages/dolfin/dolfin.py",
   line 7, in <module>
       import _dolfin
   ImportError: /home/meg/src/dolfin/dolfin/local/lib/libdolfin.so:
   undefined symbol: MPIUNI_TMP

--
Marie E. Rognes
Ph.D Fellow, Centre of Mathematics for Applications, University of Oslo
http://folk.uio.no/meg



Follow ups

References