Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Matthew_H_
Beginner
64 Views

Cannot run SVD on Armadillo linked with MKL

Hi, I am trying to run an SVD on a 19016x19016 matrix on my Mac OSX Mavericks with Armadillo linked to Intel MKL. But I get the following error: ./example SVD Start: 19016 19016 0.000000 ** On entry to DGESDD, parameter number 12 had an illegal value error: svd(): failed to converge Here is my code: #define ARMA_DONT_USE_WRAPPER #include mat U, V, A; vec s; svd(U,s,V,A); I make the program with: g++-4.2 -O3 -framework Accelerate example.cpp mmio.cpp -o example

0 Kudos
2 Replies
Matthew_H_
Beginner
64 Views

It looks like I'm having some problems with text formatting:

Matthew H. wrote:

Hi, I am trying to run an SVD on a 19016x19016 matrix on my Mac OSX Mavericks with Armadillo linked to Intel MKL.

But I get the following error:

/example SVD Start: 19016 19016 0.000000

** On entry to DGESDD, parameter number 12 had an illegal value error:

svd(): failed to converge

Here is my code:

#define ARMA_DONT_USE_WRAPPER

#include mat U, V, A;

vec s;

svd(U,s,V,A);

I make the program with:

g++-4.2 -O3 -framework Accelerate example.cpp mmio.cpp -o example

Ying_H_Intel
Employee
64 Views

Hi Matthew,

What is your MKL version?

I guess, you have read the thread http://software.intel.com/en-us/forums/topic/390568  and http://software.intel.com/en-us/forums/topic/368412

As we haven't Armadillo , could you please try the same matrix in C code as the above thread 390568 and let us know if it works or not?

Best Regards,

Ying

Reply