-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Out of bounds index in save_restart (fms_io) #7
Comments
Allistair, The net is that I don't think anything bad really happens. But I'll check On 07/16/2015 02:05 PM, Alistair Adcroft wrote:
|
OK, Thanks. I came across it because we're trying to debug trajectory I/O and of course are hitting this problem instead. |
I just realized this is the same problem as issue #4. |
On 2015.07.29 Jeff Durachta wrote: I've made some changes that avoid executing any code when the array size is 0 (i.e. when there's no iceberg data) and these pass a run of the debug build. Niki: See /lustre/f1/unswept/Jeffrey.Durachta/TMP_icebergs/MOM6-examples/src/FMS/mpp/include/mpp_gather.h It should receive thorough testing with cases where there are icebergs, especially a layout where there's a mix of some and 0 icebergs within an io_peset. I tested this update with Intel compiler and Alistair tested it with GNU, and it seems to have fixed the issue. I have tagged it with |
I just encountered this again after switching to the 4d restarts branch which was based on ulm. Will the FMS patch be in the unofficial ulm patch? |
Yes, and the tag will be created once we work through a few more issues. |
- This fixes issue #7 on NOAA-GFDL/Icebergs NOAA-GFDL/icebergs#7 forrtl: severe (408): fort: (2): Subscript #1 of the array SBUF has value 1 which is greater than the upper bound of 0
It looks restarts do get written when in production mode but there is clearly a bug somewhere since we get an out-of-bounds with a dbug executable:
forrtl: severe (408): fort: (2): Subscript #1 of the array SBUF has value 1 which is greater than the upper bound of 0
Image PC Routine Line Source
MOM6 00000000055B6FAA Unknown Unknown Unknown
MOM6 00000000055B5B25 Unknown Unknown Unknown
MOM6 0000000005572786 Unknown Unknown Unknown
MOM6 000000000550EE95 Unknown Unknown Unknown
MOM6 000000000550F2E9 Unknown Unknown Unknown
MOM6 0000000004EDA0D1 mpp_mod_mp_mpp_ga 77 mpp_gather.h
MOM6 0000000004BDD30C mpp_io_mod_mp_mpp 30 mpp_write_unlimited_axis.h
MOM6 0000000003D210AA fms_io_mod_mp_sav 2516 fms_io.F90
MOM6 0000000003D0A533 fms_io_mod_mp_sav 2114 fms_io.F90
MOM6 0000000000D7E44A ice_bergs_io_mp_w 211 icebergs_io.F90
MOM6 0000000003517354 ice_bergs_mp_iceb 2152 icebergs.F90
MOM6 000000000338FC72 ice_type_mod_mp_i 967 ice_type.F90
MOM6 000000000168E1D0 ice_model_mod_mp_ 4071 ice_model.F90
MOM6 0000000001930DB7 coupler_main_IP_c 1662 coupler_main.F90
MOM6 000000000192A4A3 MAIN__ 887 coupler_main.F90
MOM6 00000000004006AC Unknown Unknown Unknown
MOM6 00000000055C58D4 Unknown Unknown Unknown
MOM6 000000000040057D Unknown Unknown Unknown
[NID 00252] 2015-07-16 13:59:37 Apid 105491249: initiated application termination
The text was updated successfully, but these errors were encountered: