[SciPy-dev] Compiling scipy with Intel ifort & MKL

rex rex at nosyntax.com
Sun Jun 10 16:35:08 EDT 2007


Using recent svn SciPy:

/usr/local/src/scipy # python setup.py config --compiler=intel --fcompiler=intel build_clib --compiler=intel --fcompiler=intel build_ext --compiler=intel --fcompiler=intel install
non-existing path in 'scipy/cluster': 'tests'
non-existing path in 'scipy/cluster': 'src/vq_wrap.cpp'
mkl_info:
  FOUND:
    libraries = ['mkl', 'vml', 'guide', 'pthread']
    library_dirs = ['/opt/intel/mkl/9.1/lib/32']
    define_macros = [('SCIPY_MKL_H', None)]
    include_dirs = ['/opt/intel/mkl/9.1/include']

non-existing path in 'scipy/fftpack': 'tests'
could not resolve pattern in 'scipy/fftpack': 'dfftpack/*.f'
non-existing path in 'scipy/fftpack': 'fftpack.pyf'
non-existing path in 'scipy/fftpack': 'src/zfft.c'

...

blas_opt_info:
blas_mkl_info:
  FOUND:
    libraries = ['mkl', 'vml', 'guide', 'pthread']
    library_dirs = ['/opt/intel/mkl/9.1/lib/32']
    define_macros = [('SCIPY_MKL_H', None)]
    include_dirs = ['/opt/intel/mkl/9.1/include']

  FOUND:
    libraries = ['mkl', 'vml', 'guide', 'pthread']
    library_dirs = ['/opt/intel/mkl/9.1/lib/32']
    define_macros = [('SCIPY_MKL_H', None)]
    include_dirs = ['/opt/intel/mkl/9.1/include']

could not resolve pattern in 'scipy/integrate': 'linpack_lite/*.f'
could not resolve pattern in 'scipy/integrate': 'mach/*.f'
could not resolve pattern in 'scipy/integrate': 'quadpack/*.f'
could not resolve pattern in 'scipy/integrate': 'odepack/*.f'
non-existing path in 'scipy/integrate': '_quadpackmodule.c'
...
non-existing path in 'scipy/io': 'docs'
non-existing path in 'scipy/lib/blas': 'fblas.pyf.src'
non-existing path in 'scipy/lib/blas': 'fblaswrap.f.src'
could not resolve pattern in 'scipy/lib/blas': 'fblas_l?.pyf.src'
non-existing path in 'scipy/lib/blas': 'cblas.pyf.src'
could not resolve pattern in 'scipy/lib/blas': 'cblas_l?.pyf.src'
non-existing path in 'scipy/lib/blas': 'tests'
lapack_opt_info:
lapack_mkl_info:
  FOUND:
    libraries = ['mkl_lapack', 'mkl', 'vml', 'guide', 'pthread']
    library_dirs = ['/opt/intel/mkl/9.1/lib/32']
    define_macros = [('SCIPY_MKL_H', None)]
    include_dirs = ['/opt/intel/mkl/9.1/include']

  FOUND:
    libraries = ['mkl_lapack', 'mkl', 'vml', 'guide', 'pthread']
    library_dirs = ['/opt/intel/mkl/9.1/lib/32']
    define_macros = [('SCIPY_MKL_H', None)]
    include_dirs = ['/opt/intel/mkl/9.1/include']

non-existing path in 'scipy/lib/lapack': 'flapack.pyf.src'
could not resolve pattern in 'scipy/lib/lapack': 'flapack_*.pyf.src'
non-existing path in 'scipy/lib/lapack': 'clapack.pyf.src'
non-existing path in 'scipy/lib/lapack': 'calc_lwork.f'
non-existing path in 'scipy/lib/lapack': 'atlas_version.c'
non-existing path in 'scipy/lib/lapack': 'tests'
non-existing path in 'scipy/linalg': 'src/fblaswrap.f'
...
non-existing path in 'scipy/linalg': 'tests'
non-existing path in 'scipy/linsolve': 'tests'
could not resolve pattern in 'scipy/linsolve': 'SuperLU/SRC/*.c'
non-existing path in 'scipy/linsolve': '_zsuperlumodule.c'
...
umfpack_info:
  libraries umfpack not found in /opt/intel/mkl/9.1/lib/32
/usr/local/lib/python2.5/site-packages/numpy/distutils/system_info.py:403: UserWarning:
    UMFPACK sparse solver (http://www.cise.ufl.edu/research/sparse/umfpack/)
    not found. Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [umfpack]) or by setting
    the UMFPACK environment variable.
  warnings.warn(self.notfounderror.__doc__)
  NOT AVAILABLE

[many more path messages elided]

Warning: Subpackage 'Lib' configuration returned as 'scipy'
running config
running build_clib
Could not locate executable ecc
customize IntelCCompiler
customize IntelCCompiler using build_clib
Could not locate executable ifc
Could not locate executable efort
Could not locate executable efc
Could not locate executable efort
Could not locate executable efc
customize IntelFCompiler
Couldn't match compiler version for 'Intel(R) Fortran Compiler for applications running on IA-32, Version 10.0    Build 20070426 Package ID: l_fc_p_10.0.023\nCopyright (C) 1985-2007 Intel Corporation.  All rights reserved.\nFOR NON-COMMERCIAL USE ONLY\n\n Intel Fortran 10.0-1023'
customize IntelFCompiler using build_clib
building 'dfftpack' library
compiling Fortran sources
Fortran f77 compiler: /opt/intel/fc/10.0.023/bin/ifort -72 -w90 -w95 -KPIC -cm -O3 -unroll -xM -arch SSE2
Fortran f90 compiler: /opt/intel/fc/10.0.023/bin/ifort -FR -KPIC -cm -O3 -unroll -xM -arch SSE2
Fortran fix compiler: /opt/intel/fc/10.0.023/bin/ifort -FI -KPIC -cm -O3 -unroll -xM -arch SSE2
error: file 'dfftpack/*.f' does not exist

It exited here. Any pointers appreciated, thanks.

-rex








More information about the SciPy-Dev mailing list