Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Bug in WRF-Chem 4.1.5, with max_dom=3

jinjiuping

New member
I got the problem when I runing a co2 data assimilation experiment in wrf.exe, the WRF Version4.1.5. The max_dom of this experiment is 3.

I used the .ksh to run WRF, and the error happend in wrfchem_initial/ . At the same condition, I tried the max_dom = 1, success; but when max_dom = 2, there happened a same error as max_dom = 3.
When I used the DEBUG mode in WRF, I got this error:

free(): invalid pointer

Program received signal SIGABRT: Process abort signal.

Backtrace for this error:
#0 0x14fe5f7ec680 in ???
#1 0x14fe5f7eb885 in ???
#2 0x14fe5e69a03f in ???
#3 0x14fe5e699fb7 in ???
#4 0x14fe5e69b920 in ???
#5 0x14fe5e6e4966 in ???
#6 0x14fe5e6eb9d9 in ???
#7 0x14fe5e6f2f0b in ???
#8 0x14fe5d548bdc in H5MM_xfree
at /home/jinjp/wrf/build/hdf5-1.12.0/src/H5MM.c:555
#9 0x14fe5d4a274e in H5FL__fac_gc_list
at /home/jinjp/wrf/build/hdf5-1.12.0/src/H5FL.c:2265
#10 0x14fe5d4a38c9 in H5FL_fac_term
at /home/jinjp/wrf/build/hdf5-1.12.0/src/H5FL.c:2352
#11 0x14fe5d658620 in H5SL_term_package
at /home/jinjp/wrf/build/hdf5-1.12.0/src/H5SL.c:658
#12 0x14fe5d32b6a5 in H5_term_library
at /home/jinjp/wrf/build/hdf5-1.12.0/src/H5.c:367
#13 0x14fe5d32b939 in H5_mpi_delete_cb
at /home/jinjp/wrf/build/hdf5-1.12.0/src/H5.c:674
#14 0x14fe5ed38fc2 in ???
#15 0x14fe5ed389e5 in ???
#16 0x14fe5ed38cbe in ???
#17 0x14fe5ecf9713 in ???
#18 0x14fe5f1f2708 in ???
#19 0x55e3e1ec92ab in wrf_dm_shutdown_
at /share/nfs2_share6/RUNTIME_WRF/wrf/WRF/frame/module_dm.f90:6699
#20 0x55e3e209fd7d in wrf_shutdown_
at /share/nfs2_share6/RUNTIME_WRF/wrf/WRF/frame/wrf_shutdown.f90:9
#21 0x55e3e0e03076 in __module_wrf_top_MOD_wrf_finalize
at ../main/module_wrf_top.f90:365
#22 0x55e3e0e020e6 in wrf
at /share/nfs2_share6/RUNTIME_WRF/wrf/WRF/main/wrf.f90:33
#23 0x55e3e0e02133 in main
at /share/nfs2_share6/RUNTIME_WRF/wrf/WRF/main/wrf.f90:6

Otherwise, when i changed the "chem_opt=0" in the namelist.input, it runs success in max_dom=3.
 

Attachments

  • namelist_2017.input
    5.7 KB · Views: 34
I got the problem when I runing a co2 data assimilation experiment in wrf.exe, the WRF Version4.1.5. The max_dom of this experiment is 3.

I used the .ksh to run WRF, and the error happend in wrfchem_initial/ . At the same condition, I tried the max_dom = 1, success; but when max_dom = 2, there happened a same error as max_dom = 3.
When I used the DEBUG mode in WRF, I got this error:

free(): invalid pointer

Program received signal SIGABRT: Process abort signal.

Backtrace for this error:
#0 0x14fe5f7ec680 in ???
#1 0x14fe5f7eb885 in ???
#2 0x14fe5e69a03f in ???
#3 0x14fe5e699fb7 in ???
#4 0x14fe5e69b920 in ???
#5 0x14fe5e6e4966 in ???
#6 0x14fe5e6eb9d9 in ???
#7 0x14fe5e6f2f0b in ???
#8 0x14fe5d548bdc in H5MM_xfree
at /home/jinjp/wrf/build/hdf5-1.12.0/src/H5MM.c:555
#9 0x14fe5d4a274e in H5FL__fac_gc_list
at /home/jinjp/wrf/build/hdf5-1.12.0/src/H5FL.c:2265
#10 0x14fe5d4a38c9 in H5FL_fac_term
at /home/jinjp/wrf/build/hdf5-1.12.0/src/H5FL.c:2352
#11 0x14fe5d658620 in H5SL_term_package
at /home/jinjp/wrf/build/hdf5-1.12.0/src/H5SL.c:658
#12 0x14fe5d32b6a5 in H5_term_library
at /home/jinjp/wrf/build/hdf5-1.12.0/src/H5.c:367
#13 0x14fe5d32b939 in H5_mpi_delete_cb
at /home/jinjp/wrf/build/hdf5-1.12.0/src/H5.c:674
#14 0x14fe5ed38fc2 in ???
#15 0x14fe5ed389e5 in ???
#16 0x14fe5ed38cbe in ???
#17 0x14fe5ecf9713 in ???
#18 0x14fe5f1f2708 in ???
#19 0x55e3e1ec92ab in wrf_dm_shutdown_
at /share/nfs2_share6/RUNTIME_WRF/wrf/WRF/frame/module_dm.f90:6699
#20 0x55e3e209fd7d in wrf_shutdown_
at /share/nfs2_share6/RUNTIME_WRF/wrf/WRF/frame/wrf_shutdown.f90:9
#21 0x55e3e0e03076 in __module_wrf_top_MOD_wrf_finalize
at ../main/module_wrf_top.f90:365
#22 0x55e3e0e020e6 in wrf
at /share/nfs2_share6/RUNTIME_WRF/wrf/WRF/main/wrf.f90:33
#23 0x55e3e0e02133 in main
at /share/nfs2_share6/RUNTIME_WRF/wrf/WRF/main/wrf.f90:6

Otherwise, when i changed the "chem_opt=0" in the namelist.input, it runs success in max_dom=3.
Can you attach your compile and configure logs, and rsl output files? This will help debug the issue.
 
Hello, have you solved this problem? I have encountered a problem similar to yours.
If you open a new thread on the forum with your log files and rsl files we might be able to help. We prefer to have a record of each issue in separate threads.
 
Top