请问各位大神!在fortran中写好的子程序.f95,如何在Python编程时调用?多谢帮忙!不胜感激 返回小木虫查看更多
不太会
https://ocefpaf.github.io/python ... 2015/01/26/fortran/ 1. install magic extension fortranmagic.py 2. modify fortran code - cf2py 3. compiled via f2py 4. defines a python wrapper 5. test the module,
numpy里带了f2py,不过比较老了
不太会
https://ocefpaf.github.io/python ... 2015/01/26/fortran/
1. install magic extension
fortranmagic.py
2. modify fortran code - cf2py
3. compiled via f2py
4. defines a python wrapper
5. test the module,
numpy里带了f2py,不过比较老了