Re: [Numpy-discussion] MKL with 64bit crashes

2009-10-15 Thread Kashyap Ashwin
s, are you sure you currently do? Matthieu 2009/10/15 Kashyap Ashwin : > I followed the advice given by the Intel MKL link adviser > (http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/) > > This is my new site.cfg: > mkl_libs = mkl_intel_ilp64, mkl_gnu_thread, mkl

Re: [Numpy-discussion] MKL with 64bit crashes

2009-10-15 Thread Kashyap Ashwin
ur message: On Thu, Oct 15, 2009 at 8:04 AM, Kashyap Ashwin wrote: > Hello, > I compiled numpy-1.3.0 from sources on Ubuntu-hardy, x86-64 (Intel) with > MKL. > This is my site.cfg: > [mkl] > # library_dirs = /opt/intel/mkl/10.0.1.014/lib/32/ > library_dirs = /opt/intel/mkl/10.2

[Numpy-discussion] MKL with 64bit crashes

2009-10-14 Thread Kashyap Ashwin
Hello, I compiled numpy-1.3.0 from sources on Ubuntu-hardy, x86-64 (Intel) with MKL. This is my site.cfg: [mkl] # library_dirs = /opt/intel/mkl/10.0.1.014/lib/32/ library_dirs = /opt/intel/mkl/10.2.2.025/lib/em64t include_dirs = /opt/intel/mkl/10.2.2.025/include lapack_libs = mkl_lapack #mkl_libs =

[Numpy-discussion] Numpy large array bug

2009-09-21 Thread Kashyap Ashwin
Also, what about PyArray_PutMask() That function also has a line like "int i, chunk, ni, max_item, nv, tmp;" Should that be changed as well? (Your patch does not fix my original issue.) BTW, in numpy 1.3, that is present in numpy/core/src/multiarraymodule.c. Can someone please give me a te

Re: [Numpy-discussion] Numpy large array bug

2009-09-21 Thread Kashyap Ashwin
Yes, it happens for the trunk as well. > > import numpy as np > > > > a=np.zeros((2*1024*1024*1024 + 1), dtype="uint8") > > > > a[:]=1 > > # returns immediately > > > > a.mean() > > > > 0.0 > > print a > > > > [0 0 0 ..., 0 0 0] > > The bug only happens when the nElements > 2G (2^31). So for

[Numpy-discussion] Numpy large array bug

2009-09-21 Thread Kashyap Ashwin
Hello, I have downloaded numpy 1.3rc2 sources and compiled it on Ubuntu Hardy Linux x86_64. numpy.test() seems to run ok as well. Here is the bug I can reproduce import numpy as np a=np.zeros((2*1024*1024*1024 + 1), dtype="uint8") a[:]=1 # returns immediately a.mean() 0.0 p