octave-maintainers
[Top][All Lists]
Advanced

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

Re: Test failure with gsl package / help needed


From: Tatsuro MATSUOKA
Subject: Re: Test failure with gsl package / help needed
Date: Tue, 13 Sep 2016 18:17:38 +0900 (JST)

----- Original Message -----

> From: Julien Bect 
> To: octave-maintainers 
> Cc: 
> Date: 2016/9/13, Tue 16:02
> Subject: Test failure with gsl package / help needed
> 
> Hi all,
> 
> I am seeing "random" test failures with the gsl package (on a Debian 
> testing, x86_64-linux-gnu, Octave 4.0.3, gcc 6.1.1).
> 
> The failure occurs after several (might be 2, might be 20...) calls to 
> test_gslsf:
> 
>>>  pkg load gsl
>>>  test_gslsf
> PASSES 25 out of 25 tests
>>>  test_gslsf
> PASSES 25 out of 25 tests
>>>  test_gslsf
> PASSES 25 out of 25 tests
>>>  test_gslsf
> PASSES 25 out of 25 tests
>>>  test_gslsf
> PASSES 25 out of 25 tests
>>>  test_gslsf
> PASSES 25 out of 25 tests
> 
> ....  (run many times)
> 
>>>  test_gslsf
> ***** test # (int, double, double) to double
> conicalP_cyl_reg_sc=zeros(N,1);
> conicalP_cyl_reg_sc_err=zeros(N,1);
> for i=1:N
>    [conicalP_cyl_reg_sc(i) 
> conicalP_cyl_reg_sc_err(i)]=conicalP_cyl_reg(xi(i),xd(i),xd2(i));
> end
> [conicalP_cyl_reg_vec conicalP_cyl_reg_vec_err]=conicalP_cyl_reg(xi,xd,xd2);
> conicalP_cyl_reg_val=conicalP_cyl_reg(xi,xd,xd2);
> assert(norm(conicalP_cyl_reg_val(:)-conicalP_cyl_reg_vec(:))==0.0)
> assert(norm(conicalP_cyl_reg_sc(:)-conicalP_cyl_reg_vec(:))==0.0)
> assert(norm(conicalP_cyl_reg_sc_err(:)-conicalP_cyl_reg_vec_err(:))==0.0)
> !!!!! test failed
> GSL error 11 at legendre_con.c, line 108: error
> 
> 
> I would like to know if others see the same thing.
> 
> To test you have to checkout the gsl repo 
> (https://sourceforge.net/p/octave/gsl/ci/default/tree/) and then:
> 
> make dist
> cd target && octave
>>>  pkg install gsl-1.1.0.tar.gz
>>>  pkg load gsl
>>>  test_gslsf
>>>  test_gslsf
>>>  test_gslsf
> ...
> 
> 
> @++
> Julien



I have executed on Ubunu 14.04 amd 64 gcc 5.4.1 with octave-4.0.3 and gsl-2.1.

>> for i=1:100; disp(i), test_gslsf, endfor


I have met the same errors in three times as that you showed in 100 tests.

Tatsuro



reply via email to

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