#1582 closed Bug (fixed)
SETTE test failed with debug compilation options
Reported by: | mathiot | Owned by: | mdrudi |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | OCE | Version: | v3.6 |
Severity: | minor | Keywords: | Misc. SETTE v3.6 |
Cc: | mdrudi |
Description
I tried to pass SETTE test with debug compilation options on the BAS cluster (intel) and several experiments failed to run (SAS, ORCA2OFFPIS, ORCA2_LIM_OBS).
Revision of the 3.6 stable version I used: 5554
Compilation options I used: -integer-size 32 -real-size 64 -O0 -fp-model source -fp-model precise -fpp -g -traceback -CB -fpe0 -debug extended -ftz -ftrapuv -CU
Compilation or execution errors I faced:
SAS: /data/scihub-users/piethi/WORKDIR/NEMO_3.6_STABLE/NEMOGCM/CONFIG/SAS_LONG/BLD/lib/libfcmnemo.a(nemogcm.o): In function `nemo_init':
/data/scihub-users/piethi/WORKDIR/NEMO_3.6_STABLE/NEMOGCM/CONFIG/SAS_LONG/BLD/ppsrc/nemo/nemogcm.f90:302: undefined reference to `bdy_init_'
ORCA2OFFPIS: forrtl: error (73): floating divide by zero
ORCA2_LIM_OBS: forrtl: severe (193): Run-Time Check Failure. The variable 'obs_oper_mp_obs_sst_opt_$IDAYEND' is being used without being defined
The same code with production otions passed SETTE test with success (compilation options: -integer-size 32 -real-size 64 -O3 -fp-model source -fpp -zero)
Commit History (0)
(No commits)
Change History (7)
comment:1 Changed 8 years ago by nicolasmartin
- Keywords nemo_v3_6* added
comment:2 Changed 6 years ago by clevy
- Cc mdrudi added
- Owner changed from nemo to mdrudi
- Status changed from new to assigned
comment:3 Changed 6 years ago by mchekki
comment:4 Changed 6 years ago by nemo
- Keywords release-3.6* added; nemo_v3_6* removed
comment:5 Changed 6 years ago by nemo
- Keywords release-3.6* removed
comment:6 Changed 5 years ago by mdrudi
- Resolution set to fixed
- Severity set to minor
- Status changed from assigned to closed
comment:7 Changed 2 years ago by nemo
- Keywords Misc. v3.6 added; nemo_v3_6* removed
Analysis
Using debug options, shows the following error in SAS configuration at the link:
undefined reference to `bdy_init_'
After looking to the library that was built(Force fcm to keep it), it shows that in nemogcm.f90 (preprocessed file) "USE bdyini" is missing which is under the key "key_bdy"
Recommendation
Add key_bdy to the sette.sh along with key_mpp_rep for SAS configuration and run again
Note also, that the debug options should be:
-O0 -r8 -fp-model source -traceback -fpe0 -debug -ftrapuv -check bounds -check uninit