- 积分
- 53
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2022-4-27
- 最后登录
- 1970-1-1
|
20金钱
本帖最后由 dingyc 于 2023-11-21 19:20 编辑
在本地用VMware的Ubuntu16搭建了一个wrfv3.9.1,运行过一些小的区域没什么问题,后面直接将vmdk文件迁移到了另一台计算机上,并且调整了一些资源配置(运存32G,16核),将新的模拟区域输入进去计算时发现计算速度慢的夸张,四重嵌套格点距27,9,3,1km,格点数前三层大约就265*265这种水平,最后一层109*70,纵向42层,时间步长尝试了60和90区别不大。现在大约是算两个小时才能出一个多小时的结果的那种,按照之前在超算上运行的经验来看不可能这么慢的,想请问一下可能是哪里出了问题呢
在超算上运行了一下,同样的设置,16核大约2小时跑完了一天
下面是我的namelist设置
编辑一下,已经解决了,尝试了一下16,4,1核跑发现速度差不多,推测是并行没生效,可能是编译选择的不对,clean -a后重新编译选了一下选项,再次运行就OK了
&time_control
run_days = 0,run_hours = 24,run_minutes = 0,run_seconds = 0,start_year = 2023, 2023, 2023, 2023,start_month = 11, 11, 11, 11,start_day = 15, 15, 15, 15,start_hour = 00, 00, 00, 00,start_minute = 00, 00, 00, 00,start_second = 00,
00, 00, 00,end_year = 2023, 2023, 2023, 2023,end_month = 11, 11, 11, 11,end_day = 16, 16, 16, 16,end_hour = 00, 00, 00, 00,end_minute = 00, 00, 00, 00,end_second = 00, 00, 00, 00,interval_seconds = 10800,input_from_file = .true., .true., .true., .true.,history_interval = 180, 60, 60, 60,frames_per_outfile = 1000,
1000, 1000, 1000,重新启动 = .false.,restart_interval = 5000,io_form_history = 2,io_form_restart = 2,io_form_input = 2,io_form_boundary = 2,debug_level = 0,/
&域
time_step = 90,time_step_fract_num = 0,time_step_fract_den = 1,max_dom = 1,e_we = 259, 337, 337, 109,
e_sn = 262、208、226、70,e_vert = 40、40、40、40,p_top_requested = 5000,num_metgrid_levels = 42,num_metgrid_soil_levels = 4,dx = 27000、9000、3000、1000,dy = 27000、9000、3000、1000,grid_id = 1、2、3、4,parent_id = 0、1、2、3,i_parent_start = 1、74、113、151,j_parent_start = 1,
97, 67, 102,parent_grid_ratio = 1, 3, 3, 3,parent_time_step_ratio = 1, 3, 3, 3,反馈 = 1,smooth_option = 0,/
&物理
mp_physics = 3, 3, 3, 3,ra_lw_physics = 1, 1, 1, 1,1,ra_sw_physics = 1, 1, 1, 1,radt = 30, 30, 30, 30,sf_sfclay_physics = 1, 1,
1,
1,sf_surface_physics
= 2, 2, 2, 2,bl_pbl_physics = 1, 1, 1, 1,bldt = 0, 0, 0, 0,cu_physics = 1, 1, 0, 0,cudt = 5, 5, 5, 5,5,isfflx = 1,ifsnow = 0,icloud = 1,surface_input_source = 1,num_soil_layers = 4,sf_urban_physics = 0, 0, 0,
0,maxiens = 1,maxens = 3,
maxens2 = 3,maxens3 = 16,ensdim = 144,/&fdda
/
&动态
w_damping = 0,diff_opt = 1,km_opt = 4,diff_6th_opt = 0, 0, 0, 0,diff_6th_factor = 0.12, 0.12, 0.12, 0.12,base_temp = 290.,damp_opt = 0,zdamp = 5000., 5000., 5000., 5000.,dampcoef = 0.2,
0.2, 0.2, 0.2,khdif = 0, 0, 0, 0,kvdif = 0, 0, 0, 0,non_hydrostatic = .true., .true., .true., .ture.,moist_adv_opt = 1, 1,
1, 1,scalar_adv_opt = 1, 1, 1, 1,/
&bdy_control
spec_bdy_width = 5,spec_zone = 1,relax_zone = 4,specified = .true., .false., .false., .false.,嵌套 = .false., .true., .true., .true.,/&grib2
/
&namelist_quilt
nio_tasks_per_group = 0,
nio_groups = 1,
/
|
|