反复调用QDAGS函数求积分,出现报错,求大神帮助!
本帖最后由 610473484 于 2023-8-22 09:50 编辑下面是我的子程序,在反复调用imsl库中的QDAGS函数求积分时,在执行到elseif语句中的 CALL QDAGS(FAP2_2, BEITA_S, AFP_UP, BFAP2_2, ERRABS, ERREST)该行时开始出现报错,此通用子程序调用没有匹配的特定子程序。 。原因是啥???
错误 1 error #6285: There is no matching specific subroutine for this generic subroutine call. F:\AAA研究生\fortran剥落\Console1\Console1\JKX_AS.f90 26行
错误 2 error #6285: There is no matching specific subroutine for this generic subroutine call. F:\AAA研究生\fortran剥落\Console1\Console1\JKX_AS.f90 27行
错误 3error #6285: There is no matching specific subroutine for this generic subroutine call. F:\AAA研究生\fortran剥落\Console1\Console1\JKX_AS.f90 35行
错误 4error #6285: There is no matching specific subroutine for this generic subroutine call. F:\AAA研究生\fortran剥落\Console1\Console1\JKX_AS.f90 36
错误 5error #6285: There is no matching specific subroutine for this generic subroutine call. F:\AAA研究生\fortran剥落\Console1\Console1\JKX_AS.f90 38
错误 6error #6285: There is no matching specific subroutine for this generic subroutine call. F:\AAA研究生\fortran剥落\Console1\Console1\JKX_AS.f90 39
错误 7 error #6285: There is no matching specific subroutine for this generic subroutine call. F:\AAA研究生\fortran剥落\Console1\Console1\JKX_AS.f90 52
......
本帖最后由 风平老涡 于 2023-8-21 21:58 编辑
就是输录的子程序参数类型不符合要求。可能是要求整数,输录的是实数;单精度对应双精度;数组对应变量等等。
页:
[1]