help-gsl
[Top][All Lists]
Advanced

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

[Help-gsl] intel compilers + OSX = error?


From: Gideon Simpson
Subject: [Help-gsl] intel compilers + OSX = error?
Date: Sat, 2 Feb 2008 13:02:04 -0500

running make check after compiling on an intel core 2 duo OS X 10.5.1 machine. They seem to relate to floating point precision. Thoughts?

Making check in specfunc
make  test
icc -DHAVE_CONFIG_H -I. -I.. -I..    -g -O2 -c test_sf.c
icc -DHAVE_CONFIG_H -I. -I.. -I..    -g -O2 -c test_airy.c
icc -DHAVE_CONFIG_H -I. -I.. -I..    -g -O2 -c test_bessel.c
test_bessel.c(562): (col. 3) remark: LOOP WAS VECTORIZED.
test_bessel.c(573): (col. 3) remark: LOOP WAS VECTORIZED.
test_bessel.c(589): (col. 3) remark: LOOP WAS VECTORIZED.
icc -DHAVE_CONFIG_H -I. -I.. -I..    -g -O2 -c test_coulomb.c
icc -DHAVE_CONFIG_H -I. -I.. -I..    -g -O2 -c test_dilog.c
icc -DHAVE_CONFIG_H -I. -I.. -I..    -g -O2 -c test_gamma.c
icc -DHAVE_CONFIG_H -I. -I.. -I..    -g -O2 -c test_hyperg.c
icc -DHAVE_CONFIG_H -I. -I.. -I..    -g -O2 -c test_legendre.c
icc -DHAVE_CONFIG_H -I. -I.. -I..    -g -O2 -c test_mathieu.c
/bin/sh ../libtool --tag=CC --mode=link icc -g -O2 -o test test_sf.o test_airy.o test_bessel.o test_coulomb.o test_dilog.o test_gamma.o test_hyperg.o test_legendre.o test_mathieu.o libgslspecfunc.la ../eigen/libgsleigen.la ../linalg/ libgsllinalg.la ../sort/libgslsort.la ../matrix/libgslmatrix.la ../ vector/libgslvector.la ../blas/libgslblas.la ../cblas/ libgslcblas.la ../block/libgslblock.la ../complex/libgslcomplex.la ../ ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/ libgsltest.la ../sys/libgslsys.la ../utils/libutils.la -lm icc -g -O2 -o .libs/test test_sf.o test_airy.o test_bessel.o test_coulomb.o test_dilog.o test_gamma.o test_hyperg.o test_legendre.o test_mathieu.o ./.libs/libgslspecfunc.a ../eigen/.libs/ libgsleigen.a ../linalg/.libs/libgsllinalg.a ../sort/.libs/ libgslsort.a ../matrix/.libs/libgslmatrix.a ../vector/.libs/ libgslvector.a ../blas/.libs/libgslblas.a ../cblas/.libs/ libgslcblas.dylib ../block/.libs/libgslblock.a ../complex/.libs/ libgslcomplex.a ../ieee-utils/.libs/libgslieeeutils.a ../err/.libs/ libgslerr.a ../test/.libs/libgsltest.a ../sys/.libs/libgslsys.a ../ utils/.libs/libutils.a -lm
creating test
make  check-TESTS
FAIL: gsl_sf_bessel_j0_e(100.0, &r) [149]
  expected: -0.005063656411097588
obtained: -0.005063656411097553 +/- 4.497430349113033e-18 (rel=8.88178e-16)
  fracdiff: 3.425831721471003e-15
  value/expected not consistent within reported error
  -0.00506365641109755328  4.49743034911303255e-18
FAIL: gsl_sf_bessel_j0_e(1048576.0, &r) [150]
  expected: 3.151828193871829e-07
obtained: 3.151828194525364e-07 +/- 2.799385784979837e-22 (rel=8.88178e-16)
  fracdiff: 1.036755673738308e-10
  value/expected not consistent within reported error
  value not within tolerance of expected value
  3.15182819452536407e-07  2.79938578497983676e-22
