请选择 进入手机版 | 继续访问电脑版
爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 5385|回复: 3

Noah-MP make阶段遇到错误,请大家帮我看一下问题在哪

[复制链接]

新浪微博达人勋

发表于 2020-5-29 15:16:33 | 显示全部楼层 |阅读模式

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

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

x
本帖最后由 SonGoku 于 2020-5-29 18:24 编辑

这是终端里报错的信息
错误1
---------------------------------------------------------------------------------------------------------------------------------------------
rm -f module_NoahMP_hrldas_driver.f90
/usr/bin/cpp -P -traditional -D_GFORTRAN_ -D_HRLDAS_OFFLINE_  module_NoahMP_hrldas_driver.F > module_NoahMP_hrldas_driver.f90
/usr/bin/gfortran -o module_NoahMP_hrldas_driver.o -c -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring -ffree-form  -ffree-line-length-none -I -I. \
-I../phys -I../Utility_routines -I/home/gao/Build_WRF/LIBRARIES/netcdf/include module_NoahMP_hrldas_driver.f90
f951: Warning: Nonexistent include directory ‘-I.’ [-Wmissing-include-dirs]


错误2
---------------------------------------------------------------------------------------------------------------------------------------------
cio.c:31:15: warning: return type defaults to ‘int’ [-Wimplicit-int]
   31 | #define copen copen_
      |               ^~~~~~
cio.c:72:1: note: in expansion of macro ‘copen’
   72 | copen(nunit, name, mode, err, oflag)
      | ^~~~~
cio.c:36:16: warning: return type defaults to ‘int’ [-Wimplicit-int]
   36 | #define bnseek bnseek_
      |                ^~~~~~~
cio.c:148:1: note: in expansion of macro ‘bnseek’
  148 | bnseek(fd, bread, mode, iprint)
      | ^~~~~~
cio.c: In function ‘bnseek_’:
cio.c:179:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘off_t’ {aka ‘long int’} [-Wformat=]
  179 |        printf(" lseek return=%d, *mode=%d\n", i, *mode);
      |                              ~^               ~
      |                               |               |
      |                               int             off_t {aka long int}
      |                              %ld
cio.c: At top level:
cio.c:33:16: warning: return type defaults to ‘int’ [-Wimplicit-int]
   33 | #define bnread bnread_
      |                ^~~~~~~
cio.c:186:1: note: in expansion of macro ‘bnread’
  186 | bnread(fd, buf, nbuf, bread, ios, idiag)
      | ^~~~~~
cio.c:34:16: warning: return type defaults to ‘int’ [-Wimplicit-int]
   34 | #define bnwrit bnwrit_
      |                ^~~~~~~
cio.c:237:1: note: in expansion of macro ‘bnwrit’
  237 | bnwrit(fd, buf, nbuf, bwritten, err, idiag)
      | ^~~~~~
cio.c:32:16: warning: return type defaults to ‘int’ [-Wimplicit-int]
   32 | #define cclose cclose_
      |                ^~~~~~~
cio.c:271:1: note: in expansion of macro ‘cclose’
  271 | cclose(nunit, iprint, err)
      | ^~~~~~

这是我的配置文件

这是我的配置文件

这是我的配置文件



我的netcdf4.1.3直接用的wrf用到的(wrf是成功编译了的) TIM截图20200529152356.png
发现了一个错误,下图中画线的句子原来是错的,现在我改过来了
TIM截图20200529162809.png


上面错误2解决了,第一个错误还在

再编辑一下,上面的erro不是致命的,致命错误是
error: ld returned 1 exit status
这一条











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

新浪微博达人勋

 楼主| 发表于 2020-5-29 15:18:49 | 显示全部楼层
本帖最后由 SonGoku 于 2020-5-29 16:32 编辑

@andrewsoong 试试能不能@到您,看您在社区里关于NoahMP的帖子受益匪浅
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

发表于 2020-5-29 19:06:25 | 显示全部楼层
SonGoku 发表于 2020-5-29 15:18
@andrewsoong 试试能不能@到您,看您在社区里关于NoahMP的帖子受益匪浅

4.1.3版本我得报错,换个版本呀
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

 楼主| 发表于 2020-5-29 21:33:16 | 显示全部楼层
andrewsoong 发表于 2020-5-29 19:06
4.1.3版本我得报错,换个版本呀

我老师也说要换个版本,现在好了,谢谢您
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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