← Back to team overview

dolfin team mailing list archive

Re: Building with Trilinos fails

 

This works after deleting the old pkg-config files in the dolfin install dir.
Kent told me about the old bug which caused swapping cflags and libs.

-- 
Martin


2008/4/23, Martin Sandve Alnæs <martinal@xxxxxxxxx>:
> scons reports finding trilinos, but the output from pkg-config doesn't
>  seem to be included when compiling:
>
>  g++ -o dolfin/la/EpetraFactory.os -c -Wall -pipe -ansi -DDEBUG -g
>  -Werror -DNDEBUG -O2 -DPACKAGE_VERSION=\"0.7.2\" -DHAS_UMFPACK=1
>  -DHAS_GTS=1 -DHAS_TRILINOS=1 -fPIC -I. -I/usr/include/libxml2
>  -I/usr/include/suitesparse -I/usr/include/glib-2.0
>  -I/usr/lib/glib-2.0/include dolfin/la/EpetraFactory.cpp
>  In file included from dolfin/la/EpetraFactory.cpp:8:
>  dolfin/la/EpetraSparsityPattern.h:13:31: error: Epetra_FECrsGraph.h:
>  No such file or directory
>
>  Perhaps this has only been tested on systems with Trilinos installed in /usr/*?
>
>  --
>
> Martin
>


References