Re: [Numpy-discussion] Building on WinXP 64-bit, Intel Compilers
Maybe I declared success too soon... The build / install of numpy seems to work (using MS C++ / Intel Fortran), but upon trying to import numpy I get:
from numpy import * Traceback (most recent call last): File "C:\<string>", line 1, in <module> File "C:\Python26\Lib\site-packages\numpy\__init__.py", line 130, in <module> import add_newdocs File "C:\Python26\Lib\site-packages\numpy\add_newdocs.py", line 9, in <module> from lib import add_newdoc File "C:\Python26\Lib\site-packages\numpy\lib\__init__.py", line 161, in <module> from polynomial import * File "C:\Python26\Lib\site-packages\numpy\lib\polynomial.py", line 18, in <module> from numpy.linalg import eigvals, lstsq File "C:\Python26\Lib\site-packages\numpy\linalg\__init__.py", line 47, in <module> from linalg import * File "C:\Python26\Lib\site-packages\numpy\linalg\linalg.py", line 22, in <module> from numpy.linalg import lapack_lite ImportError: DLL load failed: Invalid access to memory location.
To make matters more interesting, a second attempt leads to something different:
from numpy import * Traceback (most recent call last): File "C:\<string>", line 1, in <module> File "C:\Python26\Lib\site-packages\numpy\__init__.py", line 130, in <module> import add_newdocs File "C:\Python26\Lib\site-packages\numpy\add_newdocs.py", line 9, in <module> from lib import add_newdoc File "C:\Python26\Lib\site-packages\numpy\lib\__init__.py", line 161, in <module> from polynomial import * File "C:\Python26\Lib\site-packages\numpy\lib\polynomial.py", line 11, in <module> import numpy.core.numeric as NX AttributeError: 'module' object has no attribute 'core'
Let me know if anyone has any thoughts here. Thanks for the help, ~Mike C.
Hi folks ~ Any thoughts on the below? I n searching the web I found some other references to " ImportError: DLL load failed: Invalid access to memory location" but none specific to Numpy. As an aside: will there be a Windows x64 binary distributed with the next release of Numpy / Scipy? Does anyone have a working installer now? It may be easier to just wait for an official release and use an existing binary in the meantime vs. banging my head against this build.
from numpy import * Traceback (most recent call last): File "C:\<string>", line 1, in <module> File "C:\Python26\Lib\site-packages\numpy\__init__.py", line 130, in <module> import add_newdocs File "C:\Python26\Lib\site-packages\numpy\add_newdocs.py", line 9, in <module> from lib import add_newdoc File "C:\Python26\Lib\site-packages\numpy\lib\__init__.py", line 161, in <module> from polynomial import * File "C:\Python26\Lib\site-packages\numpy\lib\polynomial.py", line 18, in <module> from numpy.linalg import eigvals, lstsq File "C:\Python26\Lib\site-packages\numpy\linalg\__init__.py", line 47, in <module> from linalg import * File "C:\Python26\Lib\site-packages\numpy\linalg\linalg.py", line 22, in <module> from numpy.linalg import lapack_lite ImportError: DLL load failed: Invalid access to memory location.
Thanks for the help, ~Mike C.
On Tue, Feb 3, 2009 at 12:28 AM, Mike Colonno
Hi folks ~
Any thoughts on the below?
It is hard to say, but I suspect a problem in your BLAS/LAPACK because it fails on importing lapack_lite. Your error message is so generic that it does not give any useful information. I have worked quite a bit last december on 64 bits support using the free compilers mingw - it worked OK for the C code, but I have not managed yet to build a numpy with a full BLAS/LAPACK, which required a fortran compiler. Since I can't have access to a fortran compiler on that platform, I can't fix the remaining problems. And nobody stepped in to fix the problems either, David
Hi David,
I used free trials of the Intel and PGI compilers to try to compile an
external BLAS/LAPACK in conjunction with VS 2008. I also had no problems
getting the C code to compile, but couldn't get linking to work succesfully
with fortran stuff. I would not be surprised if we could get a licence from
Intel or PGI to provide a pre-compiled exe.
Hanni
2009/2/2 David Cournapeau
On Tue, Feb 3, 2009 at 12:28 AM, Mike Colonno
wrote: Hi folks ~
Any thoughts on the below?
It is hard to say, but I suspect a problem in your BLAS/LAPACK because it fails on importing lapack_lite. Your error message is so generic that it does not give any useful information.
I have worked quite a bit last december on 64 bits support using the free compilers mingw - it worked OK for the C code, but I have not managed yet to build a numpy with a full BLAS/LAPACK, which required a fortran compiler. Since I can't have access to a fortran compiler on that platform, I can't fix the remaining problems. And nobody stepped in to fix the problems either,
David _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion
On Tue, Feb 3, 2009 at 2:23 AM, Hanni Ali
Hi David,
I used free trials of the Intel and PGI compilers to try to compile an external BLAS/LAPACK in conjunction with VS 2008. I also had no problems getting the C code to compile, but couldn't get linking to work succesfully with fortran stuff. I would not be surprised if we could get a licence from Intel or PGI to provide a pre-compiled exe.
I hope to be able to announce some good news on that front very soon :) David
participants (3)
-
David Cournapeau
-
Hanni Ali
-
Mike Colonno