Opened 8 years ago

Closed 8 years ago

#957 closed Bug (fixed)

Bug in obcdta : wrong index in allocation

Reported by: molines Owned by: nemo
Priority: low Milestone:
Component: OCE Version: release-3.4
Severity: Keywords:
Cc:

Description

In routine module obcdta.F90, routine obc_dta_alloc, error in the allocation of north/south arrays ltnmsk etc. : jpj is used for first dimension, and it must be jpi for N and South.

Correct code :

...
      ALLOCATE( ltemsk(jpj,jpk) , luemsk(jpj,jpk) , lvemsk(jpj,jpk) ,     &
         &      ltwmsk(jpj,jpk) , luwmsk(jpj,jpk) , lvwmsk(jpj,jpk) ,     &
         &      ltnmsk(jpi,jpk) , lunmsk(jpi,jpk) , lvnmsk(jpi,jpk) ,     &
         &      ltsmsk(jpi,jpk) , lusmsk(jpi,jpk) , lvsmsk(jpi,jpk) , STAT=ierr(2) )
...

Commit History (1)

ChangesetAuthorTimeChangeLog
3565rblod2012-11-15T19:05:12+01:00

Fix allocation of msk in obcdta, see ticket #957

Change History (1)

comment:1 Changed 8 years ago by rblod

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