← Back to team overview

dolfin team mailing list archive

Re: [Question #124644]: runtime error with the latest stable dolfin

 

Question #124644 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/124644

    Status: Open => Answered

Anders Logg proposed the following answer:
On Wed, Sep 08, 2010 at 05:50:29PM -0000, Murtazo Nazarov wrote:
> Question #124644 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/124644
>
>     Status: Answered => Open
>
> Murtazo Nazarov is still having a problem:
> There was some problem with dolfin.pc. Actually I modified the file. It
> looks like the following:
>
> # pkg-config configuration for DOLFIN
> prefix=/NOBACKUP/murtazo/fenics
> exec_prefix=/NOBACKUP/murtazo/fenics
> libdir=${exec_prefix}/lib
> includedir=${prefix}/include
> compiler=/usr/bin/mpicxx
> definitions= -DBOOST_UBLAS_NDEBUG -DHAS_PETSC -DHAS_UMFPACK -DHAS_CHOLMOD -DHAS_SCOTCH -DHAS_PARMETIS -DHAS_CGAL -DHAS_ZLIB -DHAS_CPPUNIT -DHAS_MPI -DMPICH_IGNORE_CXX_SEEK
> swigcflags=
> extlibs=
>
> Name: DOLFIN
> Description: Dynamic Object-oriented Library for FINite element computation
> Version: 0.9.9
> Requires: ufc-1 libxml-2.0
> Conflicts:
> Libs:  -L${libdir} -ldolfin
> Cflags:  -DBOOST_UBLAS_NDEBUG -DHAS_PETSC -DHAS_UMFPACK -DHAS_CHOLMOD -DHAS_SCOTCH -DHAS_PARMETIS -DHAS_CGAL -DHAS_ZLIB -DHAS_CPPUNIT -DHAS_MPI -DMPICH_IGNORE_CXX_SEEK  -DBOOST_UBLAS_NDEBUG -DHAS_PETSC -DHAS_UMFPACK -DHAS_CHOLMOD -DHAS_SCOTCH -DHAS_PARMETIS -DHAS_CGAL -DHAS_ZLIB -DHAS_CPPUNIT -DHAS_MPI -DMPICH_IGNORE_CXX_SEEK  -frounding-math -I/usr/lib/openmpi/include/openmpi -I/usr/include/cppunit -I/usr/include/suitesparse -I/usr/lib/openmpi/lib -I/usr/lib/openmpi/include -I/NOBACKUP/murtazo/fenics/src/petsc-3.1-p4/include -I/NOBACKUP/murtazo/fenics/src/petsc-3.1-p4/linux-gnu-cxx-opt/include -I/usr/include -I/NOBACKUP/murtazo/fenics/include -I/usr/include/libxml2 -I/NOBACKUP/murtazo/fenics/src/dolfin-0.9.9  -I${includedir}

Keep modifying it. Looks like you are missing some flags like -lpetsc.

--
Anders

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.



Follow ups