New URL for NEMO forge!

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
#2682 (Failing SETTE tests with debug flags and `nn_hls = 1`) – NEMO

Opened 2 years ago

Last modified 16 months ago

#2682 new Bug

Failing SETTE tests with debug flags and `nn_hls = 1`

Reported by: hadcv Owned by: hadcv
Priority: normal Milestone: 2021 WP
Component: MULTIPLE Version: trunk
Severity: minor Keywords: 2021 WP SETTE debug


Four configurations fail in SETTE when using debug flags (XC40_METO_IFORT with %FCFLAGS from X64_IRENE_DEBUG) and nn_hls = 1:

XIOS floating point exception when calling iom_put on "icesalt" in icewri.F90.

All points in the array have value 1e20, so I suspect this is related to using detect_missing_values="true" in the field_def.xml, which converts values equal to default_value (= 1e20 here) to NaN.

Amy Young encountered this issue with the Cray compiler for various SETTE configurations using SI3. XIOS either has to be compiled with -O1 or detect_missing_values="false" must be set. This suggests that XIOS is not masking NaN data prior to output. This might also explain #2668. Possibly this is related to XIOS ticket #136.

FIX: Compile XIOS with -O1

Floating point exception due tor1_s0 being undefined in eos_pt_from_ct when called from sbc_ssm_init.

This is because eos_init is not called in SWE/nemogcm.F90.

FIX: ???

Floating point exception due to ustar2_surf being undefined on halo points in zdfgls.F90.

FIX: Replace the inline A2D with a DO_2D( nn_hls-1, nn_hls-1, nn_hls-1, nn_hls-1 )

Floating point exception due to pW being undefined on halo points in traadv_ubs.F90.

FIX: Reduce the bounds of DO loops involved in the calculation of ztw from (1, 1, 1, 1) to (0, 0, 0, 0).

Commit History (1)


#2682: Fix AMM12 and AGRIF_DEMO failing with debug flags and nn_hls = 1

Change History (3)

comment:1 Changed 2 years ago by hadcv

In 14922:

Error: Failed to load processor CommitTicketReference
No macro or processor named 'CommitTicketReference' found

comment:2 Changed 21 months ago by hadcv

[15136] fixes the SWG floating point exception.

comment:3 Changed 16 months ago by nemo

  • Keywords 2021 WP added; 2021WP removed
Note: See TracTickets for help on using tickets.