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.
#916 (3.4beta : trcdia.F90 kindinc not initialized) – NEMO

Opened 12 years ago

Closed 12 years ago

#916 closed Bug (fixed)

3.4beta : trcdia.F90 kindinc not initialized

Reported by: molines Owned by: nemo
Priority: low Milestone:
Component: TOP Version: v3.4
Severity: Keywords:
Cc:

Description

In trcdia.F90, kindic is a local integer of routine trc_dia. It is not initialized and it is passed as second argument to the routines

  • trcdit_wr
  • trcdii_wr
  • trcdib_wr

In these subroutines, kindic is for INTENT(in). Therefore, the value should come from trc_dia itself.

kindic is used in the subroutines, a negative value forcing a call to histclo. And if this happens spuriously, the program ends up later with an IOIPSL error (histvar_seq), whose origin looks rather unclear to the user ;).


Commit History (1)

ChangesetAuthorTimeChangeLog
3271cetlod2012-01-23T10:07:59+01:00

dev_NEMO_MERGE_2011:suppress useless variable kindic in trcdia.F90, see ticket #916

Change History (1)

comment:1 Changed 12 years ago by cetlod

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.