云题海 - 专业文章范例文档资料分享平台

当前位置:首页 > wrf安装摘要

wrf安装摘要

  • 62 次阅读
  • 3 次下载
  • 2025/12/3 3:01:02

20. Linux x86_64 i486 i586 i686, ifort compiler with icc, SGI MPT (dm+sm)

21. Linux i486 i586 i686 x86_64, PathScale compiler with pathcc (serial)

22. Linux i486 i586 i686 x86_64, PathScale compiler with pathcc (dmpar)

23. x86_64 Linux, gfortran compiler with gcc (serial) 24. x86_64 Linux, gfortran compiler with gcc (smpar) 25. x86_64 Linux, gfortran compiler with gcc (dmpar) 26. x86_64 Linux, gfortran compiler with gcc (dm+sm)

27. Cray XT CLE/Linux x86_64, PGI compiler with gcc (serial) 28. Cray XT CLE/Linux x86_64, PGI compiler with gcc (smpar) 29. Cray XT CLE/Linux x86_64, PGI compiler with gcc (dmpar) 30. Cray XT CLE/Linux x86_64, PGI compiler with gcc (dm+sm)

31. Cray XT CLE/Linux x86_64, Cray CCE compiler with gcc (serial) 32. Cray XT CLE/Linux x86_64, Cray CCE compiler with gcc (smpar) 33. Cray XT CLE/Linux x86_64, Cray CCE compiler with gcc (dmpar) 34. Cray XT CLE/Linux x86_64, Cray CCE compiler with gcc (dm+sm)

Enter selection [1-34] :15

------------------------------------------------------------------------

Compile for nesting? (1=basic, 2=preset moves, 3=vortex following) [default 1]: 1

Configuration successful. To build the model type compile .

编译WRF: ? ?

./compile em_real 2>&1|tee c.log ./compile em_real 2>&1|tee –a c.log (执行两遍,第一遍无法生成real.exe) 编译成功后,会在main/目录下有real.exe和wrf.exe等可执行文件,如果没有生成,请检查c.log日志文件排错。

