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

How can I activate WRF Solar in WRF-4.6.1 ?

Ok thank you ,
i'm using a nested domain with 2 domains is it a problem ?
because i've setted my namelist.input file as suggested in the website and real.exe work fine but wrf crash , i've attached the namelist and the rsl.error
 

Attachments

  • namelist.input
    3.9 KB · Views: 3
  • rsl.error.0000
    9.2 KB · Views: 0
Below is an example namelist.input that is used for running WRF-Solar (probably for V4.4). Please take a look and see whether it is helpful.

Code:
 &physics
 mp_physics                          = 8,    8,     8,
 cu_physics                          = 6,    6,     0,
 ra_lw_physics                       = 4,    4,     4,
 ra_sw_physics                       = 4,    4,     4,
 swint_opt                           = 2,
 couple_farms                        = .true.,
 sf_sfclay_physics                   = 1,    1,     1,
 sf_surface_physics                  = 2,    2,     2,
 bl_pbl_physics                      = 5,    5,     5,
 bl_mynn_tkeadvect                   = .true., .true.,
 bl_mynn_edmf                        = 0,     0,     0,
 radt                                = 15,    15,    15,
 bldt                                = 0,     0,     0,
 cudt                                = 5,     5,     5,
 isfflx                              = 1,
 ifsnow                              = 0,
 icloud                              = 1,
 surface_input_source                = 1,
 num_soil_layers                     = 4,
 sf_urban_physics                    = 0,
 aer_opt                             = 3,
 num_land_cat                        = 21,
 
I adapted it for 2 domains like this
&physics
mp_physics = 8, 8,
cu_physics = 6, 6,
ra_lw_physics = 4, 4,
ra_sw_physics = 4, 4,
swint_opt = 2,
couple_farms = .true.,
sf_sfclay_physics = 1, 1,
sf_surface_physics = 2, 2,
bl_pbl_physics = 5, 5,
bl_mynn_tkeadvect = .true., .true.,
bl_mynn_edmf = 0, 0,
radt = 15, 15,
bldt = 0, 0,
cudt = 5, 5,
isfflx = 1,
ifsnow = 0,
icloud = 1,
surface_input_source = 1,
num_soil_layers = 4,
sf_urban_physics = 0,
aer_opt = 3,
num_land_cat = 21,
/

but during the simulation WRF 4.6.1 broke and gave me this error in rsl.error.0000

--- other log before ---
Timing for main: time 2025-05-23_13:00:00 on domain 1: 1.10713 elapsed seconds

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

Backtrace for this error:
#0 0x79cebb623e59 in ???
#1 0x79cebb622e75 in ???
#2 0x79cebb04532f in ???
#3 0x79cebb9cafdb in ???
#4 0x79cebb9cb708 in ???
#5 0x79cebb97558f in ???
 
Your case failed after 13 hours of integration, indicating that something went wrong, possibly in physics.

Can you look at all your RSL files and find all the error messages? Also, please check the wrfout file right before the model crash and see whether you can find unreasonable values. especially NaN ?

If all looks fine, please restart this case using the latest wrfrst file, and save wrfout files at each time step. I suppsoe you can find when and where the first NaN value pops, which may give you some hints what is wrong.
 
Ok but does exists a configuration of physics vaules that allows to use WRF-Solar for 2 domains and not get a segmentation fault error ?
because i've found a configuration that makes run the model but it gives me always segmentation error at the end of the simulation
 
WRF-SOLAR should be able to run over multi-domains. If it failed, there must be something wrong either in dynamics or physics. Error messages saved in rsl files may give us hints what is wrong.
 
Top