[Wrf-users] SIGSEGV: Segmentation fault - invalid memory reference.

Nicholas DeCicco decicco1 at go.stockton.edu
Thu May 28 09:41:24 MDT 2015


Hi Mauro,

This is actually a bug that I've noticed has caused issues for other 
users on the forums, and one that I've spent a fair amount of time 
looking into. My experience with this bug was that the issue seemed to 
be related to making the edges of child domains too close to that of 
their parents. I find it curious that you say that the model runs for a 
whole hour and a half before it crashes; it should be (if the model is 
crashing for the same reason) that it crashes the moment it enters the 
cumulus eta physics code.

Would you mind sharing your namelist.wps? This would help me in 
determining what the cause of the bug is. I should note that I find this 
interesting as you are using the ARW ("em") core, as evidenced by the 
call stack at the time of the crash; I was able to reproduce this bug 
using the NMM core. (So something unrelated to either core is likely at 
fault here.)

Regards,

Nicholas DeCicco
Undergraduate student researcher
Stockton University
Pomona, NJ

On 5/28/15 6:33 AM, Mauro Cassani wrote:
>
> Hi guys,
>
> please help me!!!....
>
> I have a problem running wrf.exe .
>
> I paste the final lines of rsl.error.0000:
>
>
> *CODE:**SELECT ALL 
> <http://forum.wrfforum.com/viewtopic.php?f=6&t=8939&sid=807f498f6e4e6ccd519face8b1f770a4>***
>
> |d03 2015-05-18_06:21:36            2  points exceeded cfl=2 in domain 
> d03 at time 2015-05-18_06:21:36 hours|
> |d03 2015-05-18_06:21:36  MAX AT i,j,k:          145   40          26  
> vert_cfl,w,d(eta)=   2.02072406  2.35066104       1.49673410E-02|
> |d03 2015-05-18_06:21:36          334  points exceeded cfl=2 in domain 
> d03 at time 2015-05-18_06:21:36 hours|
> |d03 2015-05-18_06:21:36  MAX AT i,j,k:           29    1          25  
> vert_cfl,w,d(eta)=   6.90812683  4.85791969       1.75897405E-02|
> |d03 2015-05-18_06:21:36            4  points exceeded cfl=2 in domain 
> d03 at time 2015-05-18_06:21:36 hours|
> |d03 2015-05-18_06:21:36  MAX AT i,j,k:           15  110          20  
> vert_cfl,w,d(eta)=   2.10974669 0.502937138       3.59381437E-02|
> |Timing for main: time 2015-05-18_06:22:12 on domain   3:    3.43887 
> elapsed seconds|
> |d03 2015-05-18_06:22:12          198  points exceeded cfl=2 in domain 
> d03 at time 2015-05-18_06:22:12 hours|
> |d03 2015-05-18_06:22:12  MAX AT i,j,k:           27    3          25  
> vert_cfl,w,d(eta)=   17.0072193  179.645950       1.75897405E-02|
> |d03 2015-05-18_06:22:12          317  points exceeded cfl=2 in domain 
> d03 at time 2015-05-18_06:22:12 hours|
> |d03 2015-05-18_06:22:12  MAX AT i,j,k:           27    2          24  
> vert_cfl,w,d(eta)=   71.1212082  620.884277       2.06716061E-02|
> |Timing for main: time 2015-05-18_06:22:48 on domain   3:    3.37094 
> elapsed seconds|
>
> |Program received signal SIGSEGV: Segmentation fault - invalid memory 
> reference.|
>
> |Backtrace for this error:|
> |#0  0x7F0302F220F7|
> |#1  0x7F0302F226D4|
> |#2  0x7F030266D49F|
> |#3  0x25AF54C in __module_cu_kfeta_MOD_kf_eta_para|
> |#4  0x25CCE9C in __module_cu_kfeta_MOD_kf_eta_cps|
> |#5  0x1E9D07F in __module_cumulus_driver_MOD_cumulus_driver|
> |#6  0x16BB31F in __module_first_rk_step_part1_MOD_first_rk_step_part1|
> |#7  0x10A1E9F in solve_em_|
> |#8  0xF9D005 in solve_interface_|
> |#9  0x467BEA in __module_integrate_MOD_integrate|
> |#10  0x468021 in __module_integrate_MOD_integrate|
> |#11  0x4060A3 in __module_wrf_top_MOD_wrf_run|
>
>
>
> This is my namelist.input:
>
>
> *CODE:**SELECT ALL 
> <http://forum.wrfforum.com/viewtopic.php?f=6&t=8939&sid=807f498f6e4e6ccd519face8b1f770a4>***
>
> | &time_control|
> | run_days                   = 0,|
> | run_hours                  = 18,|
> | run_minutes                  = 0,|
> | run_seconds                  = 0,|
> | start_year                   = 2015,2015,2015,|
> | start_month                  = 05,05,05,|
> | start_day                  = 18,18,18,|
> | start_hour                   = 00,00,00,|
> | start_minute                   = 00,00,00,|
> | start_second                   = 00,00,00,|
> | end_year                   = 2015,2015,2015,|
> | end_month                  = 05,05,05,|
> | end_day                  = 20,20,20,|
> | end_hour                   = 00,00,00,|
> | end_minute                   = 00,00,00,|
> | end_second                   = 00,00,00,|
> | end_second                   = 00,00,00,|
> | input_from_file                  = .true., .true., .true.,|
> | history_interval                   = 60,60,60,|
> | frames_per_outfile                 = 1, 1, 1,|
> | restart                  = .false.,|
> | restart_interval                   = 5000,|
> | io_form_history                  = 2|
> | io_form_restart                  = 2|
> | io_form_input                  = 2|
> | io_form_boundary                   = 2|
> | debug_level                  = 0|
> | history_outname                  = "./wrf_out/wrfout_d<domain>.<date>",|
> | auxinput1_inname                   = 
> "../wps_work/metgrid_out/met_em.d<domain>.<date>"|
> | /|
>
> | &domains |
> | time_step       = 180,|
> | time_step_fract_num     = 0,|
> | time_step_fract_den     = 1,|
> | max_dom       = 3,|
> | e_we        = 40,    146,      146,|
> | e_sn        = 62,    146,      111,|
> | e_vert        = 30,     30,       30,|
> | p_top_requested       = 5000,|
> | num_metgrid_levels      = 27,|
> | num_metgrid_soil_levels = 4,|
> | dx        = 10000,  2000.,   2000.,|
> | dy        = 10000,  2000.,   2000.,|
> | grid_id       = 1,        2,       3,|
> | parent_id       = 0,        1,       1,|
> | i_parent_start        = 1,        6,       6,|
> | j_parent_start        = 1,        6,      35,|
> | parent_grid_ratio       = 1,        5,       5,|
> | parent_time_step_ratio  = 1,        5,       5,|
> | feedback        = 1,|
> | smooth_option       = 0,|
> | numtiles        = 12,|
> | /|
>
> | &physics|
> | mp_physics                   = 4,4,4,|
> | ra_lw_physics                  = 1,1,1,|
> | ra_sw_physics                  = 1,1,1,|
> | radt                   = 10,10,10,|
> | sf_sfclay_physics                  = 2,2,2,|
> | sf_surface_physics                 = 2,2,2,|
> | bl_pbl_physics                   = 2,2,2,|
> | bldt                   = 0,0,0,|
> | cu_physics                   = 1,1,1,|
> | cudt                   = 0,0,0,|
> | cugd_avedx                   = 3,|
> | isfflx                   = 1,|
> | ifsnow                   = 0,|
> | icloud                   = 1,|
> | surface_input_source               = 1,|
> | num_soil_layers                  = 4,|
> | sf_urban_physics                   = 0,|
> | maxiens                  = 1,|
> | maxens                   = 3,|
> | maxens2                  = 3,|
> | maxens3                  = 16,|
> | ensdim                   = 144,|
> | /|
>
> | &fdda|
> | /|
>
> | &dynamics|
> | w_damping                  = 1,|
> | diff_opt                   = 1,|
> | km_opt                   = 4,|
> | diff_6th_opt                   = 0,0,0,|
> | diff_6th_factor                  = 0.12,0.12,0.12,|
> | base_temp                  = 290.,|
> | damp_opt                   = 0,|
> | zdamp                  = 5000.,5000.,5000.,|
> | dampcoef                   = 0.2,0.2,0.2,|
> | khdif                  = 0,0,0,|
> | kvdif                  = 0,0,0,|
> | non_hydrostatic                  = .true.,.true.,.true.,|
> | moist_adv_opt                  = 1,1,1,|
> | scalar_adv_opt                   = 1,1,1,|
> | /|
>
> | &bdy_control|
> | spec_bdy_width                   = 5,|
> | spec_zone                  = 1,|
> | relax_zone                   = 4,|
> | specified                  = .true.,.false.,.false.,|
> | nested                   = .false., .true., .true.,|
> | /|
>
> | &grib2|
> | /|
>
> | &namelist_quilt|
> | nio_tasks_per_group = 0,|
> | nio_groups = 1,|
> | /|
>
>
>
> I tried changing the value of timestep...I tried with 36, 60 and 180. 
> The result is the same: after 1 hour and one-half the wrf crashes.
>
> I tried to remove the nested domains and run wrf.exe with only the 
> main domain: everything works fine.
>
> Any ideas?...PLEASE HELP MEEE
>
> Thank you in advance guys...
>
>
>
> _______________________________________________
> Wrf-users mailing list
> Wrf-users at ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/wrf-users



More information about the Wrf-users mailing list