? ls main/*.exe

main/ndown.exe main/nup.exe main/real.exe main/tc.exe main/wrf.exe

注意的问题(史小康添加):

>OpenMPI'smpicc doesn't support the -cc flag so it just passes it to >pgcc, which doesn't support it either. The easy way to fix it is > recompiling OpenMPI with gcc and pgf >

> ./configure CC=gcc CXX=g++ F77=pgf... FC=pgf... ... >

> After that, edit the WRF configure.wrf and remove every instance of > -cc=${SOMEVAR} I think there should be two, but I don't have access to >mine at the moment to tell you the exact names.

3.1.3 安装WPS

确保NETCDF、JASPERINC、JASPERLIB、NCARG_ROOT等环境变量设置正确,见上述WRF安装步骤。

解压WPS压缩源码包: ? ? ?

cd ${WRF_HOME}

tar zxvf/public/sourcecode/wrf341/WPSV3.4.1.TAR.gz cd WPS

执行configure设置编译环境,选择第19项ifort/icc/dmpar

Will use NETCDF in dir: /public/software/netcdf

Found Jasper environment variables for GRIB2 support... $JASPERLIB = /public/software/jasper/lib

$JASPERINC = /public/software/jasper/include

------------------------------------------------------------------------

Please select from among the following supported platforms.

1. Linux x86_64, gfortran (serial)

2. Linux x86_64, gfortran (serial_NO_GRIB2) 3. Linux x86_64, gfortran (dmpar)

4. Linux x86_64, gfortran (dmpar_NO_GRIB2) 5. Linux x86_64, PGI compiler (serial)

6. Linux x86_64, PGI compiler (serial_NO_GRIB2) 7. Linux x86_64, PGI compiler (dmpar)

8. Linux x86_64, PGI compiler (dmpar_NO_GRIB2) 9. Linux x86_64, PGI compiler, SGI MPT (serial)

10. Linux x86_64, PGI compiler, SGI MPT (serial_NO_GRIB2) 11. Linux x86_64, PGI compiler, SGI MPT (dmpar)

12. Linux x86_64, PGI compiler, SGI MPT (dmpar_NO_GRIB2) 13. Linux x86_64, IA64 and Opteron (serial)

14. Linux x86_64, IA64 and Opteron (serial_NO_GRIB2) 15. Linux x86_64, IA64 and Opteron (dmpar)

16. Linux x86_64, IA64 and Opteron (dmpar_NO_GRIB2) 17. Linux x86_64, Intel compiler (serial)

18. Linux x86_64, Intel compiler (serial_NO_GRIB2) 19. Linux x86_64, Intel compiler (dmpar)

20. Linux x86_64, Intel compiler (dmpar_NO_GRIB2) 21. Linux x86_64 g95 compiler (serial)

22. Linux x86_64 g95 compiler (serial_NO_GRIB2) 23. Linux x86_64 g95 compiler (dmpar)

24. Linux x86_64 g95 compiler (dmpar_NO_GRIB2)

25. Cray XT/XE Linux x86_64 (Opteron), PGI compiler 5.2 or higher (serial)

26. Cray XT/XE Linux x86_64 (Opteron), PGI compiler 5.2 or higher (serial_NO_GRIB2)

27. Cray XT/XE Linux x86_64 (Opteron), PGI compiler 5.2 or higher (dmpar)

28. Cray XT/XE Linux x86_64 (Opteron), PGI compiler 5.2 or higher (dmpar_NO_GRIB2)

29. Cray XT/XE Linux x86_64 (Opteron), Cray CCE compiler 7.0 or higher (dmpar)

30. Cray XT/XE Linux x86_64 (Opteron), Cray CCE compiler 7.0 or higher (dmpar_NO_GRIB2)

Enter selection [1-30] :19

------------------------------------------------------------------------

Configuration successful. To build the WPS, type: compile

修改configure.wps第18行,添加-lgfortran –lcairo,如下所示:

18 NCARG_LIBS = -L$(NCARG_ROOT)/lib -lncarg -lncarg_gks -lncarg_c-lgfortran -lcairo \\

编译WPS: ?

./compile 2>&1|tee c.log

编译成功后,在WPS目录下会生成geogrid.exe、ungrib.exe或metgrid.exe三个可执行文件,如果没有生成,请检查c.log日志文件排错。

3.1.4 安装ARWpost

解压ARWpost压缩源码包: ? ? ?

cd ${WRF_HOME}

tar zxvf /public/sourcecode/wrf341/ARWpost_V3.tar.gz cd ARWpost

确保NETCDF路径设置正确,然后执行configure选择编译环境:

? ./configure

Will use NETCDF in dir: /public/software/netcdf

------------------------------------------------------------------------

Please select from among the following supported platforms.

1. PC Linux i486 i586 i686 x86_64, PGI compiler 2. PC Linux i486 i586 i686 x86_64, Intel compiler 3. PC Linux i486 i586 i686 x86_64, gfortran compiler

Enter selection [1-3] :2

------------------------------------------------------------------------

Configuration successful. To build the ARWpost, type: compile

执行compile编译ARWpost: ?

./compile

编译成功后在当前目录生成ARWpost.exe可执行程序。

3.1.5 安装RIP4

解压RIP4压缩源码包: ? ? ?

cd ${WRF_HOME}

tar zxvf /public/sourcecode/wrf341/RIP4.tar.gz cd RIP4

确保NETCDF路径设置正确,然后执行configure选择编译环境:

? ./configure

Will use NETCDF in dir: /public/software/netcdf

------------------------------------------------------------------------

Please select from among the following supported platforms.

1. PC Linux i486 i586 i686 x86_64, PGI compiler 2. PC Linux i486 i586 i686 x86_64, g95 compiler

3. PC Linux i486 i586 i686 x86_64, gfortran compiler

搜索更多关于: wrf安装摘要 的文档
  • 收藏
  • 违规举报
  • 版权认领
下载文档10.00 元 加入VIP免费下载
推荐下载
本文作者:...

共分享92篇相关文档

文档简介:

20. Linux x86_64 i486 i586 i686, ifort compiler with icc, SGI MPT (dm+sm) 21. Linux i486 i586 i686 x86_64, PathScale compiler with pathcc (serial) 22. Linux i486 i586 i686 x86_64, PathScale compiler with pathcc (dmpar) 23. x86_64 Linux, gfortran compiler with gcc (serial) 24. x86_64 Linux, gfortran compiler with gcc (smpar) 25. x86_64 Linux, gfortra

× 游客快捷下载通道(下载后可以自由复制和排版)
单篇付费下载
限时特价:10 元/份 原价:20元
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219
Copyright © 云题海 All Rights Reserved. 苏ICP备16052595号-3 网站地图 客服QQ:370150219 邮箱:370150219@qq.com