The second problem relates to MTL4. I've recently started to receive the
following error when attempting to build DOLFIN, even after checking out
a recent MTL4.
/unstable/mtl4/boost/numeric/mtl/matrix/compressed2D.hpp: In member
function ‘mtl::matrix::compressed2D_inserter<Elt, Parameters, Updater>&
mtl::matrix::compressed2D_inserter<Value, Parameters,
Updater>::sorted_block_insertion(const
mtl::matrix::element_matrix_t<EMatrix, Rows, Cols>&) [with Matrix =
mtl::matrix::dense2D<double,
mtl::matrix::parameters<mtl::tag::row_major, mtl::index::c_index,
mtl::non_fixed::dimensions, false> >, Rows =
mtl::vector::dense_vector<dolfin::uint,
mtl::vector::parameters<mtl::tag::col_major,
mtl::vector::non_fixed::dimension, false, false> >, Cols =
mtl::vector::dense_vector<dolfin::uint,
mtl::vector::parameters<mtl::tag::col_major,
mtl::vector::non_fixed::dimension, false, false> >, Elt = double,
Parameters = mtl::matrix::parameters<mtl::tag::row_major,
mtl::index::c_index, mtl::non_fixed::dimensions, false>, Updater =
mtl::operations::update_plus<double>]’:
/unstable/mtl4/boost/numeric/mtl/matrix/compressed2D.hpp:544:
instantiated from ‘mtl::matrix::compressed2D_inserter<Value, Parameters,
Updater>& mtl::matrix::compressed2D_inserter<Value, Parameters,
Updater>::operator<<(const mtl::matrix::element_matrix_t<EMatrix, Rows,
Cols>&) [with Matrix = mtl::matrix::dense2D<double,
mtl::matrix::parameters<mtl::tag::row_major, mtl::index::c_index,
mtl::non_fixed::dimensions, false> >, Rows =
mtl::vector::dense_vector<dolfin::uint,
mtl::vector::parameters<mtl::tag::col_major,
mtl::vector::non_fixed::dimension, false, false> >, Cols =
mtl::vector::dense_vector<dolfin::uint,
mtl::vector::parameters<mtl::tag::col_major,
mtl::vector::non_fixed::dimension, false, false> >, Elt = double,
Parameters = mtl::matrix::parameters<mtl::tag::row_major,
mtl::index::c_index, mtl::non_fixed::dimensions, false>, Updater =
mtl::operations::update_plus<double>]’
/unstable/mtl4/boost/numeric/mtl/matrix/compressed2D.hpp:557:
instantiated from ‘mtl::matrix::compressed2D_inserter<Value, Parameters,
Updater>& mtl::matrix::compressed2D_inserter<Value, Parameters,
Updater>::operator<<(const mtl::matrix::element_array_t<EMatrix, Rows,
Cols>&) [with Matrix = mtl::matrix::dense2D<double,
mtl::matrix::parameters<mtl::tag::row_major, mtl::index::c_index,
mtl::non_fixed::dimensions, false> >, Rows =
mtl::vector::dense_vector<dolfin::uint,
mtl::vector::parameters<mtl::tag::col_major,
mtl::vector::non_fixed::dimension, false, false> >, Cols =
mtl::vector::dense_vector<dolfin::uint,
mtl::vector::parameters<mtl::tag::col_major,
mtl::vector::non_fixed::dimension, false, false> >, Elt = double,
Parameters = mtl::matrix::parameters<mtl::tag::row_major,
mtl::index::c_index, mtl::non_fixed::dimensions, false>, Updater =
mtl::operations::update_plus<double>]’
dolfin/la/MTL4Matrix.cpp:113: instantiated from here
/unstable/mtl4/boost/numeric/mtl/matrix/compressed2D.hpp:747: error: no
matching function for call to ‘num_cols(const
mtl::matrix::dense2D<double,
mtl::matrix::parameters<mtl::tag::row_major, mtl::index::c_index,
mtl::non_fixed::dimensions, false> >&)’
/unstable/mtl4/boost/numeric/mtl/matrix/compressed2D.hpp:544:
instantiated from ‘mtl::matrix::compressed2D_inserter<Value, Parameters,
Updater>& mtl::matrix::compressed2D_inserter<Value, Parameters,
Updater>::operator<<(const mtl::matrix::element_matrix_t<EMatrix, Rows,
Cols>&) [with Matrix = mtl::matrix::dense2D<double,
mtl::matrix::parameters<mtl::tag::row_major, mtl::index::c_index,
mtl::non_fixed::dimensions, false> >, Rows =
mtl::vector::dense_vector<dolfin::uint,
mtl::vector::parameters<mtl::tag::col_major,
mtl::vector::non_fixed::dimension, false, false> >, Cols =
mtl::vector::dense_vector<dolfin::uint,
mtl::vector::parameters<mtl::tag::col_major,
mtl::vector::non_fixed::dimension, false, false> >, Elt = double,
Parameters = mtl::matrix::parameters<mtl::tag::row_major,
mtl::index::c_index, mtl::non_fixed::dimensions, false>, Updater =
mtl::operations::update_plus<double>]’
/unstable/mtl4/boost/numeric/mtl/matrix/compressed2D.hpp:557:
instantiated from ‘mtl::matrix::compressed2D_inserter<Value, Parameters,
Updater>& mtl::matrix::compressed2D_inserter<Value, Parameters,
Updater>::operator<<(const mtl::matrix::element_array_t<EMatrix, Rows,
Cols>&) [with Matrix = mtl::matrix::dense2D<double,
mtl::matrix::parameters<mtl::tag::row_major, mtl::index::c_index,
mtl::non_fixed::dimensions, false> >, Rows =
mtl::vector::dense_vector<dolfin::uint,
mtl::vector::parameters<mtl::tag::col_major,
mtl::vector::non_fixed::dimension, false, false> >, Cols =
mtl::vector::dense_vector<dolfin::uint,
mtl::vector::parameters<mtl::tag::col_major,
mtl::vector::non_fixed::dimension, false, false> >, Elt = double,
Parameters = mtl::matrix::parameters<mtl::tag::row_major,
mtl::index::c_index, mtl::non_fixed::dimensions, false>, Updater =
mtl::operations::update_plus<double>]’
dolfin/la/MTL4Matrix.cpp:113: instantiated from here
/unstable/mtl4/boost/numeric/mtl/matrix/compressed2D.hpp:747: error: no
matching function for call to ‘num_rows(const
mtl::matrix::dense2D<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.
dolfin/la/MTL4Matrix.os failed: Error 1