Greetings EveryOne,
I am compiling SciPy (With BLAS and LAPACK Support) with the following
1: Python2.7
2: VC8
3: Intel Fortran
I start compiling with this commands :
1: set BLAS=F:\scipy\scipy-0.10.1\blas.lib
2: set LAPACK=F:\scipy\scipy-0.10.1\lapack.lib
(The blas.lib and lapack.lib I have copied from intel installation C:\Program
Files (x86)\Intel\Composer XE 2011 SP1\mkl\lib\intel64\mkl_blas95_lp64.lib
and C:\Program Files (x86)\Intel\Composer XE 2011
SP1\mkl\lib\intel64\mkl_blas95_lp64.lib
respectively)
3: python setup.py install
Seems like the compilation goes fine but I am getting issue while linking
*link command:*
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\amd64\link.exe
/DLL /nologo /INCREMENTAL:NO /LIBPATH:F:\scipy\scipy-0.10.1
/LIBPATH:F:\TeamcityBuilds\FluxBuilds\AFD15.0\CPython\2_7_3\winx64\Release\python\libs
/LIBPATH:F:\TeamcityBuilds\FluxBuilds\AFD15.0\CPython\2_7_3\winx64\Release\python\PCbuild\amd64
/LIBPATH:build\temp.win-amd64-2.7
/LIBPATH:F:\TeamcityBuilds\FluxBuilds\AFD15.0\CPython\2_7_3\winx64\Release\python\libs
/LIBPATH:F:\TeamcityBuilds\FluxBuilds\AFD15.0\CPython\2_7_3\winx64\Release\python\PCbuild\amd64
/LIBPATH:build\temp.win-amd64-2.7 odepack.lib linpack_lite.lib mach.lib
blas.lib python27.lib /EXPORT:init_odepack
build\temp.win-amd64-2.7\Release\scipy\integrate\_odepackmodule.obj
/OUT:build\lib.win-amd64-2.7\scipy\integrate\_odepack.pyd
/IMPLIB:build\temp.win-amd64-2.7\Release\scipy\integrate\_odepack.lib
/MANIFESTFILE:build\temp.win-amd64-2.7\Release\scipy\integrate\_odepack.pyd.manifest
*Error:*
Found executable C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\BIN\amd64\link.exe
_odepackmodule.obj : warning LNK4197: export 'init_odepack' specified
multiple times; using first specification
Creating library
build\temp.win-amd64-2.7\Release\scipy\integrate\_odepack.lib and object
build\temp.win-amd64-2.7\Release\scipy\integrate\_odepack.exp
odepack.lib(vode.o) : error LNK2019: unresolved external symbol dcopy_
referenced in function dvode_
odepack.lib(vode.o) : error LNK2019: unresolved external symbol dscal_
referenced in function dvode_
linpack_lite.lib(dgbfa.o) : error LNK2001: unresolved external symbol dscal_
linpack_lite.lib(dgefa.o) : error LNK2001: unresolved external symbol dscal_
linpack_lite.lib(dgesl.o) : error LNK2001: unresolved external symbol daxpy_
odepack.lib(vode.o) : error LNK2019: unresolved external symbol daxpy_
referenced in function dvstep_
linpack_lite.lib(dgbfa.o) : error LNK2001: unresolved external symbol daxpy_
linpack_lite.lib(dgefa.o) : error LNK2001: unresolved external symbol daxpy_
linpack_lite.lib(dgbsl.o) : error LNK2001: unresolved external symbol daxpy_
linpack_lite.lib(dgbfa.o) : error LNK2019: unresolved external symbol
idamax_ referenced in function dgbfa_
linpack_lite.lib(dgefa.o) : error LNK2001: unresolved external symbol
idamax_
linpack_lite.lib(dgbsl.o) : error LNK2019: unresolved external symbol ddot_
referenced in function dgbsl_
linpack_lite.lib(dgesl.o) : error LNK2001: unresolved external symbol ddot_
build\lib.win-amd64-2.7\scipy\integrate\_odepack.pyd : fatal error LNK1120:
5 unresolved externals
error: Command "C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\BIN\amd64\link.exe /DLL /nologo /INCREMENTAL:NO
/LIBPATH:F:\scipy\scipy-0.10.1
/LIBPATH:F:\TeamcityBuilds\FluxBuilds\AFD15.0\CPython\2_7_3\winx64\Release\python\libs
/LIBPATH:F:\TeamcityBuilds\FluxBuilds\AFD15.0\CPython\2_7_3\winx64\Release\python\PCbuild\amd64
/LIBPATH:build\temp.win-amd64-2.7
/LIBPATH:F:\TeamcityBuilds\FluxBuilds\AFD15.0\CPython\2_7_3\winx64\Release\python\libs
/LIBPATH:F:\TeamcityBuilds\FluxBuilds\AFD15.0\CPython\2_7_3\winx64\Release\python\PCbuild\amd64
/LIBPATH:build\temp.win-amd64-2.7 odepack.lib linpack_lite.lib mach.lib
blas.lib python27.lib /EXPORT:init_odepack
build\temp.win-amd64-2.7\Release\scipy\integrate\_odepackmodule.obj
/OUT:build\lib.win-amd64-2.7\scipy\integrate\_odepack.pyd
/IMPLIB:build\temp.win-amd64-2.7\Release\scipy\integrate\_odepack.lib
/MANIFESTFILE:build\temp.win-amd64-2.7\Release\scipy\integrate\_odepack.pyd.manifest"
failed with exit status 1120
I have also attached the log file for more details. I will really
appreciate if someone tell me the exact steps I should follow.
Thanks.
Santosh