[ncl-talk] NCL dynamic memory allocation error
Burakowski, Elizabeth
Elizabeth.Burakowski at unh.edu
Sat Aug 10 08:35:46 MDT 2019
Hi Rick,
I'm running the script on Casper, not my personal computer. I've been using the delete function to delete every variable not need for plotting along the way. I'll try requesting more memory on Casper. Looks like the default is 1.87 GB per core.
Thanks,
Liz
Dr. Elizabeth A Burakowski
She/Her/Hers
Research Assistant Professor
Earth Systems Research Center &
Institute for the Study of Earth, Oceans, and Space
University of New Hampshire
8 College Road Durham, NH 03824
603-862-1796
elizabeth.burakowski at unh.edu
________________________________
From: Rick Brownrigg <brownrig at ucar.edu>
Sent: Saturday, August 10, 2019 10:29 AM
To: Burakowski, Elizabeth <Elizabeth.Burakowski at unh.edu>
Cc: ncl-talk at ucar.edu <ncl-talk at ucar.edu>
Subject: Re: [ncl-talk] NCL dynamic memory allocation error
Caution - External Email
________________________________
Hi Elizabeth,
errno=12 is indeed an "unable to allocate memory" error on linux/MacOS systems. Why it manifests in the mapping codes is unclear, but that does sort of suggests that the memory depletion is happening late in the game; i.e., it sounds like you've successfully read and processed the data and are at the final plotting stage. You might try using the NCL delete() function to free up memory used by variables that are no longer needed for plotting. Another suggestion would be to shutdown any large memory-footprint applications that may be running on your system at the time (e.g., browsers, wordprocessors, etc.)
Hope that helps...
Rick
On Sat, Aug 10, 2019 at 7:49 AM Burakowski, Elizabeth via ncl-talk <ncl-talk at ucar.edu<mailto:ncl-talk at ucar.edu>> wrote:
Hello,
I keep getting an error while trying to run an NCL script on casper (execdav):
fatal:MapV41DHInitialize: dynamic memory allocation error:[errno=12]
fatal:MapV41DHInitialize: error initializing map outline records
ERROR 2 IN MPLNRI/MDLNRI - Can't open the ".names" file
fatal:MapSetTrans: error initializing map: MAPINT - UNCLEARED PRIOR ERROR
warning:["SetValues.c":474]:SetValuesChild never occurred on map.PlotManager: Error in mapPlotClass
Segmentation fault (core dumped)
It is a rather memory intensive script (500 m MODIS data), but the ".names" file error 2 is throwing me off. I've successfully plotted other MODIS data using a similar script, so I'm not sure whats different about this one.
Script is located here:
/glade/u/home/burakows/work/plot/NCL/MODIS_VernalWindow/plotMOD10A1_Year.ncl
Thank you,
liz.
Dr. Elizabeth A Burakowski
She/Her/Hers
Research Assistant Professor
Earth Systems Research Center &
Institute for the Study of Earth, Oceans, and Space
University of New Hampshire
8 College Road Durham, NH 03824
603-862-1796
elizabeth.burakowski at unh.edu<mailto:elizabeth.burakowski at unh.edu>
_______________________________________________
ncl-talk mailing list
ncl-talk at ucar.edu<mailto:ncl-talk at ucar.edu>
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk<https://urldefense.proofpoint.com/v2/url?u=http-3A__mailman.ucar.edu_mailman_listinfo_ncl-2Dtalk&d=DwMFaQ&c=c6MrceVCY5m5A_KAUkrdoA&r=JW2rHHzYnVYi6ZDBI-2JFMNSreDPLZO-wwOrczEnOlg&m=dFK61NjWI9bYpf7Dj8JN1OK938G-xKdMzPnKw3vGa_g&s=b0aCHogAHmXT0ALNB7zGXNGY-s_TPZ4Xxxnf9jJN0Mw&e=>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190810/7d03505f/attachment.html>
More information about the ncl-talk
mailing list