Re: [Numpy-discussion] matrix multipln takes too much time

2007-12-25 Thread Louis Wicker
Hi there - quick suggestion on Xmas morning - others are much more familar. You do not want to use a loop to do the matrix multiply, you want to use the intrinsic functions assoicated with matrix. So you want something like res = Math.abs( matmul(arrayone, arraytwo) ) note - that is not r

Re: [Numpy-discussion] large memory address space on Mac OS X (intel)

2007-02-01 Thread Louis Wicker
Robert: thanks - I appreciate the advice, and hopefully a) Leopard will get here in a few months, and b) that will fix this. cheers! Lou Wicker On Feb 1, 2007, at 3:11 PM, Robert Kern wrote: Louis Wicker wrote: Sebastian: that code helps a lot. A standard gcc (no flags) of that code

Re: [Numpy-discussion] large memory address space on Mac OS X (intel)

2007-02-01 Thread Louis Wicker
Sebastian: that code helps a lot. A standard gcc (no flags) of that code breaks, but if you compile it with gcc -m64, you can address large memory spaces. So I will try and compile numpy with -m64 Lou On Feb 1, 2007, at 2:01 PM, Sebastian Haase wrote: #include #include int main()

Re: [Numpy-discussion] large memory address space on Mac OS X (intel)

2007-02-01 Thread Louis Wicker
Thanks Robert thats kinda what I thought. Since Leopard is not far off, then by summer things will be fine, I hope... L On Feb 1, 2007, at 1:48 PM, Robert Kern wrote: Travis Oliphant wrote: Louis Wicker wrote: Dear list: I cannot seem to figure how to create arrays > 2 GB on a

Re: [Numpy-discussion] large memory address space on Mac OS X (intel)

2007-02-01 Thread Louis Wicker
Travis: quick follow up: Mac Pro's currently have the dual-core 5100 Xeon (two processors, two cores each), the 5300 Xeon's (quad-core) are coming in a few weeks, we think. Lou On Feb 1, 2007, at 1:41 PM, Travis Oliphant wrote: Louis Wicker wrote: Dear list: I cannot seem

Re: [Numpy-discussion] large memory address space on Mac OS X (intel)

2007-02-01 Thread Louis Wicker
- Leopard is supposed to be pretty darn close. Is there a numpy flag I could try for compilation Lou On Feb 1, 2007, at 1:41 PM, Travis Oliphant wrote: Louis Wicker wrote: Dear list: I cannot seem to figure how to create arrays > 2 GB on a Mac Pro (using Intel chip and Tiger,

[Numpy-discussion] large memory address space on Mac OS X (intel)

2007-02-01 Thread Louis Wicker
Dear list: I cannot seem to figure how to create arrays > 2 GB on a Mac Pro (using Intel chip and Tiger, 4.8). I have hand compiled both Python 2.5 and numpy 1.0.1, and cannot make arrays bigger than 2 GB. I also run out of space if I try and 3-6 several arrays of 1000 mb or so (the mem