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.
#1156 (a_i not always defined in sbcice_if) – NEMO

Opened 11 years ago

Closed 10 years ago

#1156 closed Bug (fixed)

a_i not always defined in sbcice_if

Reported by: marti Owned by: smasson
Priority: low Milestone:
Component: OCE Version: v3.6
Severity: Keywords:
Cc:

Description

sbcice_if initializes a_i in the coupled case :

#if defined key_coupled
         a_i(:,:,1) = fr_i(:,:)
#endif

But a_i is not defined in all configuration, and the compilation fails. I propose :

#if defined key_coupled && defined key_lim2
         a_i(:,:,1) = fr_i(:,:)
#endif

I don't know what happens when CICE is used.

Olivier Marti

Commit History (0)

(No commits)

Change History (3)

comment:1 Changed 11 years ago by clevy

  • Owner changed from NEMO team to smasson

comment:2 Changed 11 years ago by smasson

I guess you are trying lim3 in coupled mode...
I propose to add the following use at the head of sbcice_if so a_i will be defined:

#if defined key_lim3 && defined key_coupled
   USE ice             ! for a_i
#endif

Do you agree?

comment:3 Changed 10 years ago by smasson

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

fixed in r4859

Note: See TracTickets for help on using tickets.