Re: [Numpy-discussion] F2PY and underscore problem

2007-04-12 Thread Zdeněk Hurák
Tyler J Hayes wrote: > I'm not sure if this will help, but have you tried to specify the gfortran > compiler via the option: > > --fcompiler=gnu95 > > when calling f2py in the second line after the ".pyf" file has been > created? Perhaps that will work. Sorry for late response, Tyler. But this

Re: [Numpy-discussion] F2PY and underscore problem

2007-04-06 Thread Tyler J Hayes
Zdeněk Hurák fel.cvut.cz> writes: > Sorry for not giving this important detail. I use gcc-4.1.1 compiler suite, > which means that gfortran is used as a Fortran compiler. The same compiler > was used to build Lapack. I'm not sure if this will help, but have you tried to specify the gfortran compi

Re: [Numpy-discussion] F2PY and underscore problem

2007-04-05 Thread Zdeněk Hurák
Robert Kern wrote: > Zdeněk Hurák wrote: [...] >> I want to create Python modules from some Fortran numerical functions >> that rely on LAPACK. [...] >> However, when trying to import the module, Python cries that there is and >> undefined symbol: sb02mw_. [...] > What FORTRAN compiler are you

Re: [Numpy-discussion] F2PY and underscore problem

2007-04-05 Thread Robert Kern
Zdeněk Hurák wrote: > I am sorry to come up with a question that probably has been asked and > answered many times but I honestly searched for an answer but failed to > find one. > > I want to create Python modules from some Fortran numerical functions that > rely on LAPACK. I start with a functio

[Numpy-discussion] F2PY and underscore problem

2007-04-05 Thread Zdeněk Hurák
I am sorry to come up with a question that probably has been asked and answered many times but I honestly searched for an answer but failed to find one. I want to create Python modules from some Fortran numerical functions that rely on LAPACK. I start with a function SB02MD.f that provides a solve