[Numpy-discussion] Building numpy on Windows 64-bit BLAS/LAPACK

Hanni Ali hanni.ali@gmail....
Fri Nov 21 03:37:35 CST 2008


Hi,

I have spent some time trying to use different methods to build numpyon
Windows 64bit with a version of BLAS/LAPACK other than the inbuilt one (no
slur on the inbuilt one it is excellent, I am simply attempting to see if
there is any alternative with better performance). The most recent i have
tried is from here: http://icl.cs.utk.edu/lapack-for-windows/index.html

I used the installer and set the site.cfg file up in the following manner:


[blas]
library_dirs = C:\Program Files (x86)\University Of Tennessee\LAPACK
3.1.1\lib\x64
blas_libs = BLAS
include_dirs = C:\Program Files (x86)\University Of Tennessee\LAPACK
3.1.1\src
[lapack]
language = f77
lapack_libs = LAPACK
library_dirs = C:\Program Files (x86)\University Of Tennessee\LAPACK
3.1.1\lib\x64
include_dirs = C:\Program Files (x86)\University Of Tennessee\LAPACK
3.1.1\src

I have installed both intel's and pgi's fortran compilers in an attempt to
get numpy to complete a compilation using these libraries, but have not been
successful, both trip up at this point:

lapack_litemodule.obj : warning LNK4197: export 'initlapack_lite' specified
mult
iple times; using first specification
   Creating library build\temp.win-amd64-2.6\Release\numpy\linalg\
lapack_lite.li
b and object build\temp.win-amd64-2.6\Release\numpy\linalg\lapack_lite.exp
lapack_litemodule.obj : error LNK2019: unresolved external symbol dgeev_
referen
ced in function lapack_lite_dgeev
lapack_litemodule.obj : error LNK2019: unresolved external symbol dsyevd_
refere
nced in function lapack_lite_dsyevd
lapack_litemodule.obj : error LNK2019: unresolved external symbol zheevd_
refere
nced in function lapack_lite_zheevd
lapack_litemodule.obj : error LNK2019: unresolved external symbol dgelsd_
refere
nced in function lapack_lite_dgelsd
lapack_litemodule.obj : error LNK2019: unresolved external symbol dgesv_
referen
ced in function lapack_lite_dgesv
lapack_litemodule.obj : error LNK2019: unresolved external symbol dgesdd_
refere
nced in function lapack_lite_dgesdd
lapack_litemodule.obj : error LNK2019: unresolved external symbol dgetrf_
refere
nced in function lapack_lite_dgetrf
lapack_litemodule.obj : error LNK2019: unresolved external symbol dpotrf_
refere
nced in function lapack_lite_dpotrf
lapack_litemodule.obj : error LNK2019: unresolved external symbol dgeqrf_
refere
nced in function lapack_lite_dgeqrf
lapack_litemodule.obj : error LNK2019: unresolved external symbol dorgqr_
refere
nced in function lapack_lite_dorgqr
lapack_litemodule.obj : error LNK2019: unresolved external symbol zgeev_
referen
ced in function lapack_lite_zgeev
lapack_litemodule.obj : error LNK2019: unresolved external symbol zgelsd_
refere
nced in function lapack_lite_zgelsd
lapack_litemodule.obj : error LNK2019: unresolved external symbol zgesv_
referen
ced in function lapack_lite_zgesv
lapack_litemodule.obj : error LNK2019: unresolved external symbol zgesdd_
refere
nced in function lapack_lite_zgesdd
lapack_litemodule.obj : error LNK2019: unresolved external symbol zgetrf_
refere
nced in function lapack_lite_zgetrf
lapack_litemodule.obj : error LNK2019: unresolved external symbol zpotrf_
refere
nced in function lapack_lite_zpotrf
lapack_litemodule.obj : error LNK2019: unresolved external symbol zgeqrf_
refere
nced in function lapack_lite_zgeqrf
lapack_litemodule.obj : error LNK2019: unresolved external symbol zungqr_
refere
nced in function lapack_lite_zungqr
build\lib.win-amd64-2.6\numpy\linalg\lapack_lite.pyd : fatal error LNK1120:
18 u
nresolved externals
error: Command "C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\BIN\amd64\
link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:"C:\Program Files
(x86)\Universit
y Of Tennessee\LAPACK 3.1.1\lib\x64" /LIBPATH:C:\Python26\libs
/LIBPATH:C:\Pytho
n26\PCbuild\amd64 LAPACKd.lib BLASd.lib /EXPORT:initlapack_lite
build\temp.win-a
md64-2.6\Release\numpy\linalg\lapack_litemodule.obj
/OUT:build\lib.win-amd64-2.6
\numpy\linalg\lapack_lite.pyd
/IMPLIB:build\temp.win-amd64-2.6\Release\numpy\lin
alg\lapack_lite.lib
/MANIFESTFILE:build\temp.win-amd64-2.6\Release\numpy\linalg\
lapack_lite.pyd.manifest" failed with exit status 1120


I appreciate any help or ideas anyone has,

Cheers,

Hanni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20081121/0c5d0077/attachment.html 


More information about the Numpy-discussion mailing list