24小时热门版块排行榜    

查看: 1507  |  回复: 2

shshbly

金虫 (小有名气)

[求助] 【求助】Fortran编译的几个问题,求大师解答!多谢!

编译出现的问题见图一,相关语句见图二图三
错误        3         Declaration of routine 'SETUP_X_GRID' conflicts with a previous declaration   81       
错误        1         The number of subscripts is incorrect.   [X]        1096       
错误        4        Compilation Aborted (code1)        1       
求大神指教!多谢!

【求助】Fortran编译的几个问题,求大师解答!多谢!
图一


【求助】Fortran编译的几个问题,求大师解答!多谢!-1
图二


【求助】Fortran编译的几个问题,求大师解答!多谢!-2
图三
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

shshbly

金虫 (小有名气)

解决了其中一个问题了!
错误   3    Declaration of routine 'SETUP_X_GRID' conflicts with a previous declaration   81
解决办法:
Hi
I had the same problem. It is apparantly caused by automatic generation of interface.
go into: Projet>fortran>diagnosis>generate interface block
and set the option to no
Then you can rebuild the project.
that solved the problem for me.
If I put the generation of interface blocks back on in a later rebuild that works also.
参考链接  https://software.intel.com/zh-cn/forums/topic/297327
多谢各位!还有两个错误
2楼2014-09-30 09:24:59
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

shshbly

金虫 (小有名气)

又解决了一个
错误        1         The number of subscripts is incorrect.   [X]        1096
X是个一维数组,这里输出搞成二维了,改成了 X(ix) 和 Y(iy)
3楼2014-09-30 09:52:06
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 shshbly 的主题更新
信息提示
请填处理意见