FAIL: gsl_sf_bessel_j1_e(1048576.0, &r) [156]
  expected: -9.000855242905546e-07
obtained: -9.000855242676698e-07 +/- 1.199155341748991e-21 (rel=1.33227e-15)
  fracdiff: 1.271258003504175e-11
  value/expected not consistent within reported error
  value not within tolerance of expected value
  -9.00085524267669794e-07  1.19915534174899144e-21
FAIL: gsl_sf_bessel_j2_e(100.0, &r) [161]
  expected: 0.004803441652487954
obtained: 0.004803441652487919 +/- 6.85900563200236e-18 (rel=1.42794e-15)
  fracdiff: 3.61141781555379e-15
  value/expected not consistent within reported error
  0.00480344165248791904  6.85900563200236004e-18
FAIL: gsl_sf_bessel_j2_e(1048576.0, &r) [162]
  expected: -3.151853945525241e-07
obtained: -3.151853946178776e-07 +/- 4.199112985564004e-22 (rel=1.33227e-15)
  fracdiff: 1.036747203113322e-10
  value/expected not consistent within reported error
  value not within tolerance of expected value
  -3.15185394617877633e-07  4.19911298556400369e-22
FAIL: gsl_sf_bessel_jl_e(2, 900.0, &r) [169]
  expected: -0.001108911556883294
obtained: -0.001108911556883299 +/- 1.477366971269721e-18 (rel=1.33227e-15)
  fracdiff: 2.346521864447534e-15
  value/expected not consistent within reported error
  -0.00110891155688329921  1.47736697126972133e-18
FAIL: gsl_sf_bessel_jl_e(2, 15000.0, &r) [170]
  expected: -5.955592033075751e-05
obtained: -5.955592033072599e-05 +/- 7.935506411901867e-20 (rel=1.33245e-15)
  fracdiff: 2.645950371215217e-13
  value/expected not consistent within reported error
  -5.95559203307259911e-05  7.93550641190186659e-20
FAIL: gsl_sf_bessel_y0_e(65536.0, &r) [176]
  expected: 1.101432420215857e-05
obtained: 1.101432420222003e-05 +/- 9.782685063992629e-21 (rel=8.88178e-16)
  fracdiff: 2.789881675571491e-12
  value/expected not consistent within reported error
  value not within tolerance of expected value
  1.10143242022200304e-05  9.78268506399262921e-21
FAIL: gsl_sf_bessel_y0_e(4294967296.0, &r) [177]
  expected: 2.064944513137036e-10
obtained: 2.064944185932134e-10 +/- 6.154013325876594e-18 (rel=2.98023e-08)
  fracdiff: 7.92285035652661e-08
  value/expected not consistent within reported error
  2.0649441859321341e-10  6.15401332587659449e-18
FAIL: gsl_sf_bessel_y1_e(100.0, &r) [181]
  expected: 0.004977424523868819
obtained: 0.004977424523868785 +/- 3.43051473782973e-18 (rel=6.89215e-16)
  fracdiff: 3.485182884558255e-15
  value/expected not consistent within reported error
  0.00497742452386878455  3.43051473782972983e-18
FAIL: gsl_sf_bessel_y1_e(4294967296.0, &r) [182]
  expected: 1.075646327157341e-10
obtained: 1.075646955300345e-10 +/- 3.205677757604537e-18 (rel=2.98023e-08)
  fracdiff: 2.919839007417645e-07
  value/expected not consistent within reported error
  1.07564695530034477e-10  3.20567775760453659e-18
FAIL: gsl_sf_bessel_y2_e(100.0, &r) [186]
  expected: 0.008772511458592903
obtained: 0.008772511458592923 +/- 5.821753791085112e-18 (rel=6.63636e-16)
  fracdiff: 1.087599504760611e-15
  value/expected not consistent within reported error
  0.00877251145859292251  5.82175379108511157e-18
FAIL: gsl_sf_bessel_y2_e(4294967296.0, &r) [187]
  expected: -2.064944512385705e-10
