Hello, I've used debugged WRFV4.6.0 version with initial and boundary conditions created using ERA5 data. I encountered several issues.
Firstly, I got the error on RRTMG 'taugb3' as below,
1) Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00000000028e5477 in rrtmg_lw_taumoltaumol_mp_taugb3_ () at module_ra_rrtmg_lw.f90:5458
5458 fracs(lay,ngs2+ig) = fracrefa(ig,jpl) + fpl * &
(gdb) where
#0 0x00000000028e5477 in rrtmg_lw_taumoltaumol_mp_taugb3_ () at module_ra_rrtmg_lw.f90:5458
Backtrace stopped: Cannot access memory at address 0x7ffdeb2d24d8
So, I recompiled the wrf with '-check bounds', and now I got different errors as below..
2)
forrtl: severe (408): fort: (2): Subscript #3 of the array TMR_RACG has value 5 which is greater than the upper bound of 1
Image PC Routine Line Source
wrf.exe 000000000C4E49CF Unknown Unknown Unknown
wrf.exe 00000000047582F1 module_mp_thompso 2474 module_mp_thompson.f90
wrf.exe 00000000046ED2BE module_mp_thompso 1257 module_mp_thompson.f90
wrf.exe 000000000377EE75 module_microphysi 1054 module_microphysics_driver.f90
wrf.exe 0000000002E13B99 solve_em_ 4478 solve_em.f90
wrf.exe 0000000002708E50 solve_interface_ 123 solve_interface.f90
wrf.exe 00000000005B5432 module_integrate_ 329 module_integrate.f90
wrf.exe 0000000000415378 module_wrf_top_mp 326 module_wrf_top.f90
wrf.exe 0000000000414B35 MAIN__ 29 wrf.f90
wrf.exe 0000000000414AE2 Unknown Unknown Unknown
libc-2.28.so 000014FD23CFE7E5 __libc_start_main Unknown Unknown
wrf.exe 00000000004149EE Unknown Unknown Unknown
line #2464 prg_rcg(k) = tmr_racg(idx_g1,idx_g,idx_bg(k),idx_r1,idx_r) &
Subscript #3 is idx_bg(k) and this apparently has a value of 5, but the upper bound for this 3rd subscript is 1.
Could you please help me to solve this problem..? I attached my namelist.input and rsl.error file as below.
Thank you very much for your time ..!
Firstly, I got the error on RRTMG 'taugb3' as below,
1) Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00000000028e5477 in rrtmg_lw_taumoltaumol_mp_taugb3_ () at module_ra_rrtmg_lw.f90:5458
5458 fracs(lay,ngs2+ig) = fracrefa(ig,jpl) + fpl * &
(gdb) where
#0 0x00000000028e5477 in rrtmg_lw_taumoltaumol_mp_taugb3_ () at module_ra_rrtmg_lw.f90:5458
Backtrace stopped: Cannot access memory at address 0x7ffdeb2d24d8
So, I recompiled the wrf with '-check bounds', and now I got different errors as below..
2)
forrtl: severe (408): fort: (2): Subscript #3 of the array TMR_RACG has value 5 which is greater than the upper bound of 1
Image PC Routine Line Source
wrf.exe 000000000C4E49CF Unknown Unknown Unknown
wrf.exe 00000000047582F1 module_mp_thompso 2474 module_mp_thompson.f90
wrf.exe 00000000046ED2BE module_mp_thompso 1257 module_mp_thompson.f90
wrf.exe 000000000377EE75 module_microphysi 1054 module_microphysics_driver.f90
wrf.exe 0000000002E13B99 solve_em_ 4478 solve_em.f90
wrf.exe 0000000002708E50 solve_interface_ 123 solve_interface.f90
wrf.exe 00000000005B5432 module_integrate_ 329 module_integrate.f90
wrf.exe 0000000000415378 module_wrf_top_mp 326 module_wrf_top.f90
wrf.exe 0000000000414B35 MAIN__ 29 wrf.f90
wrf.exe 0000000000414AE2 Unknown Unknown Unknown
libc-2.28.so 000014FD23CFE7E5 __libc_start_main Unknown Unknown
wrf.exe 00000000004149EE Unknown Unknown Unknown
line #2464 prg_rcg(k) = tmr_racg(idx_g1,idx_g,idx_bg(k),idx_r1,idx_r) &
Subscript #3 is idx_bg(k) and this apparently has a value of 5, but the upper bound for this 3rd subscript is 1.
Could you please help me to solve this problem..? I attached my namelist.input and rsl.error file as below.
Thank you very much for your time ..!