Re: fatal:NclMalloc Failed:[errno=12] fatal:New: could not create new array:[errno=12] fatal:Execute: Error occurred at or near line 17 in file del2.ncl

From: David Brown <dbrown_at_nyahnyahspammersnyahnyah>
Date: Mon, 28 Sep 2009 12:32:08 -0600

Hi all,
Sabeer was able to fix his problem with a couple of adjustments to his
environment.
   -dave

On Sep 28, 2009, at 12:47 AM, Sabeerali(sebi) wrote:

> Helloo,
>
> Thanks David. I have given following lines in vi .cshrc and
> rebooted...Then after that it works nicely
> limit stacksize unlimited
> limit datasize unlimited
>
> Also the result of uname -a is
> Linux ashis 2.6.27.24-170.2.68.fc10.x86_64 #1 SMP Wed May 20
> 22:47:23 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
> and gcc -v is
> Using built-in specs.
> Target: x86_64-redhat-linux
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
> --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla
> --enable-bootstrap --enable-shared --enable-threads=posix --enable-
> checking=release --with-system-zlib --enable-__cxa_atexit --disable-
> libunwind-exceptions --enable-languages=c,c++,objc,obj-c+
> +,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-
> plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --
> enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-
> jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --
> with-cpu=generic --build=x86_64-redhat-linux
> Thread model: posix
> gcc version 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC)
>
>
>
>
>
> 2009/9/27 David Brown <dbrown_at_ucar.edu>
> Hi Sabeer,
> I cannot reproduce the error running this code on my Mac laptop. I
> see, using 'top' , that the total virtual memory used by NCL to run
> this script tops out at around 1.2 GB. How much memory do you have
> available? Can you send the results of:
> uname -a
> gcc -v
>
> -dave
>
>
> On Sep 26, 2009, at 6:22 AM, Sabeerali(sebi) wrote:
>
>
> Helloo,
> I am getting the following error when I run the below code. I
> think it is because of crossing memory limit...Is there any solution
> for this?
>
> Any help would be appreciated...Thanks in advance...
>
> fatal:NclMalloc Failed:[errno=12]
> fatal:New: could not create new array:[errno=12]
> fatal:Execute: Error occurred at or near line 17 in file del2.ncl
>
>
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
> begin
> nlon=360
> nlat=180
> a=ut_inv_calendar(2008,12,31,0,0,0,"days after 1996-01-01 00:00:00",0)
> last=doubletoint(a)
> lat=latGlobeFo(nlat,"lat","latitude","degrees_north")
> lon=lonGlobeFo(nlon,"lon","longitude","degrees_east")
> lat=lat(::-1)
> time=new(last,"integer")
> time=ispan(1,last,1)
> prec=new((/last,nlat,nlon/),"float")
> end
>
> _______________________________________________
> 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 Mon Sep 28 2009 - 12:32:08 MDT

This archive was generated by hypermail 2.2.0 : Tue Sep 29 2009 - 10:11:39 MDT