Skip to content
Advertisement

Tag: fortran

fortran subroutine import in python fails

I am trying to import a fortran subroutine into python code. Following this guide https://notmatthancock.github.io/2017/02/10/calling-fortran-from-python.html I have added the following line into my fortran code: However when I try to use f2py -c fireball_ES_param.f -m fireball to create fireball.so to import in my python code I get several hundreds of warnings, which might be the problem but I am not

Internal cmake error while building trilinos on ubuntu 32bit

I’m trying to build the library trilinos on a 32bit ubuntu virtual machine. I wrote the following configuration script: When I execute it with the ksh command in the terminal, I get the following error: CMake Error: CMAKE_Fortran_Compiler not set, after EnableLanguage Answer It appears you do not have a Fortran compiler installed. This is why cmake cannot set CMAKE_Fortran_Compiler

Advertisement