You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A SLES12-related bug was discovered when the GCM GridComp is used in (LDAS) ensemble mode.
MAPL_ReadForcing is used to obtain time-interpolated, climatological values of LAI, GRN, NIRDF, VISDF and NDVI.
When restarting GEOSldas after certain dates late in the year, MAPL_ReadForcing exits with a "Preliminary end of file" message.
Specifically:
Since the LAI, GRN, etc should be identical for all ensemble members (for now), for each variable the existing design created a set of links, one per ensemble member, to the same clim file. Previous compilers treated these different links as different files and kept separate file positions for each of the links.
The Intel-19 compiler used for GEOSldas under SLES12 treats the different link names as the same file, which violates the design.
As long as the MAPL_ReadForcing can read at least on date record in the forcing file, it produces the right answer because tMAPL_readForcing keeps adjusting the file position through the call "UPDATE_ENDPOINTS"
When we restarted on 17 Dec 2015 at 0z, GRN passes the midpoint of the second to the last data record in the clim file. With the Intel-19 compiler, this messes up the position for the second ensemble member, which expects to read the header (date record) but for the second ensemble member the file position is now at the end of the file. Consequently, MAPL_ReadForcing exits with the "Preliminary end of file" message. If we restart on 16 Dec at 0z, MAPL_ReadForcing still can read the header and figure out that it needs to reposition itself. As long as it re-positions itself right, the reading would be right.
To test this theory, we restarted on 30 Dec, which is past the midpoint of the second-to-last LAI record. Indeed, MAPL_ReadForcing now exits when reading the LAI for the second ensemble member.
Besides not permitting restart dates late in the year, the original design is very inefficient. All ensemble members read and broadcast the data. The revised design saves the data read by the first ensemble member, and the other members simply use it.
A SLES12-related bug was discovered when the GCM GridComp is used in (LDAS) ensemble mode.
MAPL_ReadForcing is used to obtain time-interpolated, climatological values of LAI, GRN, NIRDF, VISDF and NDVI.
When restarting GEOSldas after certain dates late in the year, MAPL_ReadForcing exits with a "Preliminary end of file" message.
Specifically:
cc: @jardizzo @atrayano @weiyuan-jiang @gmao-qliu @sdrabenh @wmputman
The text was updated successfully, but these errors were encountered: