Page 1 of 1

Cannot run SVD with Armadillo DGESDD error

PostPosted: Tue Apr 01, 2014 12:18 pm
by ziploc1010
Hi, I am trying to run an SVD on a 19016x19016 matrix on my Mac OSX Mavericks with Armadillo.
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