[Numpy-discussion] compiling and linking MKL with numpy/scipy

2011-11-22 Thread Xavier Barthelemy
dear everyone, I am hard trying to compile numpy / and scipy with mkl. unfortunately it does not work. i have tried a lot of solution, and the closest for me to work is: *I have * Linux manning 2.6.32-27-server #49-Ubuntu SMP Thu Dec 2 02:05:21 UTC 2010 x86_64 GNU/Linux python -c 'import

[Numpy-discussion] bug in reshape ?

2011-11-22 Thread josef . pktd
might be an old story np.__version__ - '1.5.1' It thought for once it's easier to use reshape to add a new axis instead of ...,None but my results got weird (normal(0,1) sample of 2.13795875e-314) x = 1 y = np.arange(3) z = np.arange(2)[:,None] np.broadcast(x,y,z) numpy.broadcast object at

Re: [Numpy-discussion] bug in reshape ?

2011-11-22 Thread Friedrich Romstedt
2011/11/23 josef.p...@gmail.com: might be an old story np.__version__  - '1.5.1' I have only a numpy 1.4.1 for testing atm, but I believe this corner case never occured and hence never got fixed since then. Confirming your issue on that. It thought for once it's easier to use reshape to add

Re: [Numpy-discussion] compiling and linking MKL with numpy/scipy

2011-11-22 Thread Xavier Barthelemy
Dear everyone I have been a bit better patching the files I finally get something in .basrc source /opt/intel/composer_xe_2011_sp1.7.256/bin/compilervars.sh intel64 source /opt/intel/composer_xe_2011_sp1.7.256/mkl/bin/mklvars.sh intel64 lp64 export OMP_NUM_THREADS=4 export