bug-gsl
[Top][All Lists]
Advanced

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

[Bug-gsl] [bug #52927] make check fails on Bessel j2 test


From: Patrick Alken
Subject: [Bug-gsl] [bug #52927] make check fails on Bessel j2 test
Date: Thu, 18 Jan 2018 18:13:08 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?52927>

                 Summary: make check fails on Bessel j2 test
                 Project: GNU Scientific Library
            Submitted by: psa
            Submitted on: Thu 18 Jan 2018 11:13:07 PM UTC
                Category: Runtime error
                Severity: 3 - Normal
        Operating System: 
                  Status: None
             Assigned to: None
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any

    _______________________________________________________

Details:

from eshell =at= ucsc =dot= edu

subject: GSL 2.4 make check failing on Rocks cluster running CentOS 6.9

note: it looks like the error term (r) is causing the failure, not the
computed j2 value itself

----

Thanks much for the quick reply!  I incremented the tolerance value, but it
is still failing even at TEST_TOL6:

======================================
   gsl 2.4: specfunc/test-suite.log
======================================

# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: test
==========

FAIL: gsl_sf_bessel_j2_e(1048576.0, &r) [168]
  expected: -3.1518539455252412e-07
  obtained: -3.1518539455252539e-07 ± 2.7994086564622246e-22
(rel=8.88178e-16)
  fracdiff: 2.0155588470164931e-15
 tolerance: 2.3283064365386963e-10
  value/expected not consistent within reported error
  -3.151853945525253879e-07  2.799408656462224591e-22
FAIL: Bessel Functions [407]

On Thu, Jan 18, 2018 at 3:01 PM, Patrick Alken <address@hidden> wrote:

> Hello,
>
>   It looks like its calculating the value correctly, but the test
> tolerance needs to be relaxed slightly. Can you locate this line in
> specfun/test_bessel.c:
>
>  186   TEST_SF(s,  gsl_sf_bessel_j2_e, (1048576.0, &r),
> -3.1518539455252413111e-07, TEST_TOL3, GSL_SUCCESS);
>
> and change the TEST_TOL3 to TEST_TOL4, and let me know if the test passes?
> If not try TEST_TOL5 and then TEST_TOL6, and tell me which one allows the
> test to pass.
>
> Thanks,
> Patrick
>
>
> On 01/18/2018 03:56 PM, Eric Shell wrote:
>
>> Hello,
>>
>> I'm trying to install GSL 2.4 on a Rocks cluster running CentOS 6.9, gcc
>> version 4.4.7.  I am running configure with just a --prefix argument.
>> make
>> succeeds without errors, but make check is failing on the specfunc test.
>> Here are the contents of the log file:
>>
>> ------------------------------------------------------------
>> --------------------
>>
>> ======================================
>>     gsl 2.4: specfunc/test-suite.log
>> ======================================
>>
>> # TOTAL: 1
>> # PASS:  0
>> # SKIP:  0
>> # XFAIL: 0
>> # FAIL:  1
>> # XPASS: 0
>> # ERROR: 0
>>
>> .. contents:: :depth: 2
>>
>> FAIL: test
>> ==========
>>
>> FAIL: gsl_sf_bessel_j2_e(1048576.0, &r) [168]
>>    expected: -3.1518539455252412e-07
>>    obtained: -3.1518539455252539e-07 ± 2.7994086564622246e-22
>> (rel=8.88178e-16)
>>    fracdiff: 2.0155588470164931e-15
>>   tolerance: 4.5474735088646412e-13
>>    value/expected not consistent within reported error
>>    -3.151853945525253879e-07  2.799408656462224591e-22
>> FAIL: Bessel Functions [407]
>>
>> ------------------------------------------------------------
>> --------------------
>>
>> Is this a known issue?  How can I address the underlying issue?
>>
>> Thanks!
>>
>> - Eric
>>





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52927>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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