← Back to team overview

dolfin team mailing list archive

Re: Compile error in MTL4Matrix

 

This is the same error as all the buildbots are giving.

ilamr

Ola Skavhaug wrote:
Hi,

when trying to compile a fresh version of hg dolfin, I get the following error(s):
mpic++ -o dolfin/la/MTL4Matrix.os -c -Wall -pipe -ansi -Werror -DDEBUG 
-g -DNDEBUG -O2 -DHAS_MPI=1 -DMPICH_IGNORE_CXX_SEEK 
-DPACKAGE_VERSION=\"0.8.0\" -DHAS_PETSC=1 -DHAS_SLEPC=1 -DHAS_SCOTCH=1 
-DHAS_UMFPACK=1 -DHAS_GTS=1 -DHAS_CHOLMOD=1 -DHAS_MTL4=1 -fPIC -I. 
-I/usr/include/libxml2 
-I/home/skavhaug/extsoft/petsc-2.3.3-p8/bmake/linux-gnu-cxx-debug 
-I/home/skavhaug/extsoft/petsc-2.3.3-p8/include -I/usr/local/include 
-I/usr/local/lib -Idolfin -I/home/skavhaug/extsoft/slepc-2.3.3 
-I/home/skavhaug/extsoft/slepc-2.3.3/include 
-I/home/skavhaug/extsoft/petsc-2.3.3-p8/bmake/linux-gnu-cxx-debug 
-I/home/skavhaug/extsoft/petsc-2.3.3-p8/include -I/usr/local/include 
-I/usr/local/lib -Idolfin -I/usr/local/include 
-I/usr/include/suitesparse -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/suitesparse 
-I/home/skavhaug/extsoft/mtl4 dolfin/la/MTL4Matrix.cpp
dolfin/la/MTL4Matrix.cpp: In member function «virtual dolfin::uint 
dolfin::MTL4Matrix::size(dolfin::uint) const»:
dolfin/la/MTL4Matrix.cpp:77: error: no matching function for call to 
«num_rows(const dolfin::mtl4_sparse_matrix&)»
dolfin/la/MTL4Matrix.cpp:79: error: no matching function for call to 
«num_cols(const dolfin::mtl4_sparse_matrix&)»
dolfin/la/MTL4Matrix.cpp: In function «dolfin::LogStream& 
dolfin::operator<<(dolfin::LogStream&, const dolfin::MTL4Matrix&)»:
dolfin/la/MTL4Matrix.cpp:316: error: no matching function for call to 
«num_rows(const mtl::compressed2D<double, 
mtl::matrix::parameters<mtl::tag::row_major, mtl::index::c_index, 
mtl::non_fixed::dimensions, false> >&)»
dolfin/la/MTL4Matrix.cpp:317: error: no matching function for call to 
«num_cols(const mtl::compressed2D<double, 
mtl::matrix::parameters<mtl::tag::row_major, mtl::index::c_index, 
mtl::non_fixed::dimensions, false> >&)»
scons: *** [dolfin/la/MTL4Matrix.os] Error 1
scons: building terminated because of errors.


Does anyone know that causes this problem?

Thanks,
--
Ola Skavhaug


------------------------------------------------------------------------

_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/dolfin-dev





Follow ups

References