New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Ticket Diff – NEMO

Changes between Version 1 and Version 3 of Ticket #2103


Ignore:
Timestamp:
2018-06-16T00:54:51+02:00 (6 years ago)
Author:
lovato
Comment:

The proposed solution was implemented at trunk revision r9807

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2103

    • Property Status changed from new to closed
    • Property Resolution changed from to fixed
  • Ticket #2103 – Description

    v1 v3  
    331) BDY indexing randomly generate a segmentation fault 
    44 
    5 2) BDY data reading with fldread produces an error because attempt find data record beyod the end of file timeline 
     52) BDY data reading with fldread produces an error because code attempt to read data record beyond the end of file timeline 
    66 
    77== Analysis 
     
    1010In the re-calculation of fmask without the land boundary condition (shlat) included in src/OCE/BDY/bdyini.F90 the temporary array zfmask is not set to zero is missing. 
    1111Thus, with certain domain decompositions and with land exclusion, the following loop may not fill the outer bound of the domain. 
    12 (in addition if compiled with check-bounds option the indexes generated in this piece of code poits outside array boundaries)   
     12(in addition if compiled with check-bounds option the indexes generated in this piece of code point outside array boundaries)   
    1313{{{#!f 
    1414      ! For the flagu/flagv calculation below we require a version of fmask without 
     
    5050 
    51512) 
    52 always check it the current file has reached the last record, independently from the use of time interpolation. 
     52Always check if the current file has reached the last record, independently from the use of time interpolation and update the name of the next file to be read. 
    5353Move the endif instance of time interpolation check in fldread as in the following 
    5454