[Numpy-tickets] [NumPy] #576: numpy installation doesn't detect gfortran or g95

NumPy numpy-tickets@scipy....
Thu Sep 6 09:19:34 CDT 2007


#576: numpy installation doesn't detect gfortran or g95
------------------------+---------------------------------------------------
 Reporter:  gruel       |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  normal      |   Milestone:  1.1     
Component:  numpy.f2py  |     Version:  devel   
 Severity:  normal      |    Keywords:          
------------------------+---------------------------------------------------
 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: no Fortran 90 compiler found
 gnu: no Fortran 90 compiler found
 customize GnuFCompiler
 gnu: no Fortran 90 compiler found
 gnu: no Fortran 90 compiler found
 customize GnuFCompiler using config

 and later:
 customize G95FCompiler
 Found executable /usr/local/bin/g95

 but I still have the same answer when I'm trying to do:
 f2py -c -m hello hello.f90

 customize GnuFCompiler
 Found executable /usr/bin/g77
 gnu: no Fortran 90 compiler found
 gnu: no Fortran 90 compiler found
 customize GnuFCompiler
 gnu: no Fortran 90 compiler found
 gnu: no Fortran 90 compiler found

 and so:

 error: f90 not supported by GnuFCompiler needed for hello.f90

 I can't compile my fortran module because of this. I'll attach the file
 obtain with

 python setup.py -v config_fc --fcompiler=gnu95 build

 thank you for numpy and f2py.

-- 
Ticket URL: <http://scipy.org/scipy/numpy/ticket/576>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list