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.
#1826 (unneccessary print without iomput) – NEMO

Opened 7 years ago

Closed 6 years ago

#1826 closed Defect (fixed)

unneccessary print without iomput

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

Description

Context

Running what ever configuration without key_iomput, a print is issued at each time step from dia_prod to warn that we shouldn't be here

Analysis

Somehow it t makes sense since diaprod can be used only with key_iomput. However, the way it is coded isn't especially leads to gigantic log files when not using key_iomput, even when not interested by dia_prod

Commit History (1)

ChangesetAuthorTimeChangeLog
8588francesca2017-10-04T09:58:01+02:00

fix ticket #1826 in nemo_v3_6_STABLE

Change History (3)

comment:1 Changed 6 years ago by clevy

  • Owner changed from nemo to francesca
  • Status changed from new to assigned

comment:2 Changed 6 years ago by francesca

When not using key_iomput the dia_prod warning message should be printed once, only in the first time-step, through an IF conditional statement.
In this way the information is still maintained and the redundant messages making log files big are avoided.

comment:3 Changed 6 years ago by francesca

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

As I said in my previous comment, I used a Fortran IF conditional statement to allow master process only to print the warning message once in the first time step.
Anyway, looking at the nemo code, I noticed there are about 50 'Dummy routines' similar to this one that should be managed in a common way.

Note: See TracTickets for help on using tickets.