0

I am using f2py and Intel fortran compiler to wrap some fortran code which calls some math library like dexp and dpow.

The compilation went smoothly without reporting any err, but when I attempted to run the wrapped python modules, the error prompts up:

ImportError: /usr/lib/python2.7/site-packages/foo/foo.so: undefined symbol: vmldExp2

I switched to gfortran and it seems that the similar problem persists, but for vmldPow2.

How can I fix this in the f2py context?

4

1 に答える 1

0

intel svmllibがかなり変更されたようで、いろいろな方法やオプション/フラグを試してみましたが、結局問題は解決しませんでしたが、intel fortranコンパイラを9.1から12.0にアップグレードした後、それは消え、すべてが次のように動作するようになりました魅力。

于 2011-10-28T21:52:46.513 に答える