断断续续学习wrf大半年了,大多数时候报错也是靠别人写在网上的经验去解决的。因此我也想把我遇到的错误记录下来。
1.报错信息:运行real.exe光速停了,查看rsl报错如下
Domain 3: Current date being processed: 2006-08-01_00:00:00.0000, which is loop # 1 out of 2
configflags%julyr, %julday, %gmt: 2006 213 0.0000000E+00
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE: <stdin> LINE: 401
error opening met_em.d03.2006-08-01_00:00:00.nc for input; bad date in namelist or file not in directory
-------------------------------------------
解决办法:检查namelist.input和namelist.wps里的模拟时间的设置。我这里是尝试模拟1min,运行以后报错,改成1h就正常运行了。
2.报错信息:运行wrf.exe时报错
For domain 1 , the domain size is too small for this many processors, or the decomposition aspect ratio is poor.
Minimum decomposed computational patch size, either x-dir or y-dir, is 10 grid cells.
e_we = 79, nproc_x = 8, with cell width in x-direction = 9
e_sn = 67, nproc_y = 8, with cell width in y-direction = 8
--- ERROR: Reduce the MPI rank count, or redistribute the tasks.
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE: <stdin> LINE: 1982
NOTE: 1 namelist settings are wrong. Please check and reset these options
-------------------------------------------
Abort(1) on node 63 (rank 63 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, 1) - process 63
解决办法:这是由于不同区域网格数差异过大导致的,结局思路1 减少parent_grid_ratio来增加格点数 2 减少并行处理时使用的处理器数量。3可以考虑增加d01的范围,让格点数目增多
具体可参考这个网页:https://forum.mmm.ucar.edu/threads/how-many-processors-should-i-use-to-run-wrf.5082/
3.报错信息:forrtl: severe (66): output statement overflows record, unit -5, file Internal List-Directed Write
好像是因为静态数据少了一个,虽然我设置的default不是缺的这个,但是还是报错了
4 报错信息: Caught signal 11 (Segmentation fault: address not mapped to object at address 0xfffffffe07b1ef40)
解决办法:减少积分步长,我的dx=15km,最开始用的6dx,积分中断,4dx积分中断,2dx积分中断,1dx积分中断。但是我发现积分步长越小报错日志里积分中断时间越靠后,因此我直接用了6,让后就正常积分了。
5 wrf.exe的rsl.out中提示 points exceeded cfl=2
Tile Strategy is not specified. Assuming 1D-Y
WRF TILE 1 IS 334 IE 499 JS 159 JE 237
WRF NUMBER OF TILES = 1
d03 2006-08-01_00:00:09+03/05 5 points exceeded cfl=2 in domain d03 at time 2006-08-01_00:00:09+03/05 hours
d03 2006-08-01_00:00:09+03/05 MAX AT i,j,k: 428 225 3 vert_cfl,w,d(eta)= 4.125448 131.6176 9.9363923E-03
d03 2006-08-01_00:00:12 14 points exceeded cfl=2 in domain d03 at time 2006-08-01_00:00:12 hours
d03 2006-08-01_00:00:12 MAX AT i,j,k: 428 224 3 vert_cfl,w,d(eta)= 4.680962 -417.0623 9.9363923E-03
d03 2006-08-01_00:00:12 17 points exceeded cfl=2 in domain d03 at time 2006-08-01_00:00:12 hours
d03 2006-08-01_00:00:12 MAX AT i,j,k: 428 225 5 vert_cfl,w,d(eta)= 6.853472 335.9621 1.5464425E-02
d03 2006-08-01_00:00:12 1 points exceeded cfl=2 in domain d03 at time 2006-08-01_00:00:12 hours
d03 2006-08-01_00:00:12 MAX AT i,j,k: 428 228 2 vert_cfl,w,d(eta)= 2.279288 50.50326 7.8640580E-03
解决办法:这部分信息并不是报错信息