<div dir="ltr"><div>Hi,</div><div><br></div><div>Errno=12 is "Cannot allocate memory".<br></div><div><br></div><div>That dox variable looks to be about 2.6GB, and I can't quite tell, but it looks like you may be creating another 2 variables of comparable size(?) How much memory does you machine have? Can you tell how far the script gets executed (i.e., perhaps put some print statements at strategic places in the script to see how far it gets).</div><div><br></div><div>Rick<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Dec 3, 2018 at 2:18 PM Amal Inge <<a href="mailto:amalingenieur89@gmail.com">amalingenieur89@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Dear NCL experts,</div><div>i tried to run the script attached but i had this error: fatal:NclMalloc Failed:[errno=12] Segmentation fault</div><div>what should be the solution please knowing that i have enough space in the memory ?</div><div>many thanks<br></div><div><br></div><div><br></div><div>netcdf dox_med_1.4-101 {<br>dimensions:<br> longitude = 670 ;<br> latitude = 253 ;<br> depth = 18 ;<br> time = UNLIMITED ; // (215 currently)<br>variables:<br> float longitude(longitude) ;<br> longitude:standard_name = "longitude" ;<br> longitude:long_name = "longitude" ;<br> longitude:units = "degrees_east" ;<br> longitude:axis = "X" ;<br> float latitude(latitude) ;<br> latitude:standard_name = "latitude" ;<br> latitude:long_name = "latitude" ;<br> latitude:units = "degrees_north" ;<br> latitude:axis = "Y" ;<br> float depth(depth) ;<br> depth:standard_name = "depth" ;<br> depth:long_name = "depth" ;<br> depth:units = "m" ;<br> depth:positive = "down" ;<br> depth:axis = "Z" ;<br> depth:_CoordinateAxisType = "Height" ;<br> depth:_CoordinateZisPositive = "down" ;<br> double time(time) ;<br> time:standard_name = "time" ;<br> time:long_name = "time" ;<br> time:units = "seconds since 1970-01-01 00:00:00" ;<br> time:calendar = "standard" ;<br> time:axis = "T" ;<br> float dox(time, depth, latitude, longitude) ;<br> dox:standard_name = "mole_concentration_of_dissolved_molecular_oxygen_in_sea_water" ;<br> dox:long_name = "Mole concentration of Dissolved Molecular Oxygen in sea water" ;<br> dox:units = "millimol m-3" ;<br> dox:_FillValue = 1.e+20f ;<br> dox:missing_value = 1.e+20f ;<br> dox:_ChunkSizes = 1, 22, 84, 161 ;<br><br>// global attributes:<br> :CDI = "Climate Data Interface version 1.8.1 (<a href="http://mpimet.mpg.de/cdi" target="_blank">http://mpimet.mpg.de/cdi</a>)" ;<br> :Conventions = "CF-1.0" ;<br> :source = "3DVAR-OGSTM-BFM" ;<br> :institution = "OGS (Istituto Nazionale di Oceanografia e di Geofisica Sperimentale) , Sgonico (Trieste) - Italy" ;<br> :references = "Please check in CMEMS catalogue the INFO section for product MEDSEA_ANALYSIS_FORECAST_BIO_006_008 - <a href="http://marine.copernicus.eu/" target="_blank">http://marine.copernicus.eu/</a>" ;<br> :comment = "Please check in CMEMS catalogue the INFO section for product MEDSEA_ANALYSIS_FORECAST_BIO_006_008 - <a href="http://marine.copernicus.eu/" target="_blank">http://marine.copernicus.eu/</a>" ;<br> :contact = "<a href="mailto:servicedesk.cmems@mercator-ocean.eu" target="_blank">servicedesk.cmems@mercator-ocean.eu</a>" ;<br> :bulletin_date = "2017-12-01" ;<br> :bulletin_type = "analysis" ;<br> :field_type = "monthly_mean_beginning_at_time_field" ;<br> :title = "Net Primary Production and Dissolved Oxygen (3D) - Monthly Mean" ;<br> :History = "Translated to CF-1.0 Conventions by Netcdf-Java CDM (CFGridWriter2)\n",<br> "Original Dataset = sv03-med-ogs-bio-rean-m; Translation Date = 2018-12-03T14:34:09.553Z" ;<br> :geospatial_lat_min = 30.1875 ;<br> :geospatial_lat_max = 45.9375 ;<br> :geospatial_lon_min = -5.5625 ;<br> :geospatial_lon_max = 36.25 ;<br> :CDO = "Climate Data Operators version 1.8.1 (<a href="http://mpimet.mpg.de/cdo" target="_blank">http://mpimet.mpg.de/cdo</a>)" ;<br><br></div></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">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>