Opened 9 years ago

Closed 9 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: release-3.4
Severity: Keywords:
Cc: Branch review:
MP ready?: Task progress:

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 9 years ago by cetlod

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