爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 6982|回复: 6

自己从头到尾安装服务器,编译WRF遇到问题

[复制链接]

新浪微博达人勋

发表于 2016-11-23 23:44:06 | 显示全部楼层 |阅读模式
数值模式
使用语言: linux
我看过提问的智慧: 看过
自己思考时长(天): 3
问题概况: WRF编译错误如下,用自己编译的pgi
问题截图: -
系统平台: linux

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

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

x
本帖最后由 chongzika 于 2016-11-24 12:18 编辑

编译选项为 62. (dmpar) PGI (pgf90/pgcc): -f90=pgf90
log文件如下 c.log (930.12 KB, 下载次数: 4)
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-11-24 00:00:09 | 显示全部楼层
既然选了PGI,为何gfortran在编译?
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2016-11-24 12:16:57 | 显示全部楼层
本帖最后由 chongzika 于 2016-11-24 12:19 编辑
andrewsoong 发表于 2016-11-24 00:00
既然选了PGI,为何gfortran在编译?

那是选的另一次编译选项,另外我贴了下log文件你可以看下
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-11-24 15:36:24 | 显示全部楼层
chongzika 发表于 2016-11-24 12:16
那是选的另一次编译选项,另外我贴了下log文件你可以看下

你的机器什么配置?是不是非大型机?
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2016-11-24 19:39:24 | 显示全部楼层
本帖最后由 chongzika 于 2016-11-24 19:45 编辑
andrewsoong 发表于 2016-11-24 15:36
你的机器什么配置?是不是非大型机?

Red Hat Enterprise Linux Server release 7.2 (Maipo)Linux localhost.localdomain 3.10.0-327.el7.x86_64 #1 SMP Thu Oct 29 17:29:29 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux

model name      : Intel(R) Xeon(R) CPU E7-4820 v2 @ 2.00GHz
stepping        : 7
microcode       : 0x70d
cpu MHz         : 1619.296
cache size      : 16384 KB
64个核 刚买的服务器

密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-11-24 20:15:52 | 显示全部楼层
chongzika 发表于 2016-11-24 19:39
Red Hat Enterprise Linux Server release 7.2 (Maipo)Linux localhost.localdomain 3.10.0-327.el7.x86_ ...

那应该没问题。你先试试串行
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2016-11-27 22:09:11 | 显示全部楼层
andrewsoong 发表于 2016-11-24 20:15
那应该没问题。你先试试串行

串行也是相同的错误
pgcc -DFSEEKO64_OK  -o landread.o -c -w -O3 -DMAX_HISTORY=25 -DNMM_CORE=0 landread.c
PGC-S-0040-Illegal use of symbol, __INT_LEAST8_TYPE__ (/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint-gcc.h: 60)
PGC-S-0040-Illegal use of symbol, __INT_LEAST16_TYPE__ (/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint-gcc.h: 61)
PGC-S-0040-Illegal use of symbol, __INT_LEAST32_TYPE__ (/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint-gcc.h: 62)
PGC-S-0040-Illegal use of symbol, __INT_LEAST64_TYPE__ (/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint-gcc.h: 63)
PGC-S-0040-Illegal use of symbol, __UINT_LEAST8_TYPE__ (/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint-gcc.h: 64)
PGC-S-0040-Illegal use of symbol, __UINT_LEAST16_TYPE__ (/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint-gcc.h: 65)
PGC-S-0040-Illegal use of symbol, __UINT_LEAST32_TYPE__ (/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint-gcc.h: 66)
PGC-S-0040-Illegal use of symbol, __UINT_LEAST64_TYPE__ (/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint-gcc.h: 67)
PGC-S-0040-Illegal use of symbol, __INT_FAST8_TYPE__ (/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint-gcc.h: 71)
PGC-S-0040-Illegal use of symbol, __INT_FAST16_TYPE__ (/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint-gcc.h: 72)
PGC-S-0040-Illegal use of symbol, __INT_FAST32_TYPE__ (/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint-gcc.h: 73)
PGC-S-0040-Illegal use of symbol, __INT_FAST64_TYPE__ (/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint-gcc.h: 74)
PGC-S-0040-Illegal use of symbol, __UINT_FAST8_TYPE__ (/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint-gcc.h: 75)
PGC-S-0040-Illegal use of symbol, __UINT_FAST16_TYPE__ (/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint-gcc.h: 76)
PGC-S-0040-Illegal use of symbol, __UINT_FAST32_TYPE__ (/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint-gcc.h: 77)
PGC-S-0040-Illegal use of symbol, __UINT_FAST64_TYPE__ (/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint-gcc.h: 78)
PGC-S-0040-Illegal use of symbol, __INTMAX_TYPE__ (/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint-gcc.h: 91)
PGC-S-0040-Illegal use of symbol, __UINTMAX_TYPE__ (/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint-gcc.h: 92)
PGC-S-0040-Illegal use of symbol, uint32_t (/usr/include/netinet/in.h: 31)
PGC-S-0040-Illegal use of symbol, uint16_t (/usr/include/netinet/in.h: 118)
PGC-S-0040-Illegal use of symbol, uint8_t (/usr/include/netinet/in.h: 214)
PGC-S-0040-Illegal use of symbol, uint16_t (/usr/include/netinet/in.h: 216)
PGC-S-0040-Illegal use of symbol, uint32_t (/usr/include/netinet/in.h: 217)
PGC-S-0040-Illegal use of symbol, uint32_t (/usr/include/netinet/in.h: 257)
PGC-S-0040-Illegal use of symbol, uint32_t (/usr/include/netinet/in.h: 259)
PGC-F-0008-Error limit exceeded (/usr/include/netinet/in.h: 259)
PGC/x86-64 Linux 10.6-0: compilation aborted
make[2]: [landread.o] 错误 2 (忽略)

可能是编译器的问题,但是我利用官方给的测试程序试过了没有问题呢,大神求赐教
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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