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

envir stop 12 error while running wrf.exe

I got the following error while running wrf.exe with chemistry.

d01 2014-07-25_00:00:00 calling chem_opt=? from chem_driver
d01 2014-07-25_00:00:00 call chem_prep
d01 2014-07-25_00:00:00 calling emissions driver
d01 2014-07-25_00:00:00 fire emissions: calling biomassb
1 30
STOP envir stop 12

It seems that the error is related to reading biomass burning emission. But I am not sure where the problem is. Does anyone see the similar error before? I attached the full log file (rsl.error.0000) and namelist.input. Thank you



  • namelist.input
    7.9 KB · Views: 69
  • rsl_error_0000.txt
    2.3 MB · Views: 66

I'd search for the stringi "envir stop" in the source code. It might give you a hint on what faied.
Thank you for help. After I compiled with the debug enabled, I got a new error which can tell me the likely reason.

Program received signal SIGFPE: Floating-point exception - erroneous arithmetic operation.

Backtrace for this error:
#0 0x2AAAAEB5A287
#1 0x2AAAAEB5A88E
#2 0x380703269F
#3 0x4CFCDA3 in __mcica_subcol_gen_lw_MOD_generate_stochastic_clouds
#4 0x4D06505 in __mcica_subcol_gen_lw_MOD_mcica_subcol_lw
#5 0x4DC8423 in __module_ra_rrtmg_lw_MOD_rrtmg_lwrad
#6 0x352AAC1 in __module_radiation_driver_MOD_radiation_driver
#7 0x4232620 in __module_first_rk_step_part1_MOD_first_rk_step_part1
#8 0x2D372AC in solve_em_
#9 0x29B3E35 in solve_interface_
#10 0x47BEE2 in __module_integrate_MOD_integrate
#11 0x406D11 in __module_wrf_top_MOD_wrf_run
#12 0x405DF7 in MAIN__ at wrf.f90:0

From the error, It seems that there are some unreasonable data in the input files. Next I need to figure out what are these bad data.

hey zhifeng
i got the same error with biomass emission. can u tell me how did you solve that error?