[ncl-talk] NclMalloc Failed:[errno=12]

Rick Brownrigg brownrig at ucar.edu
Tue Dec 8 19:54:46 MST 2015


So you are trying to allocate an array of almost 7.6GBs.  Does your machine
indeed have that much memory? (if you're not sure, much useful information
can be had about memory and system-load by running the "top" command). I
presume its a 64bit machine and running 64bit NCL (?)

Rick


On Tue, Dec 8, 2015 at 4:02 PM, Soumik Basu <sbasu at iarc.uaf.edu> wrote:

> Hi,
>
> I am trying to create a new array of the following dimension:
>
>     nens = 60
>     time = 965
>     nlat = 128
>     mlon = 256
>
>    sat_sens = new((/nens,time,nlat,mlon/),"float") ; Line 20
>
> But it is giving a memory error on line 20. This is the start of the
> code so there should not be any problem with the memory to create this.
>
> Can anybody give me some suggestion how to avoid this error if I need to
> load this entire dataset together, otherwise I could have load subsets
> of this data. I am using NCL version 6.1.2.
>
> fatal:NclMalloc Failed:[errno=12]
> fatal:New: could not create new array:[errno=12]
> fatal:["Execute.c":8128]:Execute: Error occurred at or near line 20 in
> file ts_enso_diff_x1.ncl
>
> Thanks,
> Soumik
> --
> "Learn from yesterday, live for today, hope for tomorrow. The important
> thing is not to stop questioning." - Albert Einstein
>
>
> ********************************************************************************
> Dr. Soumik Basu
> Post Doctoral Fellow, International Arctic Research Center, UAF,
> Fairbanks, AK, USA
> Nanjing University of Information Science and Technology, Nanjing, China
> PhD in Atmospheric Sciences
> M.Sc. in Atmospheric Sciences
> Email: suvro05 at gmail.com
> website: http://soumikbasu.weebly.com/
>
>
> ********************************************************************************
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151208/b6ff7524/attachment.html 


More information about the ncl-talk mailing list