How to debug Fortran 90 compile error “There is no specific subroutine for the generic 'foo' at (1)”?

纵饮孤独 提交于 2019-11-27 16:22:09

Try giving the interface and the subroutine different names, i.e., rename the interface.

I think your types for dummy arguments do not conform to the actual arguments in your call. Why do you declare n, inembed, onembed as arrays, when they should be int*, eg. just passed as integer from fortran? Also, are sure that you can interchange int and size_t? I am worried that size_t might be 64 bit and int 32 bit in gcc on your system.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!