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

2011-11-23 Thread Xavier Barthelemy
thanks it was in the order when linking mkl libs: everything above is ok, with mkl_libs = mkl_def, mkl_intel_lp64 , mkl_intel_thread, mkl_core, mkl_mc thanks xavier 2011/11/24 Olivier Delalleau > I attached a site.cfg file for numpy 1.3 compiled with MKL on some Linux > 64 bit architecture, in

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

2011-11-23 Thread Olivier Delalleau
I attached a site.cfg file for numpy 1.3 compiled with MKL on some Linux 64 bit architecture, in case it might help. I always had trouble getting programs (other than numpy though) to link and execute properly with MKL. You might also try to play with LD_PRELOAD. Good luck, -=- Olivier 2011/11/23

Re: [Numpy-discussion] dtype and pep3118

2011-11-23 Thread Fabrice Silva
Le mercredi 23 novembre 2011 à 15:52 +0100, Pauli Virtanen a écrit : > > >>> dtype = [('t11', '|f8'), ('t22', '|f8'), ('t33', '|f8'), > ... ('t23', '|f8'), ('t13', '|f8'), ('t12', '|f8')] > >>> x = np.zeros([1], dtype=dtype) > >>> memoryview(x).format > 'T{d:t11:d:t22:d:t33:d:t23:d:t13:d:

Re: [Numpy-discussion] dtype and pep3118

2011-11-23 Thread Pauli Virtanen
23.11.2011 15:01, Fabrice Silva kirjoitti: > Hi folks, > how should I specify a PEP3118 buffer format that could be understand by > numpy as the following dtype: > > dtype = [('t11', '|f8'), ('t22', '|f8'), ('t33', '|f8'), > ('t23', '|f8'), ('t13', '|f8'), ('t12', '|f8')] > > so that I c

[Numpy-discussion] dtype and pep3118

2011-11-23 Thread Fabrice Silva
Hi folks, how should I specify a PEP3118 buffer format that could be understand by numpy as the following dtype: dtype = [('t11', '|f8'), ('t22', '|f8'), ('t33', '|f8'), ('t23', '|f8'), ('t13', '|f8'), ('t12', '|f8')] so that I can manipulate a structured array and its fields ? I tried