[Numpy-tickets] [NumPy] #244: Build fails with Intel Visual Fortran compiler

NumPy numpy-tickets@scipy....
Mon May 21 06:57:17 CDT 2007


#244: Build fails with Intel Visual Fortran compiler
-----------------------------+----------------------------------------------
 Reporter:  albertstrasheim  |        Owner:  pearu
     Type:  defect           |       Status:  new  
 Priority:  normal           |    Milestone:  1.1  
Component:  numpy.distutils  |      Version:  devel
 Severity:  normal           |   Resolution:       
 Keywords:                   |  
-----------------------------+----------------------------------------------
Comment (by albertstrasheim):

 Looks like it's almost there, but not quite.

 Firstly, a minor issue. I see stuff like this scrolling past:

 {{{
 Fortran f77 compiler: ifl -FI -w90 -w95 /w
 """""""""""""""""""""""/I:C:\Program
 Files\VNI\CTT6.0\include\IA32""""""""""""""""""""""" /fpe:3 /nologo /O3
 /Qip /Qipo /Qipo_obj /QaxM

 Fortran f77 compiler: ifl -FI -w90 -w95 /w
 """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""/I:C:\Program
 Files\VNI\CTT6.0\include\IA32""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 /fpe:3 /nologo /O3 /Qip /Qipo /Qipo_obj /QaxM
 }}}

 The build proceeds for a while and then fails eventually with:

 {{{
    Creating library
 build\temp.win32-2.4\Release\build\src.win32-2.4\Lib\fftpack\_fftpack.lib
 and object
 build\temp.win32-2.4\Release\build\src.win32-2.4\Lib\fftpack\_fftpack.exp
 zfft.obj : error LNK2019: unresolved external symbol _destroy_zmkl_caches
 referenced in function _destroy_zfft_cache
 drfft.obj : error LNK2019: unresolved external symbol _dfftb_ referenced
 in function _drfft
 drfft.obj : error LNK2019: unresolved external symbol _dfftf_ referenced
 in function _drfft
 drfft.obj : error LNK2019: unresolved external symbol _dffti_ referenced
 in function _get_cache_id_dfftpack
 build\lib.win32-2.4\scipy\fftpack\_fftpack.pyd : fatal error LNK1120: 4
 unresolved externals
 error: Command ""C:\Program Files\Microsoft Visual Studio .NET
 2003\Vc7\bin\link.exe" /DLL /nologo /INCREMENTAL:NO /DEBUG
 "/LIBPATH:C:\Program Files\Intel\MKL\9.0\ia32\lib"
 /LIBPATH:C:\Python24\libs /LIBPATH:C:\Python24\PCBuild
 /LIBPATH:build\temp.win32-2.4 dfftpack.lib mkl_c.lib libguide40.lib
 /EXPORT:init_fftpack
 build\temp.win32-2.4\Release\build\src.win32-2.4\Lib\fftpack\_fftpackmodule.obj
 build\temp.win32-2.4\Release\Lib\fftpack\src\zfft.obj
 build\temp.win32-2.4\Release\Lib\fftpack\src\drfft.obj
 build\temp.win32-2.4\Release\Lib\fftpack\src\zrfft.obj
 build\temp.win32-2.4\Release\Lib\fftpack\src\zfftnd.obj
 build\temp.win32-2.4\Release\build\src.win32-2.4\fortranobject.obj
 /OUT:build\lib.win32-2.4\scipy\fftpack\_fftpack.pyd
 /IMPLIB:build\temp.win32-2.4\Release\build\src.win32-2.4\Lib\fftpack\_fftpack.lib"
 failed with exit status 1120
 }}}

 Not quite sure what's going on here. The site.cfg in my NumPy root
 contains:

 {{{
 [mkl]
 include_dirs = C:\Program Files\Intel\MKL\9.0\include
 library_dirs = C:\Program Files\Intel\MKL\9.0\ia32\lib
 mkl_libs = mkl_c, libguide40
 lapack_libs = mkl_lapack
 }}}

 Looks like this same site.cfg gets used to build SciPy.

-- 
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/244#comment:3>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list