whizard is hosted by Hepforge, IPPP Durham

Opened 8 years ago

Closed 8 years ago

#795 closed defect (fixed)

ttv_formfactors unit test now fails with NAG

Reported by: Juergen Reuter Owned by: kilian
Priority: P0 Milestone: v2.3.0
Component: core Version: 2.2.8
Severity: blocker Keywords:
Cc:

Description


Change History (4)

comment:1 Changed 8 years ago by Juergen Reuter

Resolution: fixed
Status: newclosed

One code line updating top parameters had moved in BACN's code by several lines; on Linux the changed parameters seem to have been kept in memory, while on MAC OS X they didn't. So this was a MAC-related issue that actually found an error in the code. Fixed in r7561. Closing.

comment:2 Changed 8 years ago by Juergen Reuter

Resolution: fixed
Status: closedreopened
Summary: gcc 7.0.0 v237587 breaks user_prc_threshold functional teststtv_formfactors unit test now fails with NAG

Unfortunately, with NAG this test is failing.

comment:3 Changed 8 years ago by Juergen Reuter

This is the backtrace:

$ ./ttv_formfactors.run 
Running script ./ttv_formfactors.run
| ============================================================================
| Running self-test: ttv_formfactors
| ----------------------------------------------------------------------------
Runtime Error: *** Arithmetic exception: Floating invalid operation - aborting
ttv_formfactors.f90, line 1329: Error occurred in TTV_FORMFACTORS:SQRTS_TO_V
ttv_formfactors.f90, line 811: Called by TTV_FORMFACTORS:V_MATCHING
ttv_formfactors.f90, line 751: Called by TTV_FORMFACTORS:UPDATE_GLOBAL_SQRTS_DEPENDENT_VARIABLES
ttv_formfactors.f90, line 519: Called by TTV_FORMFACTORS:INIT_PARAMETERS
ttv_formfactors_uti.f90, line 88: Called by TTV_FORMFACTORS_UTI:TTV_FORMFACTORS_1
unit_tests.f90, line 184: Called by UNIT_TESTS:TEST
ttv_formfactors_ut.f90, line 50: Called by TTV_FORMFACTORS_UT:TTV_FORMFACTORS_TEST
main_ut.f90, line 661: Called by MAIN_UT:WHIZARD_CHECK
main_ut.f90, line 291: Called by MAIN_UT
Running test: ttv_formfactors_1
Aborted (core dumped)

comment:4 Changed 8 years ago by Juergen Reuter

Resolution: fixed
Status: reopenedclosed

Solved in r7652. The global variable needed to be initialised to a value before the correct value was calculated.

Note: See TracTickets for help on using tickets.