<div dir="ltr"><p>Thanks Charles!<br></p><p dir="ltr">I installed atlas and lapack and then reinstalled numpy with pip. It works correctly now. <br></p><p dir="ltr">An easy fix for this for now is raising an exception when numpy is using its internal version for SVD and the user asked for the full matrices. The exception message can instruct the user to either install lapack and recompile numpy, or set full_matrices to False (if that is enough and the user can't reinstall numpy with lapack for some reason). This would avoid the bug hunting I had to do in my code.</p><p dir="ltr"><br></p><p dir="ltr"><br></p><div class="gmail_quote">Em 27/09/2014 17:37, "Charles R Harris" <<a href="mailto:charlesr.harris@gmail.com" target="_blank">charlesr.harris@gmail.com</a>> escreveu:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Sep 27, 2014 at 1:46 PM, Darlan Cavalcante Moreira <span dir="ltr"><<a href="mailto:darcamo@gmail.com" target="_blank">darcamo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
>>> np.__config__.show()<br>
lapack_info:<br>
  NOT AVAILABLE<br>
lapack_opt_info:<br>
  NOT AVAILABLE<br>
blas_info:<br>
  NOT AVAILABLE<br>
atlas_threads_info:<br>
  NOT AVAILABLE<br>
blas_src_info:<br>
  NOT AVAILABLE<br>
atlas_blas_info:<br>
  NOT AVAILABLE<br>
lapack_src_info:<br>
  NOT AVAILABLE<br>
openblas_info:<br>
  NOT AVAILABLE<br>
atlas_blas_threads_info:<br>
  NOT AVAILABLE<br>
blas_mkl_info:<br>
  NOT AVAILABLE<br>
blas_opt_info:<br>
  NOT AVAILABLE<br>
atlas_info:<br>
  NOT AVAILABLE<br>
lapack_mkl_info:<br>
  NOT AVAILABLE<br>
mkl_info:<br>
  NOT AVAILABLE<br>
<br>
<br>
With so many "NOT AVAILABLE" I'm now surprised SVD is even defined.<br>
<div><div><br>
<br></div></div></blockquote><div><br></div><div>Looks like it is falling back to numpy's internal versions. You might try installing ATLAS to see if that makes a difference.<br><br></div><div>BTW, the numpy custom is bottom posting.<br></div><div><br></div><div>Chuck <br></div><br></div></div></div>
<br>_______________________________________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@scipy.org" target="_blank">NumPy-Discussion@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/numpy-discussion" target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
<br></blockquote></div>
</div>