Bug 165960

Summary: math/lapack: Important SVD bug in Lapack 3.4 -- PLEASE patch port
Product: Ports & Packages Reporter: fork <forkandwait>
Component: Individual Port(s)Assignee: Maho Nakata <maho>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description fork 2012-03-12 02:30:11 UTC
The latest lapack has a bug in the way it handles something related to singular value decomposition (SVD).   A LOT of algorithms depend on SVD lapack downstream, so this is pretty important to fix.  Especially as it impacts my dissertation code ;)  

Here is the Lapack bug (they might understate its importance):

http://icl.cs.utk.edu/lapack-forum/archives/lapack/msg01219.html

Thanks!

How-To-Repeat: I encounter the problem in Octave.  So... run octave, and you get the following.  You should NOT see an error in line #2:

1> aa = rand(2,4)
a =

   0.67848   0.87562   0.32506   0.53669
   0.42031   0.70204   0.37300   0.34772

2> svd(a)
 ** On entry to DORGLQ parameter number  5 had an illegal value
error: svd: exception encountered in Fortran subroutine dgesvd_
Comment 1 Jason Helfman freebsd_committer freebsd_triage 2012-03-12 02:43:05 UTC
Responsible Changed
From-To: freebsd-ports-bugs->maho

fix synopis and assign
Comment 2 Maho Nakata freebsd_committer freebsd_triage 2012-03-12 07:47:34 UTC
State Changed
From-To: open->closed

Fixed, thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2012-03-12 07:47:59 UTC
maho        2012-03-12 07:47:17 UTC

  FreeBSD ports repository

  Modified files:
    math/lapack          Makefile 
  Added files:
    math/lapack/files    patch-r1207 
  Log:
  Fix
  http://netlib.org/lapack/Errata/index2.html#_strong_span_class_green_bug0085_span_strong_xgesvd_problem_in_workspace_computation
  .
  
  PR:             165960
  Submitted by:   fork <forkandwait@gmail.com>
  Feature safe:   yes
  
  Revision  Changes    Path
  1.58      +1 -1      ports/math/lapack/Makefile
  1.1       +11 -0     ports/math/lapack/files/patch-r1207 (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"