Re: [Numpy-discussion] Setting runtime_library_dirs while building numpy

2006-11-03 Thread Karol Langner
les by adding the following to setup.cfg: > [build_ext] > rpath= > > But, this doesn't work for numpy-1.0. Is there another way to do this? try something like this in your site.cfg: [atlas] library_dirs = include_dirs = atlas_libs = Karol -- written by Karol La

Re: [Numpy-discussion] libblas error with NumPy 1.0rc2 on Python 2.5 and Red Hat 9

2006-10-11 Thread Karol Langner
consistencies in the compilers used, i .e. a different one was used for building the blas libraries by RH and by you for numpy. Try adding g2c to the list of libraries. There's a comment about it in the scipy FAQ: http://www.scipy.org/FAQ#head-26562f0a9e046b53eae17de300fc06408f9c91a8 Karol -

Re: [Numpy-discussion] AMD & UMFpack in numpy

2006-10-09 Thread Karol Langner
On Monday 09 of October 2006 20:15, Karol Langner wrote: > Can someone give me a hint as to where in numpy the AMD and UMFpack > libraries are used, if at all? I ask, because they have their respective > sections in site.cfg.example in the trunk. > > Karol One more thing - should

Re: [Numpy-discussion] problem with lapack_lite / BLAS

2006-10-09 Thread Karol Langner
On Saturday 07 of October 2006 20:32, Pauli Virtanen wrote: > la, 2006-10-07 kello 20:01 +0200, Karol Langner kirjoitti: > > I still get a floating point exception when running the numpy tests, > > though. I haven't checked out numpy for some time, so I don't now if it&#

[Numpy-discussion] AMD & UMFpack in numpy

2006-10-09 Thread Karol Langner
Can someone give me a hint as to where in numpy the AMD and UMFpack libraries are used, if at all? I ask, because they have their respective sections in site.cfg.example in the trunk. Karol -- written by Karol Langner pon paź 9 20:13:25 CEST 2006

Re: [Numpy-discussion] ide for python/numpy/scipy/mpl, development ?

2006-10-09 Thread Karol Langner
have WingIDE installed and like it alot! I don't actually use it as my main ide, but might in the future. Currently I use Kile (the LaTeX front-end from KDE), but it doesn't have any python-specific features. Karol -- written by Karol

Re: [Numpy-discussion] problem with lapack_lite / BLAS

2006-10-07 Thread Karol Langner
On Saturday 07 of October 2006 15:00, Karol Langner wrote: > > > From: [EMAIL PROTECTED] [mailto:numpy- > > > [EMAIL PROTECTED] On Behalf Of Karol Langner > > > Sent: 07 October 2006 14:07 > > > To: NumPy List > > > Subject: [Numpy-discussion] problem

Re: [Numpy-discussion] problem with lapack_lite / BLAS

2006-10-07 Thread Karol Langner
On Saturday 07 of October 2006 14:20, Albert Strasheim wrote: > Hello all > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:numpy- > > [EMAIL PROTECTED] On Behalf Of Karol Langner > > Sent: 07 October 2006 14:07 > > To: NumPy List > >

[Numpy-discussion] problem with lapack_lite / BLAS

2006-10-07 Thread Karol Langner
line 25, in from numpy.linalg import lapack_lite ImportError: /home/langner/apps/python/lib/python2.5/site-packages/numpy/linalg/lapack_lite.so: undefined symbol: xerbla_ Does anyone know where this comes from? Cheers, Karol -- written by Karol Langner Sat Oct 7 14:02:46 CEST 2006 ---

Re: [Numpy-discussion] Examples of basic C API usage?

2006-08-08 Thread Karol Langner
them. So far my attempts to call PyArray_SimpleNewFromData all result > in segfaults. > Anyone have such an example? > > --Bill Have you looked here? http://numeric.scipy.org/numpydoc/numpy-13.html#pgfId-36640 Karol -- written by Karol Langner

Re: [Numpy-discussion] Bug in memmap/python allocation code?

2006-07-24 Thread Karol Langner
\ PyArray_MultiplyList(dims.ptr, dims.len)) { PyErr_SetString(PyExc_TypeError, "buffer is too small for " \ "requested array");

Re: [Numpy-discussion] trivial question: how to compare dtype - but ignoring byteorder ?

2006-07-24 Thread Karol Langner
yte order* ?! > I thought it was odd that numpy could only tell me the type was "less > than f4", which I assumed must be shorthand for "less than or equal to > f4". Makes much more sense now! > > --bb Yep! And there are then four possiblities. '>'

Re: [Numpy-discussion] trivial question: how to compare dtype - but ignoring byteorder ?

2006-07-24 Thread Karol Langner
x27; Hi, Looks like I need to upgrade my working version or something... >>> import numpy as N >>> N.__version__ '0.9.8' >>> a=N.arange(10, dtype=N.float32) >>> a.dtype == N.float32 False Cheers, Karol -- written by Karol Langner pon lip 24 20:36:05 C

Re: [Numpy-discussion] trivial question: how to compare dtype - but ignoring byteorder ?

2006-07-24 Thread Karol Langner
On Monday 24 July 2006 06:47, Sebastian Haase wrote: > Hi, > if I have a numpy array 'a' > and say: > a.dtype == numpy.float32 > > Is the result independent of a's byteorder ? > (That's what I would expect ! Just checking !) > > Thanks, > Sebastian Haase The condition will always be False, because

Re: [Numpy-discussion] Array interface and builtin array.array example

2006-07-12 Thread Karol Langner
On Wednesday 12 July 2006 16:00, Thomas Heller wrote: > Karol Langner schrieb: > > On Wednesday 12 July 2006 13:29, Thomas Heller wrote: > >> Sasha schrieb: > >> > I had similar hopes when I submited the array interface patch > >> > <https://sour

Re: [Numpy-discussion] Array interface and builtin array.array example

2006-07-12 Thread Karol Langner
used on a common effort, it would be more effecient and probably make a stronger impression. I created a page about it at http://scipy.org/BaseArray, and will be adding more information very soon. Contribution and comments from annyone interested are very welcome. I really hope we can get this movi

[Numpy-discussion] basearray

2006-06-25 Thread Karol Langner
u informed on my progress and ask about things that may need concensus (although I'm not sure which lists will be the most interested in this). Please note that I am still in the phase of completing the minimal type, so the svn repository does not contain a working example, yet. Regards

Re: [Numpy-discussion] addressing a submatrix

2006-06-14 Thread Karol Langner
0, 0], [0, 1, 1, 1, 0], [0, 1, 1, 1, 0], [0, 1, 1, 1, 0], [0, 0, 0, 0, 0]]) Cheers, Karol -- written by Karol Langner śro cze 14 11:49:35 CEST 2006 ___ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion

Re: [Numpy-discussion] addressing a submatrix

2006-06-14 Thread Karol Langner
ke((1,2,3),axis=0) array([[1, 2, 3, 4, 5], [2, 3, 4, 5, 6], [3, 4, 5, 6, 7]]) >>> a.take((1,2,3),axis=0).take((2,3),axis=1) array([[3, 4], [4, 5], [5, 6]]) Cheers, Karol -- written by Karol Langner śro cze 14 11:27:33 CEST 2006 ___