<div dir="ltr"><div>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 (?) <br><br></div>Rick<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 8, 2015 at 4:02 PM, Soumik Basu <span dir="ltr"><<a href="mailto:sbasu@iarc.uaf.edu" target="_blank">sbasu@iarc.uaf.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I am trying to create a new array of the following dimension:<br>
<br>
nens = 60<br>
time = 965<br>
nlat = 128<br>
mlon = 256<br>
<br>
sat_sens = new((/nens,time,nlat,mlon/),"float") ; Line 20<br>
<br>
But it is giving a memory error on line 20. This is the start of the<br>
code so there should not be any problem with the memory to create this.<br>
<br>
Can anybody give me some suggestion how to avoid this error if I need to<br>
load this entire dataset together, otherwise I could have load subsets<br>
of this data. I am using NCL version 6.1.2.<br>
<br>
fatal:NclMalloc Failed:[errno=12]<br>
fatal:New: could not create new array:[errno=12]<br>
fatal:["Execute.c":8128]:Execute: Error occurred at or near line 20 in<br>
file ts_enso_diff_x1.ncl<br>
<br>
Thanks,<br>
Soumik<br>
--<br>
"Learn from yesterday, live for today, hope for tomorrow. The important<br>
thing is not to stop questioning." - Albert Einstein<br>
<br>
********************************************************************************<br>
Dr. Soumik Basu<br>
Post Doctoral Fellow, International Arctic Research Center, UAF,<br>
Fairbanks, AK, USA<br>
Nanjing University of Information Science and Technology, Nanjing, China<br>
PhD in Atmospheric Sciences<br>
M.Sc. in Atmospheric Sciences<br>
Email: <a href="mailto:suvro05@gmail.com">suvro05@gmail.com</a><br>
website: <a href="http://soumikbasu.weebly.com/" rel="noreferrer" target="_blank">http://soumikbasu.weebly.com/</a><br>
<br>
********************************************************************************<br>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote></div><br></div>