E3SM icon indicating copy to clipboard operation
E3SM copied to clipboard

Turning on debugging in SCM tests causes floating invalid in `io_data_mod.F90`

Open ndkeen opened this issue 1 year ago • 7 comments

Using master of Jan23 and SMS_D_R_Ld5.ne4_ne4.FSCM-ARM97.pm-cpu_intel.eam-scm

Same error in SMS_D_Ln9_P24x1.ne4_ne4.FDPSCREAM-ARM97.pm-cpu_intel possibly ne4_ne4 no longer supported?

0: forrtl: error (65): floating invalid
0: Image              PC                Routine            Line        Source
0: libpthread-2.31.s  000014D6711EF910  Unknown               Unknown  Unknown
0: e3sm.exe           0000000000B7C232  iop_data_mod_mp_r        1280  iop_data_mod.F90
0: e3sm.exe           0000000004AF07A0  inidat_mp_read_in         535  inidat.F90
0: e3sm.exe           000000000392516A  startup_initialco          54  startup_initialconds.F90
0: e3sm.exe           00000000033F1112  inital_mp_cam_ini          63  inital.F90
0: e3sm.exe           00000000009371BC  cam_comp_mp_cam_i         162  cam_comp.F90
0: e3sm.exe           00000000008F07F9  atm_comp_mct_mp_a         369  atm_comp_mct.F90
0: e3sm.exe           000000000049B015  component_mod_mp_         257  component_mod.F90
0: e3sm.exe           0000000000448122  cime_comp_mod_mp_        1451  cime_comp_mod.F90
0: e3sm.exe           0000000000491F92  MAIN__                    122  cime_driver.F90
0: e3sm.exe           00000000004348AD  Unknown               Unknown  Unknown
0: libc-2.31.so       000014D670C3C24D  __libc_start_main     Unknown  Unknown

ndkeen avatar Jan 25 '24 17:01 ndkeen

still an issue?

rljacob avatar Feb 26 '24 04:02 rljacob

Yes these 2 tests still fail on master.

ndkeen avatar Feb 26 '24 20:02 ndkeen

Oh you added debugging to those? The non-debugging versions in our suite are passing.

rljacob avatar Feb 27 '24 01:02 rljacob

With master of today (ie, after your merge from next earlier this morning), those 2 tests above still fail. And indeed, I just tried and same 2 tests without DEBUG do pass. I would argue it's more important that DEBUG pass.

ndkeen avatar Feb 27 '24 01:02 ndkeen

With next of Mar7th, the following test completes with GNU: SMS_D_R_Ld5.ne4_ne4.FSCM-ARM97.pm-cpu_gnu.eam-scm, but maybe that was already the case.

Running again with Intel DEBUG, same fail as above -- well actually it's on a diff line:

0: forrtl: error (65): floating invalid
0: Image              PC                Routine            Line        Source
0: libpthread-2.31.s  000015546BDEF910  Unknown               Unknown  Unknown
0: e3sm.exe           0000000000B7CED9  iop_data_mod_mp_r        1293  iop_data_mod.F90
0: e3sm.exe           0000000004AF4714  inidat_mp_read_in         535  inidat.F90
0: e3sm.exe           0000000003928072  startup_initialco          54  startup_initialconds.F90
0: e3sm.exe           00000000033F400A  inital_mp_cam_ini          63  inital.F90
0: e3sm.exe           0000000000937DC4  cam_comp_mp_cam_i         162  cam_comp.F90
0: e3sm.exe           00000000008F1401  atm_comp_mct_mp_a         369  atm_comp_mct.F90
0: e3sm.exe           000000000049B015  component_mod_mp_         257  component_mod.F90
0: e3sm.exe           0000000000448122  cime_comp_mod_mp_        1451  cime_comp_mod.F90
0: e3sm.exe           0000000000491F92  MAIN__                    122  cime_driver.F90
     ! Build interface vector for the specified omega profile                                                                                                                                                                                                         
     !   (weighted average in pressure of specified level values)                                                                                                                                                                                                     

     wfldh(1) = 0.0_r8

     do k=2,plev
       weight = (pint(k) - pmid(k-1))/(pmid(k) - pmid(k-1))
       wfldh(k) = (1.0_r8 - weight)*wfld(k-1) + weight*wfld(k)  !<-- line 1293 in next of mar7
     end do

ndkeen avatar Mar 08 '24 02:03 ndkeen

Same issue as above comment for SMS_D_R_Ld5.ne4_ne4.FSCM-ARM97.pm-cpu_intel.eam-scm with master of June 17th

ndkeen avatar Jun 18 '24 18:06 ndkeen