Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "LaplacianMatrix.py", line 98, in <module>
  3. LaplacianInverse = LaplacianPinv(Laplacian)
  4. File "LaplacianMatrix.py", line 67, in LaplacianPinv
  5. UL,SL,VL = linalg.svd(Laplacian)
  6. File "/home/task3/dylan/anaconda3/lib/python3.6/site-packages/scipy/linalg/decomp_svd.py", line 125, in svd
  7. compute_uv=compute_uv, full_matrices=full_matrices)
  8. File "/home/task3/dylan/anaconda3/lib/python3.6/site-packages/scipy/linalg/lapack.py", line 712, in _compute_lwork
  9. raise ValueError("Too large work array required -- computation cannot "
  10. ValueError: Too large work array required -- computation cannot be performed with standard 32-bit LAPACK.
  11.  
  12. import numpy as np
  13. from scipy.linalg import svd
  14.  
  15. a = np.ones((30000,30000))
  16. u,s,v = svd(a) # this fails
  17.  
  18. u,s,v = svd(a, lapack_driver='gesvd') # this DOES NOT fail
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement