[Wrf-users] SIGSEGV segmentation fault occurred while running wrf

Eric Altshuler ela at cola.iges.org
Mon Oct 11 13:12:29 MDT 2010


Hello,

I doubt the seg fault is because of not having enough values for diff_6th_opt (missing values will be assigned a default value, which in this case is 0). Seg faults can have many causes, but a common one is insufficient stack size.
Before running WRF, enter the following command depending on your shell:

unlimit stacksize (if you use C shell)

ulimit -s unlimited (if you use bash/Bourne shell)

Then try running wrf.exe again.

Best regards,

Eric L. Altshuler
Assistant Research Scientist
Center for Ocean-Land-Atmosphere Studies
4041 Powder Mill Road, Suite 302
Calverton, MD 20705-3106
USA

E-mail: ela at cola.iges.org
Phone: (301) 902-1257
Fax: (301) 595-9793

----- Original Message -----
From: "Feng Liu" <FLiu at azmag.gov>
To: "jagabandhu panda" <jagabandhu at gmail.com>, "wrfhelp" <wrfhelp at ucar.edu>, wrf-users at ucar.edu
Sent: Monday, October 11, 2010 11:33:49 AM
Subject: Re: [Wrf-users] SIGSEGV segmentation fault occurred while running wrf





Hi, 

The parameter “diff_6th_opt” in the session of &dynamics need to be set for each domain. For your case, it should be: 

diff_6th_opt = 0, 0, 0, 0, 0, 

Thanks. 

Feng 






From: wrf-users-bounces at ucar.edu [mailto:wrf-users-bounces at ucar.edu] On Behalf Of jagabandhu panda 
Sent: Sunday, October 10, 2010 4:05 AM 
To: wrfhelp; wrf-users at ucar.edu 
Subject: [Wrf-users] SIGSEGV segmentation fault occurred while running wrf 



Hi 

I have been trying to run WRF with 5 domains. Even though the real.exe runs successfully, the following errors come for the inner most domain the the mpi run exited. The errors are like as follows: 
-------------------------------------------------------------------------------------------------------------------------------------------- 
forrtl: severe (174): SIGSEGV, segmentation fault occurred 
Image PC Routine Line Source 
wrf.exe 00000000017CA776 Unknown Unknown Unknown 
wrf.exe 00000000017C5596 Unknown Unknown Unknown 
wrf.exe 00000000017C264D Unknown Unknown Unknown 
wrf.exe 00000000017C0BDE Unknown Unknown Unknown 
wrf.exe 000000000130E1E5 Unknown Unknown Unknown 
wrf.exe 0000000001449223 Unknown Unknown Unknown 
wrf.exe 0000000000D94E41 Unknown Unknown Unknown 
wrf.exe 0000000000C1793A Unknown Unknown Unknown 
wrf.exe 00000000004D5D4A Unknown Unknown Unknown 
wrf.exe 00000000004D60CE Unknown Unknown Unknown 
wrf.exe 00000000004D60CE Unknown Unknown Unknown 
wrf.exe 00000000004D60CE Unknown Unknown Unknown 
wrf.exe 00000000004850B5 Unknown Unknown Unknown 
-------------------------------------------------------------------------------------------------------------------------------------- 

For your reference I am sending the namelist options: 

&time_control 
run_days = 0, 
run_hours = 48, 
run_minutes = 0, 
run_seconds = 0, 
start_year = 2008, 2008, 2008, 2008, 2008, 
start_month = 04, 04, 04, 04, 04, 
start_day = 02, 02, 02, 02, 02, 
start_hour = 00, 00, 00, 00, 00, 
start_minute = 00, 00, 00, 00, 00, 
start_second = 00, 00, 00, 00, 00, 
end_year = 2008, 2008, 2008, 2008, 2008, 
end_month = 04, 04, 04, 04, 04, 
end_day = 03, 03, 03, 03, 03, 
end_hour = 00, 00, 00, 00, 00, 
end_minute = 00, 00, 00, 00, 00, 
end_second = 00, 00, 00, 00, 00, 
interval_seconds = 21600, 
input_from_file = .true.,.true.,.true.,.true.,.true., 
history_interval = 180, 60, 60, 60, 60, 
frames_per_outfile = 1000, 1000, 1000, 1000, 1000, 
restart = .false., 
restart_interval = 5000, 
io_form_history = 2, 
io_form_restart = 2, 
io_form_input = 2, 
io_form_boundary = 2, 
debug_level = 0, 
/ 
&domains 
time_step = 90, 
time_step_fract_num = 0, 
time_step_fract_den = 0, 
max_dom = 5, 
e_we = 101, 136, 187, 265, 301, 
e_sn = 107, 145, 199, 283, 301, 
e_vert = 71, 71, 71, 71, 71, 
p_top_requested = 5000.0, 
num_metgrid_levels = 27, 
num_metgrid_soil_levels = 4, 
dx = 27000, 9000, 3000, 1000, 500, 
dy = 27000, 9000, 3000, 1000, 500, 
grid_id = 1, 2, 3, 4, 5, 
parent_id = 1, 1, 2, 3, 4, 
i_parent_start = 1, 27, 36, 50, 56, 
j_parent_start = 1, 31, 41, 61, 51, 
parent_grid_ratio = 1, 3, 3, 3, 2, 
parent_time_step_ratio = 1, 3, 3, 2, 5, 
p_top_requested = 5000 
feedback = 1, 
smooth_option = 1, 
eta_levels = 1.000, 0.9988, 0.9975, 0.9963, 0.995, 
0.9938, 0.9926, 0.9913, 0.9901, 0.9889, 
0.9876, 0.9864, 0.9849, 0.9831, 0.9809, 
0.9783, 0.9752, 0.9715, 0.9672, 0.9622, 
0.9564, 0.9497, 0.9419, 0.9329, 0.9227, 
0.911, 0.8977, 0.8828, 0.8661, 0.8474, 
0.8267, 0.804, 0.7793, 0.7425, 0.7032, 
0.6574, 0.6127, 0.5571, 0.5048, 0.4487, 
0.413, 0.3781, 0.3442, 0.3115, 0.2802, 
0.2505, 0.2225, 0.1961, 0.1792, 0.1692, 
0.1579, 0.1466, 0.1363, 0.1261, 0.1168, 
0.1076, 0.0993, 0.0909, 0.0834, 0.0758, 
0.0691, 0.0623, 0.0562, 0.0501, 0.0392, 
0.0295, 0.0208, 0.0131, 0.0061, 0.003, 
0.000, 
/ 

&physics 
mp_physics = 5, 5, 5, 5, 5, 
ra_lw_physics = 1, 1, 1, 1, 1, 
ra_sw_physics = 1, 1, 1, 1, 1, 
radt = 30 30, 30, 30, 30, 
sf_sfclay_physics = 2, 2, 2, 2, 2, 
sf_surface_physics = 2, 2, 2, 2, 2, 
sf_urban_physics = 0, 0, 0, 0, 0, 
bl_pbl_physics = 2, 2, 2, 2, 2, 
bldt = 0, 0, 0, 0, 0, 
cu_physics = 2, 2, 2, 2, 2, 
cudt = 5, 5, 5, 5, 5, 
isfflx = 1, 
ifsnow = 0, 
icloud = 1, 
surface_input_source = 1, 
num_soil_layers = 4, 
maxiens = 1, 
maxens = 3, 
maxens2 = 3, 
maxens3 = 16, 
ensdim = 144, 
/ 

&fdda 
/ 

&dynamics 
w_damping = 0, 
diff_opt = 1, 
km_opt = 4, 
diff_6th_opt = 0, 
base_temp = 290., 
damp_opt = 3, 
zdamp = 5000., 5000., 5000., 5000., 5000., 
dampcoef = 0.01, 0.01, 0.01, 0.01, 0.01, 
khdif = 0, 0, 0, 0, 0, 
kvdif = 0, 0, 0, 0, 0, 
non_hydrostatic = .true., .true., .true., .true., .true., 
moist_adv_opt = 1, 1, 1, 1, 1, 
scalar_adv_opt = 1, 1, 1, 1, 1, 
/ 

&bdy_control 
spec_bdy_width = 5, 
spec_zone = 1, 
relax_zone = 4, 
specified = .true., .false., .false., .false., .false., 
nested = .false., .true., .true., .true., .true., 
/ 

&grib2 
/ 

&namelist_quilt 
nio_tasks_per_group = 0, 
nio_groups = 1, 
/ 


Please suggest how I can overcome the problem. 
_______________________________________________
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