Re: fatal:NclMalloc Failed:[errno=12]

From: Wei Huang <huangwei_at_nyahnyahspammersnyahnyah>
Date: Wed Dec 12 2012 - 08:17:12 MST

Erika,

We need more info about this error.
Can you provide us all the error message from your run?
We need to know when/where this error happened.
Then we can see if there is anything we can do.
Give us little more about your computer will help too.

Wei

huangwei@ucar.edu
VETS/CISL
National Center for Atmospheric Research
P.O. Box 3000 (1850 Table Mesa Dr.)
Boulder, CO 80307-3000 USA
(303) 497-8924

On Dec 12, 2012, at 12:53 AM, Erika Folova wrote:

> Hi NCL Users,
>
> I was attempting to reverse my latitude axis and saved them in a single netcdf file.
> But i got an issue "out of memory". The size of intial data (phi) is 2 Gb, i simply do this command:
>
> ---
> begin
>
> f1 = addfile("phi.nc","r") ; Read in first time step and
> phi = f1->phi(:,::-1,:)
> phi2 = phi
> copy_VarCoords(phi, phi2)
>
> diro ="./"
> filo = "phi.fixed.nc"
> NCFILE = diro+filo
> system ("/bin/rm -f " + NCFILE)
> fout = addfile(NCFILE,"c")
> fout->phi2 = phi2
>
> delete(fout)
>
> end
> ----
>
> Then i got this error: "fatal:NclMalloc Failed:[errno=12]"
> Anyone can help my problem how to avoid this error?
>
> Thanks
> -- E. Fol
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Dec 13 00:17:38 2012

This archive was generated by hypermail 2.1.8 : Wed Dec 12 2012 - 19:07:01 MST