obtained: -2.064944185180803e-10 +/- 6.154013282264763e-18 (rel=2.98023e-08)
  fracdiff: 7.922850371927544e-08
  value/expected not consistent within reported error
  -2.06494418518080337e-10  6.15401328226476293e-18
FAIL:   gsl_sf_bessel_In_scaled_array [308]
FAIL:   gsl_sf_bessel_In_array [309]
FAIL: Bessel Functions [394]
FAIL: gsl_sf_Ci_e(50.0, &r) [1237]
  expected: -0.005628386324116306
obtained: -0.005628386324116268 +/- 7.821960802221456e-18 (rel=1.38973e-15)
  fracdiff: 3.390307121240641e-15
  value/expected not consistent within reported error
  -0.00562838632411626766  7.82196080222145558e-18
FAIL: gsl_sf_Ci_e(65536.0, &r) [1239]
  expected: 1.056024883765628e-05
obtained: 1.056024883759218e-05 +/- 1.465595826898665e-20 (rel=1.38784e-15)
  fracdiff: 3.034889245324939e-12
  value/expected not consistent within reported error
  value not within tolerance of expected value
  1.05602488375921812e-05  1.46559582689866457e-20
FAIL: gsl_sf_Ci_e(4294967296.0, &r) [1240]
  expected: -1.075646326195776e-10
obtained: -1.07564695433878e-10 +/- 3.205677829257018e-18 (rel=2.98023e-08)
  fracdiff: 2.919839010628596e-07
  value/expected not consistent within reported error
  -1.07564695433878013e-10  3.20567782925701798e-18
FAIL: Exponential/Sine/Cosine Integrals [1251]
FAIL: gsl_sf_hyperg_U_int_e(-90, 1, 0.01, &r) [1885]
  expected: 4.185245354032918e+137
obtained: 4.185245354034024e+137 +/- 3.401278813211956e+124 (rel=8.12683e-14)
  fracdiff: 1.321836994211534e-13
  value/expected not consistent within reported error
  4.18524535403402432e+137  3.40127881321195625e+124
FAIL: Hypergeometric Functions [2003]
FAIL: gsl_sf_legendre_H3d_0_e(1.0e+08, 1.0, &r) [2367]
  expected: 7.927485371429105e-09
obtained: 7.92748534877414e-09 +/- 3.735747338212525e-16 (rel=4.7124e-08)
  fracdiff: 1.428887210923671e-09
  value not within tolerance of expected value
  7.92748534877414031e-09  3.7357473382125249e-16
FAIL: gsl_sf_legendre_H3d_1_e(100.0, 10.0, &r) [2376]
  expected: -5.031062029821255e-07
obtained: -5.031062029820652e-07 +/- 1.90577246602258e-21 (rel=3.78801e-15)
  fracdiff: 5.997848678285595e-14
  value/expected not consistent within reported error
  value not within tolerance of expected value
  -5.0310620298206519e-07  1.90577246602258023e-21
FAIL: gsl_sf_legendre_H3d_1_e(1000.0, 1.0, &r) [2378]
  expected: -0.0004776144516074972
obtained: -0.000477614451607441 +/- 8.492342502966221e-19 (rel=1.77807e-15)
  fracdiff: 5.879394179314533e-14
  value/expected not consistent within reported error
  value not within tolerance of expected value
  -0.000477614451607441017  8.49234250296622112e-19
FAIL: gsl_sf_legendre_H3d_1_e(1.0e+08, 1.0, &r) [2380]
  expected: 3.092109704736908e-09
obtained: 3.092109762819232e-09 +/- 9.215205612919659e-17 (rel=2.98023e-08)
  fracdiff: 9.392021838302323e-09
  value not within tolerance of expected value
  3.09210976281923228e-09  9.21520561291965927e-17
FAIL: Legendre Functions [2438]
FAIL: gsl_sf_sin_e(1000.0, &r) [2679]
  expected:   0.8268795405320025
