[Numpy-discussion] How to tell numpy to use gfortran as a compiler ?

David Cournapeau david at ar.media.kyoto-u.ac.jp
Sun Feb 25 21:47:58 EST 2007


Sturla Molden wrote:
>
>
> g77 is a Fortran 77 compiler. The development of g77 is halted.
>
> gfortran is a Fortran 77, 90, and 95 compiler. It is the current Fortran
> compiler in the GNU Compiler Collection (GCC).
>
>
> You can compile the reference implementation of BLAS and LAPACK with both
> g77 and gfortran, as these libraries are written in Fortran 77. ATLAS is
> written in C and some Fortran 77.
>
> gfortran are able to do some optimizations that g77 cannot, e.g.
> autovectorization using SSE and MMX extensions and profile-guided
> optimizations. Also be aware that if you use gfortran and GCC 4, the C
> compiler is better as well.
>
Ok, that clears things you, thank you. Now, I have to understand why 
--fcompiler=gnu95 still calls gfortran....

cheers,

David



More information about the NumPy-Discussion mailing list