f2py
Problems compiling with changes to f2py
I am trying to update my package scikits.bvp_solver (source here) and I have run into some problems with f2py generated files. The files \'bvp_solverf-f2pywrappers2.f90\' and \'bvp_solverfmodule.c\' w[详细]
2023-04-11 16:18 分类:问答what's the overhead of passing python callback functions to Fortran subroutines?
I just wrapped a Fortran 90 subroutine to python using F2PY. The subtlety here is that the Fortran subroutine aslo takes a python call-back function as one of its arguments:[详细]
2023-04-07 13:15 分类:问答NameError: name 'f2py' is not defined
after installing python, numpy and scipy_dist_utils i typed f2py onto the python interpretor the result is as below[详细]
2023-02-22 20:38 分类:问答Creating Python C module from Fortran sources on Ubuntu 10.04 LTS
In a project I work on we use a Python C module compiled from Fortran with f2py. I\'ve had no issues building it on Windows 7 32bit (using mingw32) and on the servers it\'s built on 32bit Linux.[详细]
2022-12-28 22:48 分类:问答F2PY: Passing single-element arrays to Fortran
The following Fortran code fills a 2D array x with value v subroutine fill(x,v,m,n) real*8 x(m,n),v integer m,n,i[详细]
2022-12-18 23:35 分类:问答Fortran: 32 bit / 64 bit performance portability
I\'ve been starting to use Fortran (95) for some numerical code (generating python modules). Here is a simple example:[详细]
2022-12-10 22:45 分类:问答