爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 9997|回复: 4

PREP-CHEM-SRC-1.4编译问题

[复制链接]
发表于 2018-3-26 19:33:57 | 显示全部楼层 |阅读模式

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

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

x
修改include.mk.intel文件中所需要路径后运行make OPT=intel CHEM=RADM_WRF_FIM一直出现以下错误,为什么会有the same named entity呢?具体的f90程序代码应该不需要改动才对呀,求大神帮忙咯~


cp -f  ../../src/convert_edgar_to_aer.f90 convert_edgar_to_aer.f90
/wind1/software/compiler/intel/composer_xe_2016.3.210/bin/intel64/ifort -c -fpp -DRADM_WRF_FIM -O2  -I../../aux_src/utils/include -I/wind1/home/17shenxt/LIBRARY/netcdf/include  -I/wind1/home/17shenxt/LIBRARY/hdf5/include  convert_edgar_to_aer.f90
convert_edgar_to_aer.f90(14): error #6405: The same named entity from different modules and/or program units cannot be referenced.   [CO]
                            ,CO      &   
-----------------------------^
convert_edgar_to_aer.f90(16): error #6405: The same named entity from different modules and/or program units cannot be referenced.   [CO2]
                            ,CO2     &
-----------------------------^
convert_edgar_to_aer.f90(17): error #6405: The same named entity from different modules and/or program units cannot be referenced.   [CH4]
                            ,CH4     &
-----------------------------^
convert_edgar_to_aer.f90(18): error #6405: The same named entity from different modules and/or program units cannot be referenced.   [SO2]
                            ,SO2     &
-----------------------------^
compilation aborted for convert_edgar_to_aer.f90 (code 1)
make: *** [convert_edgar_to_aer.o] Error 1

密码修改失败请联系微信:mofangbao
发表于 2019-4-10 06:00:05 | 显示全部楼层
密码修改失败请联系微信:mofangbao
回复 支持 1 反对 0

使用道具 举报

发表于 2020-4-24 12:22:21 | 显示全部楼层
quwj 发表于 2019-4-10 06:08
http://bbs.06climate.com/forum.php?mod=viewthread&tid=67053&highlight=prep

“已解决

h-tt-p://sketsa-langit.blogspot.com/2018/12/research-note-19-installing.html[/url][/url]
这个解决了问题,我的版本是1.5
The cause of this error is ironically simple: the absence of remark symbol ('!') in front of the 9th line of script convert_edgar_to_RELACS_REAC.f90 in the /src sub-directory:

8 subroutine convert_edgar_to_relacs_reac(isp,iespc,ident,spc_name_dummy)  !kml
9 use chem1_list
10 !use chem1_list, only : alke, bio,ora2,aro,ket,alka,ald

Thus, edit the script by adding '!' symbol in front of the said line using vi or other text editor.
密码修改失败请联系微信:mofangbao
回复 支持 1 反对 0

使用道具 举报

发表于 2019-4-10 06:08:52 | 显示全部楼层
http://bbs.06climate.com/forum.p ... &highlight=prep

“已解决
打开PREP_CHEM_SRC_1.3/src下的convert_edgar_to_aer.f90(最好Fortran打开):
注释掉use chem1.list
添加spc_name数据类型
C:/Users/Administrator/Desktop/1.png


这个帖子的回答应当有用,但是还没有搞清楚spc_name数据类型如何定义。

楼主如果解决能否分享一下解决方法。


非常感谢!
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

发表于 2023-3-2 00:04:36 | 显示全部楼层
我的是1.5版本,使用楼上提到的1.5版本的解决方案,成功解决,特此感谢
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

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

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