[Numpy-discussion] baffled by gfortran

Mathew Yeates mathewww at charter.net
Thu Jun 28 21:18:26 EDT 2007


I have gfortran installed in my path. But when I run python setup.py 
build I get
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

The output of python setup.py config_fc --help-fcompiler shows that 
gfortran is visible
Gnu95FCompiler instance properties:
  archiver        = ['/u/vento0/myeates/bin/gfortran', '-cr']
  compile_switch  = '-c'
  compiler_f77    = ['/u/vento0/myeates/bin/gfortran', '-Wall', '-ffixed-
                    form', '-fno-second-underscore', '-fPIC', '-O3', 
'-funroll
                    -loops', '-march=opteron', '-mmmx', '-m3dnow', 
'-msse2', '
                    -msse']
  compiler_f90    = ['/u/vento0/myeates/bin/gfortran', '-Wall', '-fno-second
                    -underscore', '-fPIC', '-O3', '-funroll-loops', '-


I have  tried
python setup.py config_fc --fcompiler=gnu95 build etc

but I can't figure it out. Can some examples be added to the readme file?
 




More information about the NumPy-Discussion mailing list