Opened 12 years ago
Closed 11 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: | v3.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)
Changeset | Author | Time | ChangeLog |
---|---|---|---|
3565 | rblod | 2012-11-15T19:05:12+01:00 | Fix allocation of msk in obcdta, see ticket #957 |
Change History (1)
comment:1 Changed 11 years ago by rblod
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
Fix on 3.4 trunk, see http://forge.ipsl.jussieu.fr/nemo/changeset/3565