malloc error

From: Lin Su <Lin.Su_at_nyahnyahspammersnyahnyah>
Date: Fri Nov 20 2009 - 16:54:43 MST

Dear NCL users,

I am plotting 16 size bins volume size distribution, which is radius(size bins) dependent. I believe the data reading part and plotting part are correct. However, the error probably comes from the following statements:
*********************
...
 total1 = dim_sum_n_Wrap(fout->DUSTND,2) ;Sum up all levels
 totalN = total1(:,99,{116.96},{39.75}) ;Xianghe for 16 bins
...
***********
Are these the correct statements?

The error is as following:
********************
ncl(15845) malloc: *** vm_allocate(size=2371719168) failed (error code=3)
ncl(15845) malloc: *** error: can't allocate region
ncl(15845) malloc: *** set a breakpoint in szone_error to debug
fatal:NclMalloc Failed:[errno=12]
putget.c:3691: failed assertion `value != NULL'
Abort
*****************

Also, attached please find the NCL code.

Many thanks,
-Lin

---
Lin Su
http://atoc.colorado.edu/~sul/


_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

Received on Fri Nov 20 16:54:48 2009

This archive was generated by hypermail 2.1.8 : Mon Nov 23 2009 - 12:24:02 MST