<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">You are running out of memory; see here&nbsp;<a href="https://www.ncl.ucar.edu/Document/Language/error_messages.shtml#NclMalloc" class="">https://www.ncl.ucar.edu/Document/Language/error_messages.shtml#NclMalloc</a>.&nbsp;<div class="">I guess the problem arises from this line</div><div class=""><br class=""></div><div class=""><div class=""><font face="Menlo" class="">pre = onedtond(precip,(/mtime,mlat,mlon/))</font></div><div class=""><br class=""></div><div class="">You are trying to create an array which is 384x384x384, pretty big if you're not using a machine with large memory. Are you sure this numbers are correct? Usually the time dimension is slightly smaller...</div><div class=""><br class=""></div><div class="">Possible solutions are:</div><div class=""><ul class="MailOutline"><li class="">move to a machine with more memory</li><li class="">split the array in different parts</li></ul><div class="">Cheers</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class=""><div><blockquote type="cite" class=""><div class="">On 11. Jul 2017, at 10:29, yohanan sweet &lt;<a href="mailto:marsilas23@gmail.com" class="">marsilas23@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hello&nbsp;<div class="">I try to convert txt file to NetCDF&nbsp;but I got an error in my code.</div><div class=""><div class=""><br class=""></div><div class="">fatal:NclMalloc Failed:[errno=12]</div><div class="">Segmentation fault</div></div><div class=""><br class=""></div><div class="">please help&nbsp;me</div><div class=""><br class=""></div><div class="">Thank you</div></div>
<span id="cid:181D6F81-7649-4F0B-B93A-91FB893E6FA1@mpimet.mpg.de">&lt;convert to netcdf.txt&gt;</span>_______________________________________________<br class="">ncl-talk mailing list<br class=""><a href="mailto:ncl-talk@ucar.edu" class="">ncl-talk@ucar.edu</a><br class="">List instructions, subscriber options, unsubscribe:<br class="">http://mailman.ucar.edu/mailman/listinfo/ncl-talk<br class=""></div></blockquote></div><br class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class="Apple-interchange-newline">Guido Cioni</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://guidocioni.altervista" class="">http://guidocioni.altervista</a>.org</div>

</div>
<br class=""></div></div></div></body></html>