Re: [Numpy-discussion] Problems building NumPy with GotoBLAS

2011-03-22 Thread Giuseppe Aprea
Hi all, I wonder if Peter finally got Gotoblas working with numpy. I am trying with gotoblas 1.13 installed in the same way: $ ls -R .: include lib ./include: goto ./include/goto: blaswrap.h cblas.h clapack.h f2c.h ./lib: libgoto2.a libgoto2_nehalemp-r1.13.a libgoto2_nehalemp-r1.13.so

[Numpy-discussion] np.histogramdd of empty data

2011-03-22 Thread Nils Becker
Hi, I was wondering why histogram2d and histogramdd raise a ValueError when fed with empty data of the correct dimensions. I came across this as a corner case when calling histogram2d from my own specialized histogram function. In comparison, histogram does handle this case correctly when bins

[Numpy-discussion] Appending a numpy array to binary file

2011-03-22 Thread Alessandro
Hi everybody, I'm trying to append, inside a loop, into a binary file some arrays using numpy.save(file, arr) but wvhen I open it there is only the last array I saved. If I use savetxt it works perfectly. Do you know how can I append data to a binary file inside a loop? Example: x =

Re: [Numpy-discussion] Appending a numpy array to binary file

2011-03-22 Thread Robert Kern
On Tue, Mar 22, 2011 at 05:37, Alessandro alessandro.sangina...@polito.it wrote: Hi everybody, I'm trying to append, inside a loop, into a binary file some arrays using numpy.save(file, arr) but wvhen I open it there is only the last array I saved. If I use savetxt it works perfectly. Do

[Numpy-discussion] git tag question/warning

2011-03-22 Thread Ralf Gommers
Hi, After tagging 1.6.0b1 and pushing it I found some issues that only showed up with released=True in setup.py. According to the docs at http://www.kernel.org/pub/software/scm/git/docs/git-tag.html there is a sane (just make a new tag) and an insane (delete tag, reuse same tag) way to deal with

Re: [Numpy-discussion] git tag question/warning

2011-03-22 Thread Mark Wiebe
I noticed that the nditer documentation didn't get linked properly, this fixes it. You might want to cherry-pick the patch I committed to master so it shows up. -Mark On Tue, Mar 22, 2011 at 10:29 AM, Ralf Gommers ralf.gomm...@googlemail.comwrote: Hi, After tagging 1.6.0b1 and pushing it I

[Numpy-discussion] Compiling numpy using icc gets missing library error

2011-03-22 Thread Hoyt Koepke
Hello, I've been trying out intel's compiler with python and so far things have been going pretty well. I managed to compile python 2.7.1 with icc (with help from http://software.intel.com/en-us/forums/showthread.php?t=56652), so distutils automatically defaults to the icc compiler. So far a

[Numpy-discussion] fast robus implementation of float()

2011-03-22 Thread Christian K.
Hi, I wonder if someone has a good solution for a fast conversion of gridded ascii data to ndarray. It should manage ',' as decimal point (on demand) and special windows numbers as 1.#INF. Of course, this is easy to wrap in a small function but I expect it to be slow when the input size is in

Re: [Numpy-discussion] Problems building NumPy with GotoBLAS

2011-03-22 Thread Paul Anton Letnes
I'm no expert, but I just pulled off the scipy+numpy+GotoBLAS2 installation. From what I gather, the Makefile for libgoto2 downloads and compiles the generic lapack from netlib. It also wraps lapack into libgoto2.so/.a. I believe the idea is as long as the BLAS implementation is fast(TM), the

Re: [Numpy-discussion] fast robus implementation of float()

2011-03-22 Thread Christopher Barker
On 3/22/11 1:54 PM, Christian K. wrote: I wonder if someone has a good solution for a fast conversion of gridded ascii data to ndarray. the fastest out of the box way is with np.fromfile(input_file, sep= , dtype=np.float) It will only read multiple lines if the separater is whitespace, but

Re: [Numpy-discussion] git tag question/warning

2011-03-22 Thread Charles R Harris
On Tue, Mar 22, 2011 at 11:29 AM, Ralf Gommers ralf.gomm...@googlemail.comwrote: Hi, After tagging 1.6.0b1 and pushing it I found some issues that only showed up with released=True in setup.py. According to the docs at http://www.kernel.org/pub/software/scm/git/docs/git-tag.html there is a