bug-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gsl] gsl-1.15 fails 'make check' on Mac OS


From: Steve Brosnan
Subject: Re: [Bug-gsl] gsl-1.15 fails 'make check' on Mac OS
Date: Sat, 31 Mar 2012 18:41:55 -0700

Hi,

A similar problem was reported by Joost Bakker on 12 Nov 2011 (Subject: 
[Bug-gsl] gsl 1.15 on mac osx 10.7.2) except the errors involved convergence of 
singular value decomposition. The full output file was > 6 MB, but here are a 
few snippets from a 'make check' I just did under Mac OSX 10.7.3 (many, many 
cases for different choices for matrix A gave similar failures):

FAIL:   SV_decomp (3x3) A=[ 0, 0, 0; 0, 0, 1; 1, 1, 0] [852]
(caught [svd.c:149: SVD decomposition failed to converge (11)])
returned error code 11 = exceeded max number of iterations
singular value 0 =                     -1 < 0
singular value 1 =                      0 vs previous                     -1
singular value 2 =    17.3205080756888137 vs previous                      0

FAIL:   SV_decomp (4x4) A=[ 0, 0, 0, 0; 0, 0, 0, 0; 0, 0, 0, 1; 0, 1, 1, 0] 
[1372]
(caught [svd.c:149: SVD decomposition failed to converge (11)])
returned error code 11 = exceeded max number of iterations
singular value 1 =                     -1 < 0
singular value 2 =                      0 vs previous                     -1
singular value 3 =    20.0000000000000497 vs previous                      0
(  4,  4)[1,2]:    3.01718576242461101                        0
(  4,  4)[2,2]:    19.7711049280262898                        1
(  4,  4)[3,3]:                      0                        1

FAIL:   SV_decomp_mod (3x3) A=[ 0, 0, 0; 0, 0, 1; 1, 1, 0] [167752]
(caught [svd.c:149: SVD decomposition failed to converge (11)])
singular value 0 =                     -1 < 0
singular value 1 =                      0 vs previous                     -1
singular value 2 =    17.3205080756888137 vs previous                      0
(  3,  3)[0,1]:    15.2508026013158453                        0
(  3,  3)[1,1]:    8.21054322293596961                        1
(  3,  3)[2,2]:                      0                        1

FAIL:   SV_decomp_mod (4x4) A=[ 0, 0, 0, 0; 0, 0, 0, 0; 0, 0, 0, 1; 0, 1, 1, 0] 
[168272]
(caught [svd.c:149: SVD decomposition failed to converge (11)])
singular value 1 =                     -1 < 0
singular value 2 =                      0 vs previous                     -1
singular value 3 =    20.0000000000000497 vs previous                      0
(  4,  4)[1,2]:    3.01718576242461101                        0
(  4,  4)[2,2]:    19.7711049280262898                        1
(  4,  4)[3,3]:                      0                        1

FAIL: test
==================
1 of 1 test failed
==================
make[2]: *** [check-TESTS] Error 1
make[1]: *** [check-am] Error 2
make: *** [check-recursive] Error 1

The issue may involve the newer machines. An older MacBook Pro with Mac OSX 
10.6.8 did not have the problem. But a new iMac (quad-core i5) with 10.7.2 and 
also 10.7.3 fails the tests shown above.

I tried to understand the issue by pulling the test SVD section of code from 
the GSL and compiling it, along with whatever was needed to get it to compile 
and link, in Xcode, but was unable to reproduce the errors.  It ran fine. I 
know that's not very helpful, but I offer it for what it's worth.

Regards,

Steve Brosnan

On Mar 30, 2012, at 9:00 AM, address@hidden wrote:

> Date: Fri, 30 Mar 2012 09:53:44 -0600
> From: Patrick Alken <address@hidden>
> To: address@hidden
> Subject: Re: [Bug-gsl] gsl-1.15 fails 'make check' on Mac OS
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=UTF-8; format=flowed
> 
> Can you paste the errors which are reported?
> 
> On 03/30/2012 03:18 AM, WEILI ZHONG wrote:
>> Hello,
>> 
>> I tried to install gsl-1.15 on my mac book (Mac OS 10.7.3).
>> ./configure
>> make
>> make check
>> sudo make install
>> 
>> there was no problem during 'configure' and 'make'. But the 'make check' 
>> failed when the test went to the 'convergence of an eigensystem/matrix(?) 
>> computation.
>> 
>> I can still run 'make install' without error in this condition. But when I 
>> install other software which has dependency on GSL, there is error coming 
>> out: the GSL was installed incorrectly.
>> 
>> Thanks!
>> Weili
>> 
>> P.S. I tried to install a few earlier version of gsl package too. It failed 
>> 'make check' too. I also trired to use MacPorts to install gsl-1.15. There 
>> is no error during configuring and building, and installing... but gsl does 
>> not work when it is needed.
>> 
>> 
>> Weili Zhong
>> ???????????????????
>> Institute of High Energy Physics
>> Bldg.4, Room 104.
>> Tel: 86-10-88236095-2
>> 
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]