[SciPy-dev] Setup doesn't pickup Intel Fortran compiler

David Cournapeau david@ar.media.kyoto-u.ac...
Fri May 29 04:14:17 CDT 2009


Matthieu Brucher wrote:
> Hi,
>
> I have trouble getting Scipy (and numpy) using the correct Fortran compiler :
>
> Found executable /appli/intel/10.1.018/intel64/cce/bin/icc
> customize GnuFCompiler
> Found executable /appli/intel/10.1.018/intel64/fce/bin/ifort
> gnu: no Fortran 90 compiler found
> Found executable /usr/bin/g77
> gnu: no Fortran 90 compiler found
> customize IntelFCompiler
> customize LaheyFCompiler
> Could not locate executable lf95
> lahey: no Fortran 90 compiler found
> lahey: no Fortran 90 compiler found
> customize PGroupFCompiler
> Could not locate executable pgf90
> pg: no Fortran 90 compiler found
> pg: no Fortran 90 compiler found
> customize AbsoftFCompiler
> Could not locate executable f90
> absoft: no Fortran 90 compiler found
> absoft: no Fortran 90 compiler found
> absoft: no Fortran 90 compiler found
> absoft: no Fortran 90 compiler found
> absoft: no Fortran 90 compiler found
> absoft: no Fortran 90 compiler found
> customize NAGFCompiler
> Found executable /usr/bin/f95
> customize VastFCompiler
> customize GnuFCompiler
> gnu: no Fortran 90 compiler found
> gnu: no Fortran 90 compiler found
> customize CompaqFCompiler
> Could not locate executable fort
> compaq: no Fortran 90 compiler found
> compaq: no Fortran 90 compiler found
> customize IntelItaniumFCompiler
> customize IntelEM64TFCompiler
> customize Gnu95FCompiler
> Found executable /usr/bin/gfortran
> customize Gnu95FCompiler
> customize UnixCCompiler
> customize UnixCCompiler using scons
> Found executable /appli/intel/10.1.018/intel64/cce/bin/icpc
>
> Why is it trying to search for another Fortran compiler when it
> actually found the Intel one?
>   

Maybe nobody knows :)
> I used python setup.py install or python setup.py install
> --fcompiler=intelem, but the output was the same :|
>   

Yes, intelem is for ia architectures IIRC

I have just tried compiling numpy with both icc/ifort (11.0), it works
without trouble with numscons:

CFLAGS="-debug" FFLAGS="-debug" CC=icc F77=ifort python setupscons.py scons

I used the -debug flag to avoid waiting forever - the whole numpy test
suite passes.

cheers,

David


More information about the Scipy-dev mailing list