This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Compiling error on Eigen 3.2 with Pardisco support

Tags: None
(comma "," separated)
eigenlearner
Registered Member
Posts
17
Karma
0
Thanks for putting up new release of Eigen version 3.2.

I have just tried the newest version and got an compile error on Pardiso support with Intel MKL:

error C2784: 'const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<Derived::Scalar>,const Derived> Eigen::abs(const Eigen::ArrayBase<Derived> &)' : could not deduce template argument for 'const Eigen::ArrayBase<Derived> &' from 'int'

The error is resulted from source codes

Eigen::PardisoLU<Eigen::SparseMatrix<double> > Solver;
Solver.compute(dA);

where dA is an Eigen::SparseMatrix<double> defined earlier.

BTW, I have used the same code with earlier version 3.1.3 without any problem.

The compiler is VS2012 C++.

Any help is greatly appreciated.
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS
This has been discussed a days ago on the ML: http://thread.gmane.org/gmane.comp.lib.eigen/4172


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]