[Numpy-discussion] successful Windows x64 build with acml-5.3.1 ifort64 static libs passes tests

Mark Mikofski bwana.marko at yahoo.com
Wed Oct 22 19:54:49 EDT 2014


* Either windows sdk 7 or ms visual studio 2008 is required, however Fortran compilers are not.* Download acml5.3.1-ifort64.exe from http://developer.amd.com/tools-and-sdks/cpu-development/amd-core-math-library-acml/acml-downloads-resources/ and it extracts to c:\AMD\acml5.3.1
* NOTE: There is also a newer acml-6.0.6.17-ifort64 update but it only includes dynamic libraries which depend on msvcr110 (visual studio 2013).
* NOTE: There are several other optional libs incl. ifort64-mt, ifort64-fma4, ifort64-mp and ifort64-fma4-mp* System info: Windows-7 (64bit), python-2.7.6, numpy-1.9.0, virtualenv-1.11.5, nose-1.3.4* create site.cfg with:
[amd]amd_libs = libacml, libifcoremd, libifportmd, libirc, libmmd, libsvml_disp, libsvml_dispmdlibrary_dirs = C:\AMD\acml5.3.1\ifort64\libinclude_dirs = C:\AMD\acml5.3.1\ifort64\include[blas]blas_libs = libacml, libifcoremd, libifportmd, libirc, libmmd, libsvml_disp, libsvml_dispmdlibrary_dirs = C:\AMD\acml5.3.1\ifort64\libinclude_dirs = C:\AMD\acml5.3.1\ifort64\include[lapack]lapack_libs = libacml, libifcoremd, libifportmd, libirc, libmmd, libsvml_disp, libsvml_dispmdlibrary_dirs = C:\AMD\acml5.3.1\ifort64\libinclude_dirs = C:\AMD\acml5.3.1\ifort64\include
* activate virtualenv and inside extracted numpy-1.9.0 folder find setup.py and run it with the following commands
(venv) numpy-1.9.0/numpy-1.9.0 $python setup.py config --compiler=msvc
* start python, import numpy and run numpy.test()Ran 5458 tests in 29.346s
OK (KNOWNFAIL=10, SKIP=18)<nose.result.TextTestResult run=5458 errors=0 failures=0> “As I breath in, I calm my body, as I breath out, I smile” - Thich_Nhat_Hanh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20141022/a7ba0b10/attachment.html>


More information about the NumPy-Discussion mailing list