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

Using RADM2's wrfchemi to follow the CMBZ MOSAIC chemistry mechanism will result in segmentation errors

lirui111

New member
When I use the RADM2 wrfchemi, I choose the chem_opt=10 emiss_inpt_opt=101 and emiss_opt=4, the WRFv4.5.2 programme runs for some time and then ends the process, I check the rsl file and it just shows the segmentation error, here is my namelist.input, I hope you can give me some guidance!
The invalid memory reference error does not occur when using the RADM2 chemistry.
Then I use WRFV3.9.1 can run succesfully, WRFV4.5.2 can not, I want know why.

d01 2025-01-17_00:00:00 ----------------------------------------
d01 2025-01-17_00:00:00 W-DAMPING BEGINS AT W-COURANT NUMBER = 1.00000000
d01 2025-01-17_00:00:00 ----------------------------------------
calculate MEGAN emissions at ktau, gmtp, tmidh = 1 0.00000000 3.33333341E-03
photolysis_driver: called for domain 1
d01 2025-01-17_00:00:00
d01 2025-01-17_00:00:00 output from dump_cbmz_gasodeinfo
d01 2025-01-17_00:00:00 oderegime(1-6) 0 128083 165 0 0 0
d01 2025-01-17_00:00:00 odestatus(1-6) 128248 0 0 0 0 128248
d01 2025-01-17_00:00:00 inforodas(1-3) 0--000128248 0--002185908 0--001092954
d01 2025-01-17_00:00:00 inforodas(4-6) 0--000926526 0--000166428 0--000000000

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0 0x118db7188960 in ???
#1 0x118db7187ac5 in ???
#2 0x118db6d7851f in ???
#3 0x118db6ddb229 in malloc
#4 0x5b2ac6548f68 in __module_mosaic_therm_MOD_equilibrium
#5 0x5b2ac655e861 in __module_mosaic_therm_MOD_astem
#6 0x5b2ac656a98a in __module_mosaic_therm_MOD_mosaic_dynamic_solver
#7 0x5b2ac656aa8b in __module_mosaic_therm_MOD_mosaic
#8 0x5b2ac656ac8d in __module_mosaic_therm_MOD_aerchemistry
#9 0x5b2ac53e8363 in __module_mosaic_driver_MOD_mosaic_aerchem_driver
#10 0x5b2ac45e5061 in chem_driver_
#11 0x5b2ac4420a6d in solve_interface_
#12 0x5b2ac23615b4 in __module_integrate_MOD_integrate
#13 0x5b2ac22c3cc7 in __module_wrf_top_MOD_wrf_run
#14 0x5b2ac22c314e in main




This issue has been resolved. Adding mozart_ph_diag=1 to&chem will allow the program to run normally
 
Last edited:
Top