dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #19653
Re: [Question #124644]: runtime error with the latest stable dolfin
Question #124644 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/124644
Murtazo Nazarov gave more information on the question:
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:
> Anders Logg wrote:
>
>> 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
>>
>>
>>
>
>
> I tried to include -lpetsc and even more:
>
> Libs: -L${libdir} -lpetscts -lpetscsnes -lpetscksp -lpetscdm -lpetscmat
> -lpetscvec -lpetsc -lX11 -ldolfin
>
> Still there is the same error.
>
> murtazo
>
>
I have to say that despite my solver all demos work perfectly even
without adding this petsc links.
murtazo
--
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.
Follow ups
References