[SciPy-user] Building on Windows with the Intel Visual Fortran Compiler

Albert Strasheim fullung at gmail.com
Sat Aug 5 18:51:47 CDT 2006


Hello all

I'm trying to compile SciPy from SVN with MSVC and the Intel Visual Fortran
Compiler, version 9.1.

In the root of the SciPy source tree I have my site.cfg which contains:

[blas_src]
src_dirs = C:\home\albert\work2\blas
[lapack_src]
src_dirs = C:\home\albert\work2\lapack

Inside the "Build Environment for Fortran IA-32 applications" command prompt
I run the following command:

python setup.py config --compiler=msvc --fcompiler=intelv build
--compiler=msvc bdist_wininst

(the build part doesn't seem to accept a --fcompiler option). This runs for
a while and then it prints:

Fortran f77 compiler: f77 -g -Wall -fno-second-underscore -mno-cygwin /w
/I:C:\Program Files\VNI\CTT6.0\include\IA32 /fpe:3 /nologo -O2
-funroll-loops -fomit-frame-pointer -malign-double
Fortran f90 compiler: ifort /w /I:C:\Program Files\VNI\CTT6.0\include\IA32
/fpe:3 /nologo /w /I:C:\Program Files\VNI\CTT6.0\include\IA32 /fpe:3 /nologo
-O2 -funroll-loops -fomit-frame-pointer -malign-double
Fortran fix compiler: ifort /w /I:C:\Program Files\VNI\CTT6.0\include\IA32
/fpe:3 /nologo /w /I:C:\Program Files\VNI\CTT6.0\include\IA32 /fpe:3 /nologo
-O2 -funroll-loops -fomit-frame-pointer -malign-double

followed by

creating build\temp.win32-2.4
creating build\temp.win32-2.4\Lib
creating build\temp.win32-2.4\Lib\fftpack
creating build\temp.win32-2.4\Lib\fftpack\dfftpack
compile options: '-c'
f77:f77: Lib\fftpack\dfftpack\dcosqb.f
Could not locate executable f77
Executable f77 does not exist

which obviously isn't going to work, since I'm not using the MinGW compiler,
nor did I specify it anywhere.

The IntelVisualFCompiler class in intel.py in numpy.distutils contains:

fc_exe = 'ifl'
...
executables = {
    ...
    'compiler_f77' : [fc_exe,"-FI","-w90","-w95"],
    'compiler_fix' : [fc_exe,"-FI","-4L72","-w"],
    'compiler_f90' : [fc_exe],
    ...
}

which looks like it should work, but it doesn't.

Any ideas?
 
Regards,

Albert



More information about the SciPy-user mailing list