From nobody@FreeBSD.org  Mon Mar 12 02:21:40 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 92A8A106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Mar 2012 02:21:40 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 7E1018FC17
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Mar 2012 02:21:40 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q2C2Ledo093950
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Mar 2012 02:21:40 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q2C2LeLN093949;
	Mon, 12 Mar 2012 02:21:40 GMT
	(envelope-from nobody)
Message-Id: <201203120221.q2C2LeLN093949@red.freebsd.org>
Date: Mon, 12 Mar 2012 02:21:40 GMT
From: fork <forkandwait@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Important SVD bug in Lapack 3.4 -- PLEASE patch port
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         165960
>Category:       ports
>Synopsis:       math/lapack: Important SVD bug in Lapack 3.4 -- PLEASE patch port
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    maho
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 12 02:30:11 UTC 2012
>Closed-Date:    Mon Mar 12 07:47:45 UTC 2012
>Last-Modified:  Mon Mar 12 07:50:12 UTC 2012
>Originator:     fork
>Release:        9.0 Release
>Organization:
>Environment:
FreeBSD mustafa 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:15:25 UTC 2012     root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
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_

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->maho 
Responsible-Changed-By: jgh 
Responsible-Changed-When: Mon Mar 12 02:43:05 UTC 2012 
Responsible-Changed-Why:  
fix synopis and assign 

http://www.freebsd.org/cgi/query-pr.cgi?pr=165960 
State-Changed-From-To: open->closed 
State-Changed-By: maho 
State-Changed-When: Mon Mar 12 07:47:34 UTC 2012 
State-Changed-Why:  
Fixed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=165960 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/165960: commit references a PR
Date: Mon, 12 Mar 2012 07:47:59 +0000 (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"
 
>Unformatted:
