爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 9014|回复: 2

求教FLEXPART 10.4 安装报错

[复制链接]

新浪微博达人勋

发表于 2021-1-19 17:26:19 | 显示全部楼层 |阅读模式

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

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

x


这是最后报的错
附件是makefile和make后输出的l

log.txt

44.65 KB, 下载次数: 7, 下载积分: 金钱 -5

makefile

15.32 KB, 下载次数: 30, 下载积分: 金钱 -5

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

新浪微博达人勋

 楼主| 发表于 2021-1-19 17:28:57 | 显示全部楼层
|                         1
Warning: Array reference at (1) out of bounds (1 > 0) in loop beginning at (2)
FLEXPART.f90:422:22:

  420 |     do jy=0,nyn(inest)-1
      |                        2
  421 |       do ix=0,nxn(inest)-1
  422 |         cbasefluxn(ix,jy,inest)=0.
      |                      1
Warning: Array reference at (1) out of bounds (0 > -1) in loop beginning at (2)
FLEXPART.f90:422:19:

  421 |       do ix=0,nxn(inest)-1
      |                          2
  422 |         cbasefluxn(ix,jy,inest)=0.
      |                   1
Warning: Array reference at (1) out of bounds (0 > -1) in loop beginning at (2)
/usr/bin/ld: /home/flexpart/lib/jasper/lib/libjasper.a(jas_stream.o): in function `jas_stream_tmpfile':
/home/flexpart/lib/build/jasper-1.900.1/src/libjasper/base/jas_stream.c:368: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
timemanager.f90:583: warning: type of ‘get_wetscav’ does not match original declaration [-Wlto-type-mismatch]
  583 |             call get_wetscav(itime,lsynctime,loutnext,j,ks,grfraction,idummy,idummy,wetscav)
      |
get_wetscav.f90:4: note: ‘get_wetscav’ was previously declared here
    4 | subroutine get_wetscav(itime,ltsample,loutnext,jpart,ks,grfraction,inc_count,blc_count,wetscav)
      |
get_wetscav.f90:4: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
/home/flexpart/lib/grib_api/lib/libgrib_api.a(grib_lex.o): in function `grib_yy_get_previous_state':
/home/flexpart/lib/build/grib_api-1.12.1/src/lex.grib_yy.c:2233:(.text+0x3): relocation truncated to fit: R_X86_64_PC32 against `.bss'
/home/flexpart/lib/build/grib_api-1.12.1/src/lex.grib_yy.c:2231:(.text+0x9): relocation truncated to fit: R_X86_64_PC32 against `.bss'
/home/flexpart/lib/build/grib_api-1.12.1/src/lex.grib_yy.c:2233:(.text+0x1a): relocation truncated to fit: R_X86_64_PC32 against symbol `grib_yytext' defined in COMMON section in /home/flexpart/lib/grib_api/lib/libgrib_api.a(grib_lex.o)
/home/flexpart/lib/build/grib_api-1.12.1/src/lex.grib_yy.c:2233:(.text+0x2f): relocation truncated to fit: R_X86_64_PC32 against `.bss'
/home/flexpart/lib/build/grib_api-1.12.1/src/lex.grib_yy.c:2233:(.text+0x36): relocation truncated to fit: R_X86_64_PC32 against `.bss'
/home/flexpart/lib/build/grib_api-1.12.1/src/lex.grib_yy.c:2233:(.text+0x119): relocation truncated to fit: R_X86_64_PC32 against `.bss'
/home/flexpart/lib/build/grib_api-1.12.1/src/lex.grib_yy.c:2233:(.text+0x120): relocation truncated to fit: R_X86_64_PC32 against `.bss'
/home/flexpart/lib/grib_api/lib/libgrib_api.a(grib_lex.o): in function `grib_yyensure_buffer_stack':
/home/flexpart/lib/build/grib_api-1.12.1/src/lex.grib_yy.c:2620:(.text+0x189): relocation truncated to fit: R_X86_64_PC32 against `.bss'
/home/flexpart/lib/build/grib_api-1.12.1/src/lex.grib_yy.c:2640:(.text+0x195): relocation truncated to fit: R_X86_64_PC32 against `.bss'
/home/flexpart/lib/build/grib_api-1.12.1/src/lex.grib_yy.c:2640:(.text+0x1a0): relocation truncated to fit: R_X86_64_PC32 against `.bss'
/home/flexpart/lib/build/grib_api-1.12.1/src/lex.grib_yy.c:2646:(.text+0x1c6): additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status
make: *** [makefile:237: FLEXPART] Error 1
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

发表于 2022-4-9 11:56:14 | 显示全部楼层
我用了你的makefile编译出来了,你这个报错肯定是grib_api的问题,可能是编译太新了,降低就行.
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

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

本版积分规则

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

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

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