NOAA-EMC / RTOFS_GLO

0 stars 1 forks source link

out of boundary and uninitialized variables issues in RTOFS v2 source codes (bugzilla #1134) #13

Open DanIredell-NOAA opened 2 years ago

DanIredell-NOAA commented 2 years ago

http://www2.spa.ncep.noaa.gov/bugzilla/show_bug.cgi?id=1134

Please address the out of boundary and uninitialized variables issues in RTOFS v2 source codes as following.

###################################################################### exec/rtofs_ncoda_archv_inc failed with “ -check all “ compile option with error “ “forrtl: severe (408): fort: (3): Subscript #3 of the array TH3D has value 0 which is less than the lower bound of 1” In rtofs_global_ncoda_inc job

check /gpfs/dell1/nco/idsb/noscrub/Simon.Hsiao/WCOSS/RTOFS.2020/IT_TEST - check.all.save/rtofs_global_ncoda_inc.o39675631 check.all.save/rtofs_global_ncoda_inc.o39676131

###################################################################### exec/rtofs_hycom_diff failed with “ -check all “ compile option with “forrtl: severe (408): fort: (3): Subscript #1 of the array IP has value 0 which is less than the lower bound of 1” in rtofs_global_ncoda_inc job

check /gpfs/dell1/nco/idsb/noscrub/Simon.Hsiao/WCOSS/RTOFS.2020/IT_TEST - check.all.save/rtofs_global_ncoda_inc.o39675631 check.all.save/rtofs_global_ncoda_inc.o39676131

###################################################################### exec/ rtofs_archv2ncdf2d failed with “ -check all” compile option with “forrtl: severe (408): fort: (3): Subscript #1 of the array IP has value 0 which is less than the lower bound of 1” in rtofs_global_analysis_grib2_post_d01 job

check /gpfs/dell1/nco/idsb/noscrub/Simon.Hsiao/WCOSS/RTOFS.2020/IT_TEST - check.all.save/rtofs_global_analysis_grib2_post_d01.o39686144

###################################################################### exec/rtofs_archv2ncdf3z failed with “ -check all” compile option with “ forrtl: severe (408): fort: (3): Subscript #1 of the array IP has value 0 which is less than the lower bound of 1 “ in rtofs_global_analysis_post job

check /gpfs/dell1/nco/idsb/noscrub/Simon.Hsiao/WCOSS/RTOFS.2020/IT_TEST - check.all.save/rtofs_global_analysis_post.o39686145

DanIredell-NOAA commented 8 months ago

These messages were from WCOSS1. Added debug target to makefiles on WCOSS2. The compile options for debug include "-check all". While many warnings and remarks were output when compiling with the debug flags, there were not any severe messages. And no warnings or remarks about the lower bound.