obtained: 0.8268795405320475 +/- 3.672082817960598e-16 (rel=4.44089e-16)
  fracdiff: 2.718898599691341e-14
  value/expected not consistent within reported error
    0.826879540532047486  3.67208281796059793e-16
FAIL: gsl_sf_sin_e(1048576.75, &r) [2680]
  expected:   0.8851545351115652
obtained: 0.8851545351736261 +/- 3.930875781204551e-16 (rel=4.44089e-16)
  fracdiff: 3.505654069491726e-11
  value/expected not consistent within reported error
  value not within tolerance of expected value
    0.885154535173626078  3.93087578120455063e-16
FAIL: gsl_sf_sin_e(62831853.75, &r) [2681]
  expected:   0.6273955953485001
obtained: 0.627395594473154 +/- 1.869784577110869e-08 (rel=2.98023e-08)
  fracdiff: 6.976030243239236e-10
  value not within tolerance of expected value
    0.627395594473153961  1.86978457711086858e-08
FAIL: gsl_sf_cos_e(1000.0, &r) [2687]
  expected:   0.5623790762907029
obtained: 0.562379076290637 +/- 2.497464796261171e-16 (rel=4.44089e-16)
  fracdiff: 5.863238022448133e-14
  value/expected not consistent within reported error
    0.562379076290636992  2.49746479626117065e-16
FAIL: gsl_sf_cos_e(1048576.75, &r) [2688]
  expected:   0.4652971620066352
obtained: 0.465297161888574 +/- 2.066334489685735e-16 (rel=4.44089e-16)
  fracdiff: 1.268664217245804e-10
  value/expected not consistent within reported error
  value not within tolerance of expected value
    0.465297161888574007   2.066334489685735e-16
FAIL: gsl_sf_cos_e(62831853.75, &r) [2689]
  expected:   0.7787006914966117
obtained: 0.778700692201874 +/- 2.320708907252175e-08 (rel=2.98023e-08)
  fracdiff: 4.528455543910814e-10
  value not within tolerance of expected value
     0.77870069220187399  2.32070890725217458e-08
FAIL: gsl_sf_angle_restrict_pos_e(2.0*M_PI) [2712]
  expected:    6.283185307179586
  obtained:                    0
  fracdiff:                    1
  value not within tolerance of expected value
                       0
FAIL: gsl_sf_angle_restrict_pos_e(-2.0*M_PI) [2713]
  expected: 2.449293598294706e-16
  obtained:                    0
  fracdiff:                    1
  value not within tolerance of expected value
                       0
FAIL: gsl_sf_angle_restrict_pos_e(2.0*M_PI+4*GSL_DBL_EPSILON) [2714]
  expected: 6.432490598706545e-16
  obtained: 8.881784197001252e-16
  fracdiff:   0.1599353303351447
  value not within tolerance of expected value
  8.88178419700125232e-16
FAIL: gsl_sf_angle_restrict_pos_e(4.0*M_PI+8*GSL_DBL_EPSILON) [2716]
  expected: 1.286498119741309e-15
  obtained: 1.77635683940025e-15
  fracdiff:   0.1599353303351447
  value not within tolerance of expected value
  1.77635683940025046e-15
FAIL: gsl_sf_angle_restrict_pos_e(1e9) [2718]
  expected:   0.5773954235013852
  obtained:   0.5773954391479492
  fracdiff: 1.354926207894133e-08
  value not within tolerance of expected value
    0.577395439147949219
FAIL: gsl_sf_angle_restrict_pos_e(-1e9) [2720]
  expected:    5.705789883678201
  obtained:    5.705789804458618
  fracdiff: 6.942034762806819e-09
  value not within tolerance of expected value
     5.70578980445861816
FAIL: gsl_sf_angle_restrict_pos_err_e(2.0*M_PI, &r) [2722]
  expected:    6.283185307179586
  obtained:                    0 +/- 1.395147399203453e-15 (rel=1)
  fracdiff:                    1
  value/expected not consistent within reported error
  value not within tolerance of expected value
                       0  1.39514739920345271e-15
FAIL: gsl_sf_angle_restrict_pos_err_e(-2.0*M_PI, &r) [2723]
  expected: 2.449293598294706e-16
  obtained:                    0 +/- 1.395147399203453e-15 (rel=1)
  fracdiff:                    1
  value not within tolerance of expected value
                       0  1.39514739920345271e-15
FAIL: gsl_sf_angle_restrict_pos_err_e(1e9, &r) [2724]
  expected:   0.5773954235013852
obtained: 0.5773954391479492 +/- 2.220446047968238e-07 (rel=3.84562e-07)
  fracdiff: 1.354926207894133e-08
  value not within tolerance of expected value
    0.577395439147949219  2.22044604796823766e-07
FAIL: gsl_sf_angle_restrict_pos_err_e(-1e9, &r) [2726]
  expected:    5.705789883678201
obtained: 5.705789804458618 +/- 2.220446061919712e-07 (rel=3.89157e-08)
  fracdiff: 6.942034762806819e-09
  value not within tolerance of expected value
     5.70578980445861816  2.22044606191971151e-07
FAIL: gsl_sf_angle_restrict_symm_e(2.0*M_PI) [2730]
  expected: -2.449293598294706e-16
  obtained:                    0
  fracdiff:                    1
  value not within tolerance of expected value
                       0
FAIL: gsl_sf_angle_restrict_symm_e(-2.0*M_PI) [2731]
  expected: 2.449293598294706e-16
  obtained:                    0
  fracdiff:                    1
  value not within tolerance of expected value
                       0
FAIL: gsl_sf_angle_restrict_symm_e(1e9) [2738]
  expected:   0.5773954235013852
  obtained:   0.5773954391479492
  fracdiff: 1.354926207894133e-08
  value not within tolerance of expected value
    0.577395439147949219
FAIL: gsl_sf_angle_restrict_symm_e(-1e9) [2740]
  expected:  -0.5773954235013852
  obtained:  -0.5773954391479492
  fracdiff: 1.354926207894133e-08
  value not within tolerance of expected value
   -0.577395439147949219
FAIL: gsl_sf_angle_restrict_symm_err_e(2.0*M_PI, &r) [2742]
  expected: -2.449293598294706e-16
  obtained:                    0 +/- 1.395147399203453e-15 (rel=1)
  fracdiff:                    1
  value not within tolerance of expected value
                       0  1.39514739920345271e-15
FAIL: gsl_sf_angle_restrict_symm_err_e(-2.0*M_PI, &r) [2743]
  expected: 2.449293598294706e-16
  obtained:                    0 +/- 1.395147399203453e-15 (rel=1)
  fracdiff:                    1
  value not within tolerance of expected value
                       0  1.39514739920345271e-15
FAIL: gsl_sf_angle_restrict_symm_err_e(1e9, &r) [2744]
  expected:   0.5773954235013852
obtained: 0.5773954391479492 +/- 4.440892095936475e-07 (rel=7.69124e-07)
  fracdiff: 1.354926207894133e-08
  value not within tolerance of expected value
    0.577395439147949219  4.44089209593647532e-07
FAIL: gsl_sf_angle_restrict_symm_err_e(-1e9, &r) [2746]
  expected:  -0.5773954235013852
obtained: -0.5773954391479492 +/- 4.440892095936475e-07 (rel=7.69124e-07)
  fracdiff: 1.354926207894133e-08
  value not within tolerance of expected value
   -0.577395439147949219  4.44089209593647532e-07
FAIL:   gsl_angle_restrict_pos_e: theta = 50000.0 + 1.0/65536.0 [2752]
FAIL:   gsl_angle_restrict_pos_e: theta = 5000000.0 + 1.0/65536.0 [2753]
FAIL:   gsl_angle_restrict_symm_e: theta = 50000.0 + 1.0/65536.0 [2759]
FAIL: Trigonometric and Related Functions [2760]
FAIL: test





reply via email to

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