More efficient array processing

John [H2O] washakie at gmail.com
Thu Oct 23 14:44:04 EDT 2008


Thanks for the clarification.

What is strange though, is that I have several Fortran programs that create
the exact same array srtucture... wouldn't they be restricted to the 2Gb
limit as well?

Thoughts on a more efficient work around?


Marc 'BlackJack' Rintsch wrote:
> 
> On Thu, 23 Oct 2008 11:11:32 -0700, John [H2O] wrote:
> 
>> I'm trying to do the following:
>> 
>> datagrid = numpy.zeros(360,180,3,73,20)
>> 
>> But I get an error saying that the dimensions are too large? Is there a
>> memory issue here?
> 
> Let's see:
> 
> You have: 360 * 180 * 3 * 73 * 20 * 8 bytes
> You want: GiB
>         * 2.1146536
>         / 0.47289069
> 
> Do you have a 32 bit system?  Then 2 GiB is too much for a process.
> 
> Ciao,
> 	Marc 'BlackJack' Rintsch
> --
> http://mail.python.org/mailman/listinfo/python-list
> 
> 

-- 
View this message in context: http://www.nabble.com/More-efficient-array-processing-tp20136676p20137263.html
Sent from the Python - python-list mailing list archive at Nabble.com.




More information about the Python-list mailing list