爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 8623|回复: 14

WRF4DVAR编译问题

[复制链接]
发表于 2015-9-8 05:58:24 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
有没有人遇到过WRFDA_3DVAR可以编译出da_wrfvar,但是使用4dvar模式就编译不出da_wrfvar.exe这个一般是什么问题
密码修改失败请联系微信:mofangbao
发表于 2015-12-13 16:38:38 | 显示全部楼层
请问楼主解决了吗?我现在也遇到了这个问题。先谢谢楼主了~~
密码修改失败请联系微信:mofangbao
发表于 2015-12-13 19:36:34 | 显示全部楼层
看是不是这个问题 “If you intend to run WRF 4D-Var, it is necessary to have WRFPLUS installed. WRF-
PLUS contains the adjoint and tangent linear models based on a simplified WRF model,
which includes a few simplified physics packages, such as surface drag, large scale con-
densation and precipitation, and cumulus parameterization.”
密码修改失败请联系微信:mofangbao
发表于 2015-12-14 09:47:34 | 显示全部楼层
淡水河 发表于 2015-12-13 19:36
看是不是这个问题 “If you intend to run WRF 4D-Var, it is necessary to have WRFPLUS installed. WRF-
...

4DVAR的编译就是在WRFPLUS里编译吧
密码修改失败请联系微信:mofangbao
发表于 2015-12-14 09:56:02 | 显示全部楼层
两米阳光 发表于 2015-12-14 09:47
4DVAR的编译就是在WRFPLUS里编译吧

编译完WRFPLUS 后再编译WRFDA
密码修改失败请联系微信:mofangbao
发表于 2015-12-14 09:57:44 | 显示全部楼层
两米阳光 发表于 2015-12-14 09:47
4DVAR的编译就是在WRFPLUS里编译吧

Installing WRFPLUS and WRFDA for 4D-Var Run
If you intend to run WRF 4D-Var, it is necessary to have WRFPLUS installed. WRF-
PLUS contains the adjoint and tangent linear models based on a simplified WRF model,
which includes a few simplified physics packages, such as surface drag, large scale con-
densation and precipitation, and cumulus parameterization.
To install WRFPLUS:
• Get the WRFPLUS zipped tar file from
http://www2.mmm.ucar.edu/wrf/users/wrfda/download/wrfplus.html
• Unzip and untar the WRFPLUS file, then run the  configure script
> gunzip WRFPLUSV3.6_r7153.tar.gz
WRFDA
WRF-ARW V3: User’s Guide  6-9
> tar -xf WRFPLUSV3.6_r7153.tar
> cd WRFPLUSV3
> ./configure wrfplus
As with 3D-Var, “serial” means single-processor, and “dmpar” means Distributed
Memory Parallel (MPI). Be sure to select the same option for WRFPLUS as you will
use for WRFDA.
• Compile WRFPLUS
> ./compile em_real  >& compile.out
> ls -ls main/*.exe
You should see the following files:
-rwxr-xr-x 1 user users 23179920 Apr 3 15:22 main/ndown.exe
-rwxr-xr-x 1 user users 22947466 Apr 3 15:22 main/nup.exe
-rwxr-xr-x 1 user users 23113961 Apr 3 15:22 main/real.exe
-rwxr-xr-x 1 user users 22991725 Apr 3 15:22 main/tc.exe
-rwxr-xr-x 1 user users 32785447 Apr 3 15:20 main/wrf.exe
Finally, set the environment variable  WRFPLUS_DIR to the appropriate directory:
>setenv WRFPLUS_DIR ${your_source_code_dir}/WRFPLUSV3
To install WRFDA for the 4D-Var run:
• If you intend to use observational data in BUFR or PREPBUFR format, or if you
intend to assimilate satellite radiance data, you need to set environment variables
for BUFR, CRTM, and/or RTTOV. See the previous 3D-Var section for instruc-
tions.
>./configure 4dvar
>./compile all_wrfvar >& compile.out
>ls -ls var/build/*.exe var/obsproc/*.exe
You should see the same 44 executables as are listed in the above 3D-Var section,
including  da_wrfvar.exe
密码修改失败请联系微信:mofangbao
发表于 2015-12-14 10:18:10 | 显示全部楼层
淡水河 发表于 2015-12-14 09:57
Installing WRFPLUS and WRFDA for 4D-Var Run
If you intend to run WRF 4D-Var, it is necessary to h ...

这部分难道是在和3DVAR一样的那个WRFDA里进行编译的,只有./confugure wrfplus 和./compile em_real是在WRFPLUSV3下进行的?非常感谢您
密码修改失败请联系微信:mofangbao
发表于 2015-12-14 10:18:29 | 显示全部楼层
本帖最后由 两米阳光 于 2015-12-14 10:22 编辑
淡水河 发表于 2015-12-14 09:57
Installing WRFPLUS and WRFDA for 4D-Var Run
If you intend to run WRF 4D-Var, it is necessary to h ...

我已编译过3DVAR了,会影响4DVAR吗?它俩应该是两个不同的目录对吗
密码修改失败请联系微信:mofangbao
发表于 2015-12-14 10:50:25 | 显示全部楼层
两米阳光 发表于 2015-12-14 10:18
我已编译过3DVAR了,会影响4DVAR吗?它俩应该是两个不同的目录对吗

不影响  可以同时存在
密码修改失败请联系微信:mofangbao
发表于 2015-12-14 11:27:52 | 显示全部楼层
影响的,4DVAR的da_wrfvar.exe会把3DVAR的覆盖掉
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表