[f2py] Raise exception from inside wrapped fortran code
Pearu Peterson
pearu.peterson at gmail.com
Thu Dec 18 16:07:26 EET 2008
James Kermode wrote:
>
> I've included my test program below (two modules are required because
> f2py gets confused by the bind(c) stuff).
May be the g77 compiler is confused by the bind(c) stuff.. You should
use --fcompiler=gnu95 f2py flag with gfortran.
Not sure if it matters but try also f2py threadsafe statement via !f2py
directive.
Pearu
More information about the f2py-users
mailing list