Dear all,
I am trying to modify some routines in the SCAM module (specifically in the ndrop.F90 module). But after compiling successfully and running the (almost) complete simulation time, the simulation is crashing with the report saying.
I am unable to figure out this issue, so I am wondering if is there any way to detect NANs in the simulations and stop at that particular line. For instance, could I use the flag
for compiling the code?
I am struggling with this issue for a quite long time, thus any comment/suggestion would be very helpful, many thanks in advance.
I am trying to modify some routines in the SCAM module (specifically in the ndrop.F90 module). But after compiling successfully and running the (almost) complete simulation time, the simulation is crashing with the report saying.
Code:
NetCDF: Numeric conversion not representable
pio_support::pio_die:: myrank= -1 : ERROR:
pionfwrite_mod::write_nfdarray_double: 250 :
NetCDF: Numeric conversion not representable
Image PC Routine Line Source
cesm.exe 0000000002425357 Unknown Unknown Unknown
cesm.exe 0000000002276C71 pio_support_mp_pi 118 pio_support.F90
cesm.exe 0000000002274C2E pio_utils_mp_chec 74 pio_utils.F90
cesm.exe 000000000232D823 pionfwrite_mod_mp 250 pionfwrite_mod.F90.in
cesm.exe 00000000023080AE piodarray_mp_writ 650 piodarray.F90.in
cesm.exe 000000000230A7C0 piodarray_mp_writ 221 piodarray.F90.in
cesm.exe 000000000230AD31 piodarray_mp_writ 291 piodarray.F90.in
cesm.exe 000000000102F3D4 cam_grid_support_ 3312 cam_grid_support.F90
cesm.exe 0000000000531E35 cam_history_mp_du 4731 cam_history.F90
cesm.exe 000000000051420C cam_history_mp_ws 5055 cam_history.F90
cesm.exe 0000000000501071 cam_comp_mp_cam_r 402 cam_comp.F90
cesm.exe 00000000004F1640 atm_comp_mct_mp_a 455 atm_comp_mct.F90
cesm.exe 0000000000434E9E component_mod_mp_ 728 component_mod.F90
cesm.exe 000000000041AD0A cime_comp_mod_mp_ 3465 cime_comp_mod.F90
cesm.exe 0000000000434AE7 MAIN__ 125 cime_driver.F90
cesm.exe 00000000004170A2 Unknown Unknown Unknown
libc-2.31.so 00007FD1F128C083 __libc_start_main Unknown Unknown
cesm.exe 0000000000416FAE Unknown Unknown Unknown
MPI_Abort: error code = 1
max rss=473.5 MB
max rss=536.9 MB
Code:
-fpe0
I am struggling with this issue for a quite long time, thus any comment/suggestion would be very helpful, many thanks in advance.