Dear All,
I am compiling alps and I am stuct at 64%.
The error message is at the very bottom.
My cmake line is :
cmake28 -DCMAKE_INSTALL_PREFIX=~/opt/alps -D
Boost_ROOT_DIR:PATH=~/opt/alps-2.1.1-r6176-src-with-boost/boost/
-DCMAKE_CXX_COMPILER=/opt/intel/composer_xe_2011_sp1.7.256/bin/intel64/icpc
-DCMAKE_C_COMPILER=/opt/intel/composer_xe_2011_sp1.7.256/bin/intel64/icc -D
LAPACK_64_BIT=ON -D HDF5_LIBRARIES=/opt/hdf5-1.8.8-intel/lib/libhdf5.so -D
HDF5_INCLUDE_DIR=/opt/hdf5-1.8.8-intel/include/ -DALPS_BUILD_FORTRAN=ON
~/opt/alps-2.1.1-r6176-src-with-boost/alps/
compliler lines:
-- The C compiler identification is Intel 12.1.0.20111011
-- The CXX compiler identification is Intel 12.1.0.20111011
-- The Fortran compiler identification is Intel
What could be wrong ? I am using version alps-2.1.1-r6176-src-with-boost
(straing from the web page, with FindLapack taken from the
alps-2.1.1-r6670-src-with-boost).
The version alps-2.1.1-r6670-src-with-boost fails at exactly the same point
with exactly the same error message.
Regards,
Mateusz Lacki
[ 64%] Building CXX object
example/ietl/CMakeFiles/jacobidavidson2.dir/jacobidavidson2.cpp.o
/home/lkb/lacki/opt/alps-2.1.1-r6176-src-with-boost/alps/src/boost/numeric/bindings/lapack/computational/getrf.hpp(197):
error: no instance of overloaded function
"boost::numeric::bindings::lapack::detail::getrf" matches the argument list
argument types are: (order, ptrdiff_t, ptrdiff_t, double *,
ptrdiff_t, int *)
return detail::getrf( order(), bindings::size_row(a),
^
detected during:
instantiation of "ptrdiff_t={long}
boost::numeric::bindings::lapack::getrf_impl<Value>::invoke(MatrixA &,
VectorIPIV &) [with Value=double,
MatrixA=boost::numeric::ublas::matrix<double,
boost::numeric::ublas::column_major,
boost::numeric::ublas::unbounded_array<double, std::allocator<double>>>,
VectorIPIV=std::vector<int, std::allocator<int>>]" at line 220
instantiation of "ptrdiff_t={long}
boost::numeric::bindings::lapack::getrf(MatrixA &, VectorIPIV &) [with
MatrixA=boost::numeric::ublas::matrix<double,
boost::numeric::ublas::column_major,
boost::numeric::ublas::unbounded_array<double, std::allocator<double>>>,
VectorIPIV=std::vector<int, std::allocator<int>>]" at line 285 of
"/home/lkb/lacki/opt/alps-2.1.1-r6176-src-with-boost/alps/src/ietl/jd.h"
instantiation of "void ietl::solver::left_prec_solver<SOLV,
MATRIX, VS,
PREC>::operator()(ietl::real_type<ietl::vectorspace_traits<VS>::scalar_type>::type,
ietl::vectorspace_traits<VS>::vector_type &,
ietl::vectorspace_traits<VS>::vector_type &, IT &) [with
SOLV=ietl::gmres_wrapper, MATRIX=matrix_t, VS=ietl::vectorspace<vector_t>,
PREC=jacobi_prec<matrix_t, double>, IT=ietl::jd_iteration<double>]" at line
611 of
"/home/lkb/lacki/opt/alps-2.1.1-r6176-src-with-boost/alps/src/ietl/jd.h"
instantiation of "void ietl::jd<MATRIX, VS>::jdqr(SOLVER &, IT
&, GEN &, ietl::vectorspace_traits<VS>::size_type, bool) [with
MATRIX=matrix_t, VS=ietl::vectorspace<vector_t>,
SOLVER=ietl::solver::left_prec_solver<ietl::gmres_wrapper, matrix_t,
ietl::vectorspace<vector_t>, jacobi_prec<matrix_t, double>>,
IT=ietl::jd_iteration<double>, GEN=gen_t]" at line 384 of
"/home/lkb/lacki/opt/alps-2.1.1-r6176-src-with-boost/alps/src/ietl/jd.h"
instantiation of "void ietl::jd<MATRIX, VS>::eigensystem(IT &,
GEN &, ietl::vectorspace_traits<VS>::size_type, PREC &, SOLV, bool) [with
MATRIX=matrix_t, VS=ietl::vectorspace<vector_t>, SOLV=ietl::gmres_wrapper,
IT=ietl::jd_iteration<double>, GEN=gen_t, PREC=jacobi_prec<matrix_t,
double>]" at line 165 of
"/home/lkb/lacki/opt/alps-2.1.1-r6176-src-with-boost/alps/example/ietl/jacobidavidson2.cpp"
/home/lkb/lacki/opt/alps-2.1.1-r6176-src-with-boost/alps/src/boost/numeric/bindings/lapack/computational/getrs.hpp(222):
error: no instance of overloaded function
"boost::numeric::bindings::lapack::detail::getrs" matches the argument list
argument types are: (order, trans, ptrdiff_t, ptrdiff_t, const
double *, ptrdiff_t, const int *, double *, ptrdiff_t)
return detail::getrs( order(), trans(),
bindings::size_column_op(a,
^
detected during:
instantiation of "ptrdiff_t={long}
boost::numeric::bindings::lapack::getrs_impl<Value>::invoke(const MatrixA
&, const VectorIPIV &, MatrixB &) [with Value=double,
MatrixA=boost::numeric::ublas::matrix<double,
boost::numeric::ublas::column_major,
boost::numeric::ublas::unbounded_array<double, std::allocator<double>>>,
VectorIPIV=std::vector<int, std::allocator<int>>,
MatrixB=boost::numeric::ublas::vector<double,
boost::numeric::ublas::unbounded_array<double, std::allocator<double>>>]"
at line 247
instantiation of "ptrdiff_t={long}
boost::numeric::bindings::lapack::getrs(const MatrixA &, const VectorIPIV
&, MatrixB &) [with MatrixA=boost::numeric::ublas::matrix<double,
boost::numeric::ublas::column_major,
boost::numeric::ublas::unbounded_array<double, std::allocator<double>>>,
VectorIPIV=std::vector<int, std::allocator<int>>,
MatrixB=boost::numeric::ublas::vector<double,
boost::numeric::ublas::unbounded_array<double, std::allocator<double>>>]"
at line 294 of
"/home/lkb/lacki/opt/alps-2.1.1-r6176-src-with-boost/alps/src/ietl/jd.h"
instantiation of "void ietl::solver::left_prec_solver<SOLV,
MATRIX, VS,
PREC>::operator()(ietl::real_type<ietl::vectorspace_traits<VS>::scalar_type>::type,
ietl::vectorspace_traits<VS>::vector_type &,
ietl::vectorspace_traits<VS>::vector_type &, IT &) [with
SOLV=ietl::gmres_wrapper, MATRIX=matrix_t, VS=ietl::vectorspace<vector_t>,
PREC=jacobi_prec<matrix_t, double>, IT=ietl::jd_iteration<double>]" at line
611 of
"/home/lkb/lacki/opt/alps-2.1.1-r6176-src-with-boost/alps/src/ietl/jd.h"
instantiation of "void ietl::jd<MATRIX, VS>::jdqr(SOLVER &, IT
&, GEN &, ietl::vectorspace_traits<VS>::size_type, bool) [with
MATRIX=matrix_t, VS=ietl::vectorspace<vector_t>,
SOLVER=ietl::solver::left_prec_solver<ietl::gmres_wrapper, matrix_t,
ietl::vectorspace<vector_t>, jacobi_prec<matrix_t, double>>,
IT=ietl::jd_iteration<double>, GEN=gen_t]" at line 384 of
"/home/lkb/lacki/opt/alps-2.1.1-r6176-src-with-boost/alps/src/ietl/jd.h"
instantiation of "void ietl::jd<MATRIX, VS>::eigensystem(IT &,
GEN &, ietl::vectorspace_traits<VS>::size_type, PREC &, SOLV, bool) [with
MATRIX=matrix_t, VS=ietl::vectorspace<vector_t>, SOLV=ietl::gmres_wrapper,
IT=ietl::jd_iteration<double>, GEN=gen_t, PREC=jacobi_prec<matrix_t,
double>]" at line 165 of
"/home/lkb/lacki/opt/alps-2.1.1-r6176-src-with-boost/alps/example/ietl/jacobidavidson2.cpp"
compilation aborted for
/home/lkb/lacki/opt/alps-2.1.1-r6176-src-with-boost/alps/example/ietl/jacobidavidson2.cpp
(code 2)
make[2]: ***
[example/ietl/CMakeFiles/jacobidavidson2.dir/jacobidavidson2.cpp.o] Erreur 2
make[1]: *** [example/ietl/CMakeFiles/jacobidavidson2.dir/all] Erreur 2
make: *** [all] Erreur 2