Opened 10 years ago
Closed 10 years ago
#1287 closed Bug (fixed)
ze3f not initialized after allocation in vor_een ( dynvor.F90)
Reported by: | cbricaud | Owned by: | nemo |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | OCE | Version: | v3.6 |
Severity: | Keywords: | ||
Cc: |
Description
ze3f is allocated in vor_een
but not initialized
and ze3f is filled only when ze3 /= 0._wp :
" IF( ze3 /= 0._wp ) ze3f(ji,jj,jk) = zmsk / ze3"
Depending how compiler initilize array after allocation, ze3f can contain bad values, as Nan.
Produce some crash in solver for ORCA025 on ECMWF AIX7 at Mercator.
I propose to initialize it after allocation.
Commit History (0)
(No commits)
Change History (1)
comment:1 Changed 10 years ago by cbricaud
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
bug fixed at rev 4601
@@ -600,6 +600,7 @@
+ ze3f(:,:,:) = 0.d0