Fortran Coder

标题: 反复调用QDAGS函数求积分,出现报错,求大神帮助! [打印本页]

作者: 610473484    时间: 2023-8-21 21:18
标题: 反复调用QDAGS函数求积分,出现报错,求大神帮助!
本帖最后由 610473484 于 2023-8-22 09:50 编辑

下面是我的子程序,在反复调用imsl库中的  QDAGS函数求积分时,在执行到elseif语句中的   CALL QDAGS(FAP2_2, BEITA_S, AFP_UP, BFAP2_2, ERRABS, ERREST)该行时开始出现报错,此通用子程序调用没有匹配的特定子程序。[QDAGS] 。原因是啥???
   
错误        1 error #6285: There is no matching specific subroutine for this generic subroutine call.   [QDAGS]        F:\AAA研究生\fortran剥落\Console1\Console1\JKX_AS.f90        26行        
错误        2 error #6285: There is no matching specific subroutine for this generic subroutine call.   [QDAGS]        F:\AAA研究生\fortran剥落\Console1\Console1\JKX_AS.f90        27行        
错误        3error #6285: There is no matching specific subroutine for this generic subroutine call.   [QDAGS]        F:\AAA研究生\fortran剥落\Console1\Console1\JKX_AS.f90        35行        
错误        4error #6285: There is no matching specific subroutine for this generic subroutine call.   [QDAGS]        F:\AAA研究生\fortran剥落\Console1\Console1\JKX_AS.f90        36        
错误        5error #6285: There is no matching specific subroutine for this generic subroutine call.   [QDAGS]        F:\AAA研究生\fortran剥落\Console1\Console1\JKX_AS.f90        38        
错误        6error #6285: There is no matching specific subroutine for this generic subroutine call.   [QDAGS]        F:\AAA研究生\fortran剥落\Console1\Console1\JKX_AS.f90        39        
错误        7 error #6285: There is no matching specific subroutine for this generic subroutine call.   [QDAGS]        F:\AAA研究生\fortran剥落\Console1\Console1\JKX_AS.f90        52        
......

1692623269(1).jpg (28.63 KB, 下载次数: 204)

1692623269(1).jpg

1692623151(1).jpg (60.93 KB, 下载次数: 202)

1692623151(1).jpg

作者: 风平老涡    时间: 2023-8-21 21:53
本帖最后由 风平老涡 于 2023-8-21 21:58 编辑

就是输录的子程序参数类型不符合要求。可能是要求整数,输录的是实数;单精度对应双精度;数组对应变量等等。




欢迎光临 Fortran Coder (http://bbs.fcode.cn/) Powered by Discuz! X3.2