Opened 2 years ago

Closed 8 months ago

#2098 closed Bug (fixed)

Compilation broken when using zdfric in 3.6

Reported by: mclaus Owned by: smasson
Priority: low Milestone:
Component: OCE Version: release-4.0
Severity: minor Keywords:
Cc:

Description (last modified by clevy)

Context

Compilation broke when using key_zdfric in Nemo 3.6 stable branch.
To be checked and fixed if relevant in 4.0 and maybe in 3.6

Analysis

In the subroutine zdf_ric, the constant r1_rau0 from module phycst is used. However, it is missing in the use statement

Fix

  • NEMO/OPA_SRC/ZDF/zdfric.F90

    a b CONTAINS 
    112112      !! References : Pacanowski & Philander 1981, JPO, 1441-1451. 
    113113      !!              PFJ Lermusiaux 2001. 
    114114      !!---------------------------------------------------------------------- 
    115       USE phycst,   ONLY:   rsmall,rau0 
     115      USE phycst,   ONLY:   rsmall,rau0, r1_rau0 
    116116      USE sbc_oce,  ONLY:   taum 
    117117      !! 
    118118      INTEGER, INTENT( in ) ::   kt                           ! ocean time-step 

Commit History (0)

(No commits)

Change History (3)

comment:1 Changed 18 months ago by clevy

  • Description modified (diff)
  • Owner set to francesca
  • Status changed from new to assigned
  • Version changed from release-3.6 to release-4.0

comment:2 Changed 8 months ago by smasson

  • Owner changed from francesca to smasson

comment:3 Changed 8 months ago by clem

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.