Opened 6 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)
Changeset | Author | Time | ChangeLog |
---|---|---|---|
8588 | francesca | 2017-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
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.
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.