#1562 closed Bug (invalid)
fldread bug
Reported by: | gmainsant | Owned by: | gmainsant |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | OCE | Version: | v3.6 |
Severity: | Keywords: | OPA SBC allocation/deallocation v3.6 | |
Cc: |
Description
- A bug appeared when the field 'land/sea mask filename' of the namsbc_core block namelist doesn't exist.
In this case, in the file fldread.F90 the code passes the condition line 1316 because the lsmfile value has a random value greater than 0.
After this condition, at the line 1338 the allocatable variable "ztmp_fly_dta" is not allocated before being used.
- error message :
"forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable ZTMP_FLY_DTA when it is not allocated "
- version : NEMO_3.6_STABLE
- release : 5202
Commit History (0)
(No commits)
Change History (9)
comment:1 Changed 9 years ago by timgraham
comment:2 Changed 9 years ago by timgraham
- Resolution set to invalid
- Status changed from new to closed
After discussing with others in the systems team I think my comment above describes the cause of this error so it's not really a bug in the model. I will therefore close the ticket.
comment:3 Changed 8 years ago by nicolasmartin
- Keywords allocation added; allocated removed
comment:4 Changed 8 years ago by nicolasmartin
- Keywords SBC added; fldread removed
comment:5 Changed 8 years ago by nicolasmartin
- Keywords ztmp_fly_dta removed
comment:6 Changed 6 years ago by nemo
- Keywords allocation/deallocation added; allocation removed
comment:7 Changed 6 years ago by nemo
- Keywords release-3.6* added
comment:8 Changed 6 years ago by nemo
- Keywords release-3.6* removed
comment:9 Changed 2 years ago by nemo
- Keywords OPA v3.6 added
Note: See
TracTickets for help on using
tickets.
Could you paste the line from your namelist_cfg here for the variable that is causing the problem?
If you don't have a land/sea mask file then it must be set to an empty string as in namelist_ref:
The reason for introducing namelist_ref and namelist_cfg is to avoid the need to allocate all namelist variables within the code.