1
I’m a beginner in F2PY and I’m trying to use it in a very complex Fortran program that has several subroutines in separate files and one of them is dassl.f. I believe my problem is with it. Are there any limitations to its use with F2PY? (Linux usage)
Terminal command:
$ f2py -c -m Reator Variaveis.F90 Principal.F90 Jacob.F90 Res.F90 PontoBolha.F90 dassl.F Conversao.F90 Massas_Molares.F90 PropFisicas.F90 Taxa.F90 gel.F90 Vazao.F90
Last response from the terminal:
error: Command "x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/tmp/tmp5u6gg0ww/src.linux-x86_64-3. 5 -I/usr/local/lib/python3.5/dist-Packages/numpy/core/include -I/usr/include/python3.5m -c /tmp/tmp5u6gg0ww/src.linux-x86_64-3. 5/Reatormodule. c -o /tmp/tmp5u6gg0ww/tmp/tmp5u6gg0ww/src.linux-x86_64-3. 5/Reatormodule. o" failed with Exit status 1
Variables.F90 is a MODULE and all others are SUBROUTINES.