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

2007-02-02 Thread David Douard
On Thu, Feb 01, 2007 at 01:33:23PM -0600, Louis Wicker wrote: > Dear list: Hi, may I suggest you to read this? http://orange.blender.org/blog/stupid-memory-problems It worth a read. David > > I cannot seem to figure how to create arrays > 2 GB on a Mac Pro > (using Intel chip and Tiger, 4.

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 Robert Kern
Louis Wicker wrote: > 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 It won't work. Your Python is not compiled as a 64-bit program

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 Sebastian Haase
Here is a small c program that we used more than a year ago to confirm that tiger is really doing a 64-bit malloc (on G5). #include #include int main() { size_t n; void *p; double gb; for(gb=10;gb>.3;gb-=.5) { n= 1024L * 1024L * 1024L * gb; p = malloc( n ); printf("%12

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

2007-02-01 Thread Sebastian Haase
Here is a small c program that we used more than a year ago to confirm that tiger is really doing a 64-bit malloc (on G5). #include #include int main() { size_t n; void *p; double gb; for(gb=10;gb>.3;gb-=.5) { n= 1024L * 1024L * 1024L * gb; p = malloc( n ); printf(

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

2007-02-01 Thread Travis Oliphant
Louis Wicker wrote: > Travis: > > yes it does. Its the Woodcrest server chip > > which > supports 32 and 64 bit operations. For example the new Intel Fortran > compiler can grab more than 2 GB of memory (its a

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 Mac Pro

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 to figure h

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

2007-02-01 Thread Louis Wicker
Travis: yes it does. Its the Woodcrest server chip which supports 32 and 64 bit operations. For example the new Intel Fortran compiler can grab more than 2 GB of memory (its a beta10 version). I think gcc 4.x can as well. However, Tiger (OS X 10.4.x) is not completely 64 bit compliant

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

2007-02-01 Thread Robert Kern
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, 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 spac

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

2007-02-01 Thread Travis Oliphant
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, 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

[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