Hello,
I'm using the last svn version of numpy (.
I tried the solution found on the mail list:
python setup.py config_fc --fcompiler=gnu95 build
the two interesting part (at least for me) in the building process are:
customize GnuFCompiler Found executable /usr/bin/g77
gnu:
I have already gfortran and g95 installed and working fine for all the system
but numpy and scipy.
By the way I'm using linux not MacOSX. My problem is that when I'm installing
numpy gfortran (or g95) is detected but not at all the step and so f2py seem
to be unable to use it.
look at:
[EMAIL PROTECTED] wrote:
Hello,
I'm using the last svn version of numpy (.
I tried the solution found on the mail list:
python setup.py config_fc --fcompiler=gnu95 build
the two interesting part (at least for me) in the building process are:
customize GnuFCompiler
This is the log I have when I'm trying to use f2py with a fortran 90 file.
The last line seems to tell me that f2py cannot see gfortran and g95 even if
it detected them when I installed f2py.
thanks,
N.
gfortran and g95 are installed and I can use them:
gfortran
gfortran: no input files
I had the same problem building on Linux. I found this on a wiki somewhere
(can only find it in google cache now):
(Note: Make sure that if you build with *gfortran* that *g77* is not
installed on your system (or at least is not in your *PATH* when *numpy* is
being built) as you need to link with
[EMAIL PROTECTED] wrote:
This is the log I have when I'm trying to use f2py with a fortran 90 file.
The last line seems to tell me that f2py cannot see gfortran and g95 even if
it detected them when I installed f2py.
thanks,
N.
gfortran and g95 are installed and I can use them:
On 10/10/07, Robert Kern [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
Hello,
I'm using the last svn version of numpy (.
I tried the solution found on the mail list:
python setup.py config_fc --fcompiler=gnu95 build
the two interesting part (at least for me)
Charles R Harris wrote:
On 10/10/07, *Robert Kern* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
Hello,
I'm using the last svn version of numpy (.
I tried the solution found on the mail list:
It's working fine thank you. I'm a little bit surprised because I was thinking
that the --fcompiler when building numpy was the way to change the default
compiler but anyway, that's work now.
N.
Tell f2py that you want it to use gfortran instead of the default.
f2py --fcompiler=gnu95 -c