- 积分
- 47559
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-11-14
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
本帖最后由 lqouc 于 2013-7-3 22:00 编辑
好吧,这个问题在同学的帮助下已经解决了,在这简单说一下,希望对一些朋友能有帮助。
我用的是3.5.1的wrf,其中包含化学版本chem。在编译wrf的时候需要先将环境变量改一下,这个在官网的手册上有,修改之后将解压的chem复制到wrf文件夹下,再进行编译就可以了。步骤可以参照兰溪的指南来操作。
至于我的mpi的问题,其实我的服务器是安装了openmpi的,不是我安的,我也不会。如果使用这个的话configure选择dm的,然后还需要在一开始的configure.wrf里面修改一下。这样就可以用mpirun了。要说serial也可以的,但是貌似有点浪费服务器了,而且据同学说速度差很多,有条件的同学可以尝试。
嗯,我知道的就这样了,有问题的话别问我,我什么都不知道,我是大菜鸟。
最后感谢对本帖回复的热心同学。
运行real.exe的时候出现了如下错误:
[pub@tornado em_real]$ ./real.exe
starting wrf task 0 of 1
[tornado:26600] *** An error occurred in MPI_Bcast
[tornado:26600] *** on communicator MPI_COMM_WORLD
[tornado:26600] *** MPI_ERR_COMM: invalid communicator
[tornado:26600] *** MPI_ERRORS_ARE_FATAL (your MPI job will now abort)
查看rsl.error.0000发现如下记录:
taskid: 0 hostname: tornado
Namelist logging not found in namelist.input. Using registry defaults for variables in logging.
Namelist dfi_control not found in namelist.input. Using registry defaults for variables in dfi_control
Namelist tc not found in namelist.input. Using registry defaults for variables in tc
Namelist noah_mp not found in namelist.input. Using registry defaults for variables in noah_mp
Namelist scm not found in namelist.input. Using registry defaults for variables in scm
Namelist fire not found in namelist.input. Using registry defaults for variables in fire
Namelist diags not found in namelist.input. Using registry defaults for variables in diags
在论坛看过一些类似的错误,但是貌似解决不了我的问题。
下面是我的namelist.input
&time_control
run_days = 0,
run_hours = 06,
run_minutes = 0,
run_seconds = 0,
start_year = 2006, 2006, 2006,
start_month = 08, 08, 08,
start_day = 16, 16, 16,
start_hour = 12, 12, 12,
start_minute = 00, 00, 00,
start_second = 00, 00, 00,
end_year = 2006, 2006, 2006,
end_month = 08, 08, 08,
end_day = 16, 16, 16,
end_hour = 18, 18, 18,
end_minute = 00, 00, 00,
end_second = 00, 00, 00,
interval_seconds = 21600
input_from_file = .true.,.false.,.false.,
fine_input_stream = 0, 0, 0,
history_interval = 180, 60, 60,
frames_per_outfile = 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 = 180,
time_step_fract_num = 0,
time_step_fract_den = 1,
max_dom = 2,
s_we = 1, 1, 1,
e_we = 74, 112, 94,
s_sn = 1, 1, 1,
e_sn = 61, 97, 91,
s_vert = 1, 1, 1,
e_vert = 28, 28, 28,
p_top_requested = 5000,
num_metgrid_levels = 27,
num_metgrid_soil_levels = 4,
dx = 30000, 10000, 3333.33,
dy = 30000, 10000, 3333.33,
grid_id = 1, 2, 3,
parent_id = 0, 1, 2,
i_parent_start = 1, 31, 30,
j_parent_start = 1, 17, 30,
parent_grid_ratio = 1, 3, 3,
parent_time_step_ratio = 1, 3, 3,
feedback = 1,
smooth_option = 0
/
&physics
mp_physics = 3, 3, 3,
ra_lw_physics = 1, 1, 1,
ra_sw_physics = 1, 1, 1,
radt = 30, 30, 30,
sf_sfclay_physics = 1, 1, 1,
sf_surface_physics = 2, 2, 2,
bl_pbl_physics = 1, 1, 1,
bldt = 0, 0, 0,
cu_physics = 1, 1, 0,
cudt = 5, 5, 5,
isfflx = 1,
ifsnow = 1,
icloud = 1,
surface_input_source = 1,
num_soil_layers = 4,
sf_urban_physics = 0, 0, 0,
/
&fdda
/
&dynamics
w_damping = 0,
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,
/
至于wps是怎么运行出来的,还有怎么设置的其实我也不大清楚,就是摸索着混混噩噩的弄到这一步了。
求喷求指导。
补充一个namelist.wps
&share
wrf_core = 'ARW',
max_dom = 2,
start_date = '2006-08-16_12:00:00','2006-08-16_12:00:00',
end_date = '2006-08-16_18:00:00','2006-08-16_12:00:00',
interval_seconds = 21600
io_form_geogrid = 2,
/
&geogrid
parent_id = 1, 1,
parent_grid_ratio = 1, 3,
i_parent_start = 1, 31,
j_parent_start = 1, 17,
e_we = 74, 112,
e_sn = 61, 97,
geog_data_res = '10m','2m',
dx = 30000,
dy = 30000,
map_proj = 'lambert',
ref_lat = 34.83,
ref_lon = -81.03,
truelat1 = 30.0,
truelat2 = 60.0,
stand_lon = -98.0,
geog_data_path = '/home/pub/wrf/WPS/WPS_GEOG/geog'
/
&ungrib
out_format = 'WPS',
prefix = 'FILE',
/
&metgrid
fg_name = 'FILE'
io_form_metgrid = 2,
/
|
|