[Numpy-discussion] f2py bug in numpy v1.12.0 and above?
matthew.brett at gmail.com
Mon Jan 29 15:56:12 EST 2018
On Mon, Jan 29, 2018 at 10:16 AM, Solbrig,Jeremy
<Jeremy.Solbrig at colostate.edu> wrote:
> I have a suite of fortran code that I compile with f2py and use as a plugin
> to a python package. I am using Python v2.7 from Anaconda. When compiled
> using numpy v1.11.3 or lower, everything works fine, but if I upgrade to any
> more recent version I begin running into a runtime error. Presumably I am
> just not linking something that needs to be linked, but I'm not sure what
> library that would be.
> The error:
> ImportError: .../libstddev_kernel.so: undefined symbol:
> Where libestddev_kernel.so is built using this command:
> f2py --fcompiler=gnu95 --quiet --opt="-O3" -L. -L/usr/lib -I. -I.../include
> -I/usr/include -m libstddev_kernel -c stddev_kernel/stddev_kernel.f90
> Is there something additional I should be linking to within numpy or my
> anaconda installation?
Do you get the same problem with a pip install of numpy? If not,
this may be an Anaconda packaging bug rather than a numpy bug ...
More information about the NumPy-Discussion