Problems using f2py with python 3.12
I have problems using f2py with python 3.12. To illustrate the problem I built two files where one contains fortran modules and the other the subroutine. It is important for me that the modules file is not the same with the subroutine.
The program (called promod.f90) that contains the modules is the following:
Trying for get f2py to work on fib example
I have been trying to get f2py to run the fib example on the web. In my last effort I
removed python and reinstalled python with MINGW64 as a command window. The f2py command fails on what it appears to be compiling a program. I have installed the gcc compilers and tested the fortran, c, c++ compilers from the command line. I can not find a command line argument that passes the compiler path into f2py.
f2py compiling fails when dimensions are taken from a module
The FORTRAN code below cannot be compiled with f2py using command