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

Problem with radiation scheme at high resolution over complex terrain

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.


New member
Hi all,

I am a new user of WRF and I am trying to run Version 4.1 for 72 hours over a complex mountainous terrain with steep surface gradients. The horizontal domain used for the simulations is composed of 3 nested domains. The two outer domains have a grid spacing of 9 and 3 km, while simulations in the innermost domain are performed with 1 km resolution. As to the vertical resolution, 66 levels are used. Initial and boundary conditions are supplied by the 6-hourly European Centre for Medium-range Weather Forecasting (ECMWF) ERA5 reanalysis. To model the cloud microphysics I am using the Morrison two-moment scheme (mp_physics = 10), while the short-wave and long-wave radiation are parameterized in the model using the rrtmg scheme (ra_sw/lw_physics = 4). The problem is that the model crashes almost immediately when it calls the LW radiation routine for the 1-km resolution domain. I get the following error message:

d03 2014-01-31_00:03:00 call radiation_driver
d03 2014-01-31_00:03:00 Top of Radiation Driver
d03 2014-01-31_00:03:00 CALL cldfra1
d03 2014-01-31_00:03:00 in rad driver; use BL clouds
d03 2014-01-31_00:03:00 CALL rrtmg_lw

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

Model and radiation time-steps are pretty small. I did several attempts selecting different combinations of SW and LW radiation schemes but I didn't manage to fix this issue. I also tried to run the same set-up but with 2 nested domains and it works.

I would like to ask if someone has experienced a similar error before. Any ideas or tips on how to resolve this would be great.

I hereby attach the namelist.input and namelist.wps as well as rsl.error.0000 and rsl.out.0000 for your review.

Thank you in advance.


  • namelist.input
    8.3 KB · Views: 68
  • namelist.wps
    1.6 KB · Views: 53
  • rsl.error.0000.txt
    2.6 MB · Views: 66
  • rsl.out.0000.txt
    3.3 MB · Views: 60
Hi Vivi,
Can you package all of your rsl.* files together into a single *.TAR file and attach that so that I can take a look? Thanks!
Here is the .tar file including the rsl output and error files. Thank you for your time!


  • output.tar
    161.5 MB · Views: 59
In your rsl* files, there are many CFL errors, meaning the run has become unstable. This is typically due to steep or complex terrain. Take a look at this FAQ ( that describes some ways to overcome this type of error.