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.
#2309 (print statements in iceberg model) – NEMO

Opened 5 years ago

Closed 5 years ago

#2309 closed Defect (fixed)

print statements in iceberg model

Reported by: andmirek Owned by: systeam
Priority: low Milestone: Unscheduled
Component: ICB Version: trunk
Severity: minor Keywords:
Cc:

Description

Context

ORCA2_ICE_PISCES sette test prints information about time step from iceberg model to standard output.

Analysis

numicb files are open for nn_verbose_level > 0. At the same time information about time step (icbstp.F90) is written when

IF( nn_verbose_write > 0 .AND. MOD( kt-1 , nn_verbose_write ) == 0 )

that is independent on nn_verbose_level. As a result this information is printed to standard output because numicb files are not opened.

Recommendation

Either replace that statement with

IF( nn_verbose_write > 0 .AND. MOD( kt-1 , nn_verbose_write ) == 0 .AND. nn_verbose_level > 0)

or reset nn_verbose_write to 0 when nn_verbose_level = 0 during model initialization.

Commit History (0)

(No commits)

Change History (1)

comment:1 Changed 5 years ago by andmirek

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

fixed in revision 11536.

Note: See TracTickets for help on using tickets.