[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 17:53:18 +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 tried on windows (octave-4.0.3 with gsl-2.1) but
I could not install gsl package recent tip.
changeset: 186:3a1ef328fad6
tag: tip
user: Julien Bect <address@hidden>
date: Tue Sep 13 08:39:04 2016 +0200
summary: src/generate_template.sh: Source formatting.
I will try later on Ubuntu and report results.
>> pkg install -verbose gsl-1.1.0.zip
mkdir (C:\Users\MATSUO~1\AppData\Local\Temp\oct-iJok9b)
untar (gsl-1.1.0.zip, C:\Users\MATSUO~1\AppData\Local\Temp\oct-iJok9b)
checking for mkoctfile... C:/octave/octave-4.0.3-x64/bin/mkoctfile-4.0.3.exe
--ve
rbose
checking for octave... C:/octave/octave-4.0.3-x64/bin/octave-4.0.3.exe
checking for Octave's canonical_host_type... error: writing file
'C:\.octave_hist
': Permission denied
error: ignoring octave_execution_exception while preparing to exit
x86_64-w64-mingw32
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for cos in -lm... yes
checking for cblas_dgemm in -lgslcblas... yes
checking for gsl_message in -lgsl... yes
checking for gsl_sf_clausen_e... yes
checking for gsl_sf_dawson_e... yes
checking for gsl_sf_debye_1_e... yes
checking for gsl_sf_debye_2_e... yes
checking for gsl_sf_debye_3_e... yes
checking for gsl_sf_debye_4_e... yes
checking for gsl_sf_debye_5_e... yes
checking for gsl_sf_debye_6_e... yes
checking for gsl_sf_dilog_e... yes
checking for gsl_sf_erf_e... yes
checking for gsl_sf_erfc_e... yes
checking for gsl_sf_log_erfc_e... yes
checking for gsl_sf_erf_Z_e... yes
checking for gsl_sf_erf_Q_e... yes
checking for gsl_sf_hazard_e... yes
checking for gsl_sf_expm1_e... yes
checking for gsl_sf_exprel_e... yes
checking for gsl_sf_exprel_2_e... yes
checking for gsl_sf_expint_E1_e... yes
checking for gsl_sf_expint_E2_e... yes
checking for gsl_sf_expint_Ei_e... yes
checking for gsl_sf_Shi_e... yes
checking for gsl_sf_Chi_e... yes
checking for gsl_sf_expint_3_e... yes
checking for gsl_sf_Si_e... yes
checking for gsl_sf_Ci_e... yes
checking for gsl_sf_atanint_e... yes
checking for gsl_sf_fermi_dirac_mhalf_e... yes
checking for gsl_sf_fermi_dirac_half_e... yes
checking for gsl_sf_fermi_dirac_3half_e... yes
checking for gsl_sf_gamma_e... yes
checking for gsl_sf_lngamma_e... yes
checking for gsl_sf_gammastar_e... yes
checking for gsl_sf_gammainv_e... yes
checking for gsl_sf_lambert_W0_e... yes
checking for gsl_sf_lambert_Wm1_e... yes
checking for gsl_sf_log_1plusx_e... yes
checking for gsl_sf_log_1plusx_mx_e... yes
checking for gsl_sf_psi_e... yes
checking for gsl_sf_psi_1piy_e... yes
checking for gsl_sf_synchrotron_1_e... yes
checking for gsl_sf_synchrotron_2_e... yes
checking for gsl_sf_transport_2_e... yes
checking for gsl_sf_transport_3_e... yes
checking for gsl_sf_transport_4_e... yes
checking for gsl_sf_transport_5_e... yes
checking for gsl_sf_sinc_e... yes
checking for gsl_sf_lnsinh_e... yes
checking for gsl_sf_lncosh_e... yes
checking for gsl_sf_zeta_e... yes
checking for gsl_sf_eta_e... yes
checking for gsl_sf_bessel_Jn_e... yes
checking for gsl_sf_bessel_Yn_e... yes
checking for gsl_sf_bessel_In_e... yes
checking for gsl_sf_bessel_In_scaled_e... yes
checking for gsl_sf_bessel_Kn_e... yes
checking for gsl_sf_bessel_Kn_scaled_e... yes
checking for gsl_sf_bessel_jl_e... yes
checking for gsl_sf_bessel_yl_e... yes
checking for gsl_sf_bessel_il_scaled_e... yes
checking for gsl_sf_bessel_kl_scaled_e... yes
checking for gsl_sf_exprel_n_e... yes
checking for gsl_sf_fermi_dirac_int_e... yes
checking for gsl_sf_taylorcoeff_e... yes
checking for gsl_sf_legendre_Pl_e... yes
checking for gsl_sf_legendre_Ql_e... yes
checking for gsl_sf_mathieu_a_e... yes
checking for gsl_sf_mathieu_b_e... yes
checking for gsl_sf_psi_n_e... yes
checking for gsl_sf_bessel_Jnu_e... yes
checking for gsl_sf_bessel_Ynu_e... yes
checking for gsl_sf_bessel_Inu_e... yes
checking for gsl_sf_bessel_Inu_scaled_e... yes
checking for gsl_sf_bessel_Knu_e... yes
checking for gsl_sf_bessel_lnKnu_e... yes
checking for gsl_sf_bessel_Knu_scaled_e... yes
checking for gsl_sf_exp_mult_e... yes
checking for gsl_sf_fermi_dirac_inc_0_e... yes
checking for gsl_sf_poch_e... yes
checking for gsl_sf_lnpoch_e... yes
checking for gsl_sf_pochrel_e... yes
checking for gsl_sf_gamma_inc_Q_e... yes
checking for gsl_sf_gamma_inc_P_e... yes
checking for gsl_sf_gamma_inc_e... yes
checking for gsl_sf_beta_e... yes
checking for gsl_sf_lnbeta_e... yes
checking for gsl_sf_hyperg_0F1_e... yes
checking for gsl_sf_conicalP_half_e... yes
checking for gsl_sf_conicalP_mhalf_e... yes
checking for gsl_sf_conicalP_0_e... yes
checking for gsl_sf_conicalP_1_e... yes
checking for gsl_sf_hzeta_e... yes
checking for gsl_sf_airy_Ai_e... yes
checking for gsl_sf_airy_Bi_e... yes
checking for gsl_sf_airy_Ai_scaled_e... yes
checking for gsl_sf_airy_Bi_scaled_e... yes
checking for gsl_sf_airy_Ai_deriv_e... yes
checking for gsl_sf_airy_Bi_deriv_e... yes
checking for gsl_sf_airy_Ai_deriv_scaled_e... yes
checking for gsl_sf_airy_Bi_deriv_scaled_e... yes
checking for gsl_sf_ellint_Kcomp_e... yes
checking for gsl_sf_ellint_Ecomp_e... yes
checking for gsl_sf_ellint_E_e... yes
checking for gsl_sf_ellint_F_e... yes
checking for gsl_sf_ellint_Pcomp_e... yes
checking for gsl_sf_ellint_RC_e... yes
checking for gsl_sf_ellint_P_e... yes
checking for gsl_sf_ellint_RD_e... yes
checking for gsl_sf_ellint_RF_e... yes
checking for gsl_sf_ellint_RJ_e... yes
checking for gsl_sf_airy_zero_Ai_e... yes
checking for gsl_sf_airy_zero_Bi_e... yes
checking for gsl_sf_airy_zero_Ai_deriv_e... yes
checking for gsl_sf_airy_zero_Bi_deriv_e... yes
checking for gsl_sf_bessel_zero_J0_e... yes
checking for gsl_sf_bessel_zero_J1_e... yes
checking for gsl_sf_psi_1_int_e... yes
checking for gsl_sf_zeta_int_e... yes
checking for gsl_sf_eta_int_e... yes
checking for gsl_sf_conicalP_cyl_reg_e... yes
checking for gsl_sf_conicalP_sph_reg_e... yes
checking for gsl_sf_gegenpoly_n_e... yes
checking for gsl_sf_laguerre_n_e... yes
checking for gsl_sf_mathieu_ce_e... yes
checking for gsl_sf_mathieu_se_e... yes
checking for gsl_sf_hyperg_U_int_e... yes
checking for gsl_sf_hyperg_1F1_int_e... yes
checking for gsl_sf_legendre_Plm_e... yes
checking for gsl_sf_legendre_sphPlm_e... yes
checking for gsl_sf_hydrogenicR_e... yes
checking for gsl_sf_mathieu_Mc_e... yes
checking for gsl_sf_mathieu_Ms_e... yes
checking for gsl_sf_bessel_zero_Jnu_e... yes
checking for gsl_sf_hyperg_U_e... yes
checking for gsl_sf_hyperg_1F1_e... yes
checking for gsl_sf_hyperg_2F0_e... yes
checking for gsl_sf_beta_inc_e... yes
checking for gsl_sf_hyperg_2F1_e... yes
checking for gsl_sf_fact_e... yes
checking for gsl_sf_doublefact_e... yes
checking for gsl_sf_lnfact_e... yes
checking for gsl_sf_lndoublefact_e... yes
checking for gsl_sf_choose_e... yes
checking for gsl_sf_lnchoose_e... yes
checking for gsl_sf_coupling_3j_e... yes
checking for gsl_sf_coupling_6j_e... yes
checking for gsl_sf_coupling_9j_e... yes
checking for gsl_sf_ellint_D_e... yes
checking for gsl_sf_bessel_jl_array... yes
checking for gsl_sf_bessel_jl_steed_array... yes
checking for gsl_sf_bessel_il_scaled_array... yes
checking for gsl_sf_bessel_kl_scaled_array... yes
checking for gsl_sf_bessel_yl_array... yes
checking for gsl_sf_legendre_Pl_array... yes
checking for gsl_sf_gegenpoly_array... yes
checking for gsl_sf_bessel_In_array... yes
checking for gsl_sf_bessel_In_scaled_array... yes
checking for gsl_sf_bessel_Jn_array... yes
checking for gsl_sf_bessel_Kn_array... yes
checking for gsl_sf_bessel_Kn_scaled_array... yes
checking for gsl_sf_bessel_Yn_array... yes
checking for gsl_sf_legendre_Plm_array... no
checking for gsl_sf_legendre_Plm_deriv_array... no
checking for gsl_sf_legendre_sphPlm_array... no
checking for gsl_sf_legendre_sphPlm_deriv_array... no
checking for gsl_sf_legendre_array_e... yes
checking for gsl_sf_legendre_deriv_array_e... yes
checking for gsl_sf_legendre_deriv2_array_e... yes
configure: WARNING: Some GSL special functions are missing: legendre_Plm_array
l
egendre_Plm_deriv_array legendre_sphPlm_array legendre_sphPlm_deriv_array
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
make: Entering directory `/tmp/oct-iJok9b/gsl-1.1.0/src'
C:/octave/octave-4.0.3-x64/bin/mkoctfile-4.0.3.exe --verbose gsl_sf.cc -lgsl
g++ -c
-I/home/tatsu/work/octave/mxe-octave/mxe-octave-w64/usr/x86_64-w64-mingw32
/include -IC:\octave\octave-4.0.3-x64\include\octave-4.0.3\octave\..
-IC:\octave
\octave-4.0.3-x64\include\octave-4.0.3\octave
-IC:\octave\octave-4.0.3-x64\includ
e -pthread -g -O2 gsl_sf.cc -o gsl_sf.o
g++ -IC:\octave\octave-4.0.3-x64\include\octave-4.0.3\octave\..
-IC:\octave\octav
e-4.0.3-x64\include\octave-4.0.3\octave -IC:\octave\octave-4.0.3-x64\include
-pth
read -g -O2 -shared -Wl,--export-all-symbols -Wl,--enable-auto-import
-Wl,--enabl
e-runtime-pseudo-reloc -o gsl_sf.oct gsl_sf.o -lgsl
-LC:\octave\octave-4.0.3-
x64\lib\octave\4.0.3 -LC:\octave\octave-4.0.3-x64\lib -loctinterp -loctave
-Wl,-r
path-link,/home/tatsu/work/octave/mxe-octave/mxe-octave-w64/usr/x86_64-w64-mingw3
2/lib
-L/home/tatsu/work/octave/mxe-octave/mxe-octave-w64/usr/x86_64-w64-mingw32/
lib -Wl,--export-all-symbols
gsl_sf.o: In function `Flegendre_Plm_array(octave_value_list const&, int)':
C:\Users\MATSUO~1\AppData\Local\Temp\oct-iJok9b\gsl-1.1.0\src/gsl_sf.cc:18825:
un
defined reference to `gsl_sf_legendre_Plm_array'
gsl_sf.o: In function `Flegendre_sphPlm_array(octave_value_list const&, int)':
C:\Users\MATSUO~1\AppData\Local\Temp\oct-iJok9b\gsl-1.1.0\src/gsl_sf.cc:19052:
un
defined reference to `gsl_sf_legendre_sphPlm_array'
gsl_sf.o: In function `Flegendre_Plm_deriv_array(octave_value_list const&,
int)':
C:\Users\MATSUO~1\AppData\Local\Temp\oct-iJok9b\gsl-1.1.0\src/gsl_sf.cc:18933:
un
defined reference to `gsl_sf_legendre_Plm_deriv_array'
gsl_sf.o: In function `Flegendre_sphPlm_deriv_array(octave_value_list const&,
int
)':
C:\Users\MATSUO~1\AppData\Local\Temp\oct-iJok9b\gsl-1.1.0\src/gsl_sf.cc:19170:
un
defined reference to `gsl_sf_legendre_sphPlm_deriv_array'
collect2.exe: error: ld returned 1 exit status
make: *** [gsl_sf.oct] Error 1
make: Leaving directory `/tmp/oct-iJok9b/gsl-1.1.0/src'
pkg: error running `make' for the gsl package.
error: called from 'configure_make' in file
C:\octave\octave-4.0.3-x64\share\octa
ve\4.0.3\m\pkg\private\configure_make.m near line 96, column 9
Re: Test failure with gsl package / help needed, Tatsuro MATSUOKA, 2016/09/13
Re: Test failure with gsl package / help needed, Marco Atzeri, 2016/09/13