← Back to team overview

dolfin team mailing list archive

MTL4 errors when building DOLFIN

 


Hi,
I get a ton of errors when building DOLFIN

mpicxx -o dolfin/la/MTL4Vector.os -c -Wall -pipe -ansi -DDEBUG -g -Werror
-DNDEBUG -O2 -DHAS_MPI=1 -DMPICH_IGNORE_CXX_SEEK -DPACKAGE_VERSION=\"0.8.0\"
-DHAS_UMFPACK=1 -DHAS_GTS=1 -DHAS_CHOLMOD=1 -DHAS_MTL4=1 -fPIC -I.
-I/home/oelgaard/local/include -I/usr/include/libxml2 -I/usr/include/suitesparse
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/suitesparse
-I/home/oelgaard/local/lib/mtl4 dolfin/la/MTL4Vector.cpp
In file included from dolfin/la/MTL4Factory.h:15,
                 from dolfin/la/DefaultFactory.cpp:11:
dolfin/la/MTL4Vector.h: In member function ‘virtual const dolfin::real*
dolfin::MTL4Vector::data() const’:
dolfin/la/MTL4Vector.h:124: error: ‘const class dolfin::mtl4_vector’ has no
member named ‘address_data’
dolfin/la/MTL4Vector.h: In member function ‘virtual dolfin::real*
dolfin::MTL4Vector::data()’:
dolfin/la/MTL4Vector.h:128: error: ‘class dolfin::mtl4_vector’ has no member
named ‘address_data’
In file included from ./dolfin/la/KrylovSolver.h:24,
                 from dolfin/la/CholmodCholeskySolver.cpp:11:
./dolfin/la/MTL4Vector.h: In member function ‘virtual const dolfin::real*
dolfin::MTL4Vector::data() const’:
./dolfin/la/MTL4Vector.h:124: error: ‘const class dolfin::mtl4_vector’ has no
member named ‘address_data’
./dolfin/la/MTL4Vector.h: In member function ‘virtual dolfin::real*
dolfin::MTL4Vector::data()’:
./dolfin/la/MTL4Vector.h:128: error: ‘class dolfin::mtl4_vector’ has no member
named ‘address_data’
scons: *** [dolfin/la/CholmodCholeskySolver.os] Error 1
scons: *** [dolfin/la/DefaultFactory.os] Error 1
In file included from dolfin/la/ITLKrylovSolver.cpp:15:
dolfin/la/MTL4Vector.h: In member function ‘virtual const dolfin::real*
dolfin::MTL4Vector::data() const’:
dolfin/la/MTL4Vector.h:124: error: ‘const class dolfin::mtl4_vector’ has no
member named ‘address_data’
dolfin/la/MTL4Vector.h: In member function ‘virtual dolfin::real*
dolfin::MTL4Vector::data()’:
dolfin/la/MTL4Vector.h:128: error: ‘class dolfin::mtl4_vector’ has no member
named ‘address_data’
In file included from dolfin/la/MTL4Factory.h:15,
                 from dolfin/la/MTL4Factory.cpp:11:
dolfin/la/MTL4Vector.h: In member function ‘virtual const dolfin::real*
dolfin::MTL4Vector::data() const’:
dolfin/la/MTL4Vector.h:124: error: ‘const class dolfin::mtl4_vector’ has no
member named ‘address_data’
dolfin/la/MTL4Vector.h: In member function ‘virtual dolfin::real*
dolfin::MTL4Vector::data()’:
dolfin/la/MTL4Vector.h:128: error: ‘class dolfin::mtl4_vector’ has no member
named ‘address_data’
scons: *** [dolfin/la/MTL4Factory.os] Error 1
In file included from dolfin/la/MTL4Matrix.cpp:14:
dolfin/la/MTL4Vector.h: In member function ‘virtual const dolfin::real*
dolfin::MTL4Vector::data() const’:
dolfin/la/MTL4Vector.h:124: error: ‘const class dolfin::mtl4_vector’ has no
member named ‘address_data’
dolfin/la/MTL4Vector.h: In member function ‘virtual dolfin::real*
dolfin::MTL4Vector::data()’:
dolfin/la/MTL4Vector.h:128: error: ‘class dolfin::mtl4_vector’ has no member
named ‘address_data’
scons: *** [dolfin/la/ITLKrylovSolver.os] Error 1
dolfin/la/MTL4Matrix.cpp: In member function ‘virtual boost::tuples::tuple<const
size_t*, const size_t*, const double*, int, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type> dolfin::MTL4Matrix::data()
const’:
dolfin/la/MTL4Matrix.cpp:280: error: ‘const class dolfin::mtl4_sparse_matrix’
has no member named ‘address_major’
dolfin/la/MTL4Matrix.cpp:280: error: ‘const class dolfin::mtl4_sparse_matrix’
has no member named ‘address_minor’
dolfin/la/MTL4Matrix.cpp:280: error: ‘const class dolfin::mtl4_sparse_matrix’
has no member named ‘address_data’
In file included from dolfin/la/MTL4Vector.cpp:19:
dolfin/la/MTL4Vector.h: In member function ‘virtual const dolfin::real*
dolfin::MTL4Vector::data() const’:
dolfin/la/MTL4Vector.h:124: error: ‘const class dolfin::mtl4_vector’ has no
member named ‘address_data’
dolfin/la/MTL4Vector.h: In member function ‘virtual dolfin::real*
dolfin::MTL4Vector::data()’:
dolfin/la/MTL4Vector.h:128: error: ‘class dolfin::mtl4_vector’ has no member
named ‘address_data’
scons: *** [dolfin/la/MTL4Vector.os] Error 1
scons: *** [dolfin/la/MTL4Matrix.os] Error 1
In file included from dolfin/la/LUSolver.h:28,
                 from dolfin/la/LinearSolver.cpp:7:
dolfin/la/MTL4Vector.h: In member function ‘virtual const dolfin::real*
dolfin::MTL4Vector::data() const’:
dolfin/la/MTL4Vector.h:124: error: ‘const class dolfin::mtl4_vector’ has no
member named ‘address_data’
dolfin/la/MTL4Vector.h: In member function ‘virtual dolfin::real*
dolfin::MTL4Vector::data()’:
dolfin/la/MTL4Vector.h:128: error: ‘class dolfin::mtl4_vector’ has no member
named ‘address_data’
scons: *** [dolfin/la/LinearSolver.os] Error 1
scons: building terminated because of errors.

configure picks up mtl4, but I haven't updated it for a while though.

Checking for libxml-2.0... yes
Resolving compiler... done
Found optional package: umfpack
Found optional package: gts
Found optional package: cholmod
Found optional package: mtl4
Unable to find optional package: petsc
Unable to find optional package: slepc
Unable to find optional package: scotch
Unable to find optional package: trilinos
Enabling compilation of PyDOLFIN
scons: done reading SConscript files.

configure options:
./scons.local enablePetsc=0 -j8

Kristian


Follow ups