爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 8034|回复: 9

WRF新手求助编译错误

[复制链接]

新浪微博达人勋

发表于 2016-6-21 22:07:47 | 显示全部楼层 |阅读模式

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

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

x
安装好wrf 后出现下面的提示:
Settings listed above are written to configure.wrf.
If you wish to change settings, please edit that file.
If you wish to change the default options, edit the file:
     arch/configure_new.defaults
NetCDF users note:
This installation of NetCDF supports large file support.  To enable large file
support in NetCDF, set the environment variable WRFIO_NCD_LARGE_FILE_SUPPORT
to 1 and run configure again. Set to any other value to avoid this message.



************************** W A R N I N G ************************************

There are some Fortran 2003 features in WRF that your compiler does not recognize
The IEEE signaling call has been removed.  That may not be enough.

*****************************************************************************


************************** W A R N I N G ************************************

There are some Fortran 2003 features in WRF that your compiler does not recognize
The routines that utilize ISO_C support have been stubbed out.
That may not be enough.

*****************************************************************************


************************** W A R N I N G ************************************

There are some Fortran 2003 features in WRF that your compiler does not recognize
The standard FLUSH routine has been stubbed out.
That may not be enough.

*****************************************************************************

不知道是否安装成功?

编译时出现错误

Compiling: WRF_EM_CORE  

Linux dellr710 2.6.32-279.2.1.el6.x86_64 #1 SMP Fri Jul 20 01:55:29 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

pgf90: Command not found.

==============================================================================================

setting parallel make -j 2

==============================================================================================

The following indicate the compilers selected to build the WRF system

Serial Fortran compiler (mostly for tool generation):
which SFC
which: no pgf90 in (/snfs01/david/Li/Build_WRF/LIBRARIES/mpich/bin:/snfs01/david/Li/Build_WRF/LIBRARIES/mpich/bin:/snfs01/david/Li/Build_WRF/LIBRARIES/netcdf/bin:/cm/share/impi/intel64/bin:/cm/share/intel/Compiler/11.1/073/bin/intel64:/cm/shared/apps/gcc/4.7.0/bin:/usr/lib64/qt-3.3/bin:/opt/intel/Compiler/11.1/073/bin/intel64:/opt/intel/Compiler/11.1/073/bin/intel64:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/bin:/sbin:/usr/sbin:/cm/shared/apps/sge/2011.11/bin/linux-x64:/snfs01/david/bin:/cm/shared/ncl_ncarg-6.0.0/bin:/snfs01/david/bin:/cm/shared/grads-2.0.1/bin)
make: *** [configcheck] Error 1

不知道什么原因?该如何解决?
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-6-22 09:01:37 | 显示全部楼层
PGI的环境变量设置了吗?这个报错代表PGI没找到
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-6-22 09:06:51 | 显示全部楼层
configure的warning可以不用管,没什么问题,你编译时候的看信息Fortran编译器不合适
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2016-6-22 17:33:00 | 显示全部楼层
网络小丁丁 发表于 2016-6-22 09:01
PGI的环境变量设置了吗?这个报错代表PGI没找到

好像是系统选择的问题:
------------------------------------------------------------------------
Please select from among the following Linux x86_64 options:

  1. (serial)   2. (smpar)   3. (dmpar)   4. (dm+sm)   PGI (pgf90/gcc)
  5. (serial)   6. (smpar)   7. (dmpar)   8. (dm+sm)   PGI (pgf90/pgcc): SGI MPT
  9. (serial)  10. (smpar)  11. (dmpar)  12. (dm+sm)   PGI (pgf90/gcc): PGI accelerator
13. (serial)  14. (smpar)  15. (dmpar)  16. (dm+sm)   INTEL (ifort/icc)
                                         17. (dm+sm)   INTEL (ifort/icc): Xeon Phi (MIC architecture)
18. (serial)  19. (smpar)  20. (dmpar)  21. (dm+sm)   INTEL (ifort/icc): Xeon (SNB with AVX mods)
22. (serial)  23. (smpar)  24. (dmpar)  25. (dm+sm)   INTEL (ifort/icc): SGI MPT
26. (serial)  27. (smpar)  28. (dmpar)  29. (dm+sm)   INTEL (ifort/icc): IBM POE
30. (serial)               31. (dmpar)                PATHSCALE (pathf90/pathcc)
32. (serial)  33. (smpar)  34. (dmpar)  35. (dm+sm)   GNU (gfortran/gcc)
36. (serial)  37. (smpar)  38. (dmpar)  39. (dm+sm)   IBM (xlf90_r/cc_r)
40. (serial)  41. (smpar)  42. (dmpar)  43. (dm+sm)   PGI (ftn/gcc): Cray XC CLE
44. (serial)  45. (smpar)  46. (dmpar)  47. (dm+sm)   CRAY CCE (ftn/cc): Cray XE and XC
48. (serial)  49. (smpar)  50. (dmpar)  51. (dm+sm)   INTEL (ftn/icc): Cray XC
52. (serial)  53. (smpar)  54. (dmpar)  55. (dm+sm)   PGI (pgf90/pgcc)
56. (serial)  57. (smpar)  58. (dmpar)  59. (dm+sm)   PGI (pgf90/gcc): -f90=pgf90
60. (serial)  61. (smpar)  62. (dmpar)  63. (dm+sm)   PGI (pgf90/pgcc): -f90=pgf90
64. (serial)  65. (smpar)  66. (dmpar)  67. (dm+sm)   INTEL (ifort/icc): HSW/BDW
68. (serial)  69. (smpar)  70. (dmpar)  71. (dm+sm)   INTEL (ifort/icc): KNL MIC

Enter selection [1-71] : 35
------------------------------------------------------------------------
Compile for nesting? (1=basic, 2=preset moves, 3=vortex following) [default 1]: 1
选择3出错,选择35可以正常编译?
这个应该如何选择?
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-6-22 18:43:07 | 显示全部楼层
选择1   下面那个也选1
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2016-6-22 19:34:07 | 显示全部楼层
海洋之心 发表于 2016-6-22 18:43
选择1   下面那个也选1

为什么要这样选择?
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-6-22 21:45:19 | 显示全部楼层
楼主安装的是3.8吗
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2016-6-23 00:23:36 来自手机 | 显示全部楼层
是的阿(⊙o⊙)
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-6-23 05:27:07 | 显示全部楼层
dtlyr 发表于 2016-6-22 17:33
好像是系统选择的问题:
------------------------------------------------------------------------
...

因为你系统里面PGI没有装吧,系统默认只有GNU一个编译器
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-6-23 09:53:32 | 显示全部楼层
dtlyr 发表于 2016-6-22 19:34
为什么要这样选择?

我也不知道,就试了好多选项,选1么有问题,直接安装成功,单行
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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