New URL for NEMO forge!   http://forge.nemo-ocean.eu

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.
#2098 (Compilation broken when using zdfric in 3.6) – NEMO

Opened 6 years ago

Closed 4 years ago

Last modified 2 years 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: v4.0
Severity: minor Keywords: v4.0
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 (4)

comment:1 Changed 5 years ago by clevy

  • Description modified (diff)
  • Owner set to francesca
  • Status changed from new to assigned
  • Version changed from v3.6 to v4.0

comment:2 Changed 4 years ago by smasson

  • Owner changed from francesca to smasson

comment:3 Changed 4 years ago by clem

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:4 Changed 2 years ago by nemo

  • Keywords v4.0 added
Note: See TracTickets for help on using tickets.