[MITgcm-support] Matlab for post-processing!

Van Thinh Nguyen vtnguyen at moisie2.math.uwaterloo.ca
Thu Apr 5 17:19:21 EDT 2007


Hi Matt & Dimitris,

I knew how to reduce the memory use by reading only one rec at each 
time step or each tile by:

(ex: T=rdmds('T.0000000400'; rdmds('T.0000000400.001'); 
rdmds('T.0000000400.001.001')

Unfortunately, since I used option usesinglecpuio=true, I got the output 
at each time step only one couple *.data & *.meta, so they are quite 
large.
I am not sure what Dimistris mentioned "read on each level as a 2D", my 
simulation is 3D.

Thanks

Vth
------------------------------------------------------

On Thu, 5 Apr 2007, Matthew Mazloff wrote:

> read in and analyze 1 rec at a time...
>
> also matlab reads as double precision.  you can save a lot (double :) ) by 
> switching it to single  ( Q=single(Q) )
>
> -matt
>
>
> On Apr 5, 2007, at 2:05 PM, Van Thinh Nguyen wrote:
>
>> Hi,
>> 
>> I used MATLAB scripts (rdmds.m) for post-processing of my runs. Currently I 
>> got a result from very high resolution runs (data output *.data up to 960 
>> GB), so I have a trouble to run this Matlab's script due to "out of memory" 
>> (I already have extended the memory to the maximum possibility)
>> 
>> Anyone may have an idea to help me to get rid of this.
>> 
>> Thanks a lot
>> 
>> Van Thinh
>> ---------------------------------------------------
>> 
>> _______________________________________________
>> MITgcm-support mailing list
>> MITgcm-support at mitgcm.org
>> http://mitgcm.org/mailman/listinfo/mitgcm-support
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support



More information about the MITgcm-support mailing list