Andre Massing wrote: > Hi, > > just updated my DOLFIN to the newest trunk and now I am running into > a missing header file problem during compilation: > > mpic++ -o dolfin/la/EpetraFactory.os -c -Wall -pipe -ansi > -BOOST_UBLAS_NDEBUG -DDEBUG -g -O2 -Werror -DHAS_MPI=1 > -DMPICH_IGNORE_CXX_SEEK -DPACKAGE_VERSION=\"0.9.7\" -DHAS_CGAL=1 > -DHAS_TRILINOS=1 -DHAS_UMFPACK=1 -DHAS_CHOLMOD=1 -DHAS_PARMETIS=1 > -DHAS_LAPACK=1 -DHAS_SLEPC=1 -DHAS_ZLIB=1 -DHAS_MTL4=1 -DHAS_PETSC=1 > -DHAS_GMP=1 -fno-strict-aliasing -frounding-math -DMTL_HAS_BLAS -fPIC > -I. -I/home/andre/local/include -I/usr/include -I/usr/include > -I/usr/include -I/usr/include/libxml2 -I/home/andre/local/include > -I/home/andre/local/include -I/usr/include/suitesparse > -I/usr/include/suitesparse -I/usr/include -I/home/andre/local > -I/home/andre/local/include -I/home/andre/local/include > -I/usr/lib/openmpi/include -I/usr/lib/openmpi/lib -I/usr/include > -I/home/andre/homebase/software/packages/src/fenics-unstable/mtl4 > -I/usr/include -I/home/andre/local/include -I/home/andre/local/include > -I/usr/lib/openmpi/include -I/usr/lib/openmpi/lib -I/usr/include > dolfin/la/EpetraFactory.cpp > > dolfin/la/EpetraFactory.cpp:9:28: error: Epetra_MpiComm.h: No such file > or directory > dolfin/la/EpetraFactory.cpp: In constructor > ‘dolfin::EpetraFactory::EpetraFactory()’: > dolfin/la/EpetraFactory.cpp:32: error: invalid use of incomplete type > ‘struct Epetra_MpiComm’ > dolfin/la/EpetraFactory.h:19: error: forward declaration of ‘struct > Epetra_MpiComm’ > cc1plus: warnings being treated as errors > dolfin/la/EpetraFactory.cpp: In destructor ‘virtual > dolfin::EpetraFactory::~EpetraFactory()’: > dolfin/la/EpetraFactory.cpp:38: error: possible problem detected in > invocation of delete operator: > dolfin/la/EpetraFactory.cpp:38: error: invalid use of incomplete type > ‘struct Epetra_MpiComm’ > dolfin/la/EpetraFactory.h:19: error: forward declaration of ‘struct > Epetra_MpiComm’ > dolfin/la/EpetraFactory.cpp:38: note: neither the destructor nor the > class-specific operator delete will be called, even if they are declared > when the class is defined. > > > The required header was not installed. > I used the default dorsal trilinos installation, so do I have to tweak > the installation to get these header files as well? Or anything else I > have to account for? >
Looks like Trilinos was not configured with MPI. The scons test for Trilinos need to be updated. Garth > Thanks for an help! > Andre > > _______________________________________________ > Mailing list: https://launchpad.net/~dolfin > Post to : dolfin@lists.launchpad.net > Unsubscribe : https://launchpad.net/~dolfin > More help : https://help.launchpad.net/ListHelp _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : dolfin@lists.launchpad.net Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp