Turns out you need to use the --f90exec= option on cosma as opposed to the -fcompiler=. The executable can be determined by echo $FC after you've loaded a module in. The rest of the options are standard f2py stuff.
f2py --f90exec=[$FC] -c -m fortran_code fortran_code.f90
No comments:
Post a Comment