[gradsusr] define error

Jeffrey Duda jdduda at iastate.edu
Mon Oct 3 12:43:25 EDT 2011


Sounds like an out-of-memory error.  Before defining your variable, make
sure the size of the array isn't so large as to take up too much memory.
Set your dimension environment to something smaller.  For example, if you
are looking at a vertical profile, you surely will not need two horizontally
varying dimensions.  You will need to make sure you are varying in the
vertical, though.  If you're averaging over time you probably should have a
fixed time environment.  See if any of that helps.

Jeff Duda

On Mon, Oct 3, 2011 at 3:25 AM, saeed bayat <saeedbayat7276 at gmail.com>wrote:

> Dear GrADS Users,
> I am using RegCM4 outputs in GrADS 2.0.a9 oga(Linux OS) and have problem in
> creating vertical profile map. When I define something(e.g define
> u1=ave(u,t=1,t=124)
> for my data, I got this error:
>
> Define Error:  Unable to allocate data memory
>   Size of request was -171990 grid elements
> *** glibc detected ***
> /media/38794f14-fe58-45f0-b455-cef817dcc56a/Contents/Linux/Versions/2.0.a9.oga.1/x86_64/grads:
> double free or corruption (!prev): 0x0000000001ed54a0 ***
> ======= Backtrace: =========
> /lib/libc.so.6(+0x775b6)[0x7f382f9b65b6]
> /lib/libc.so.6(cfree+0x73)[0x7f382f9bce83]
>
> /media/38794f14-fe58-45f0-b455-cef817dcc56a/Contents/Linux/Versions/2.0.a9.oga.1/x86_64/grads(gadef+0xe0a)[0x50b70a]
>
> /media/38794f14-fe58-45f0-b455-cef817dcc56a/Contents/Linux/Versions/2.0.a9.oga.1/x86_64/grads(gacmd+0x192c)[0x51e30c]
>
> /media/38794f14-fe58-45f0-b455-cef817dcc56a/Contents/Linux/Versions/2.0.a9.oga.1/x86_64/grads(Main+0x629)[0x495e39]
> /lib/libc.so.6(__libc_start_main+0xfd)[0x7f382f95dc4d]
>
> /media/38794f14-fe58-45f0-b455-cef817dcc56a/Contents/Linux/Versions/2.0.a9.oga.1/x86_64/grads[0x494da9]
> ======= Memory map: ========
> 00400000-00c71000 r-xp 00000000 08:05 16515127
> /media/38794f14-fe58-45f0-b455-cef817dcc56a/Contents/Linux/Versions/2.0.a9.oga.1/x86_64/grads
> 00e71000-00e92000 rwxp 00871000 08:05 16515127
> /media/38794f14-fe58-45f0-b455-cef817dcc56a/Contents/Linux/Versions/2.0.a9.oga.1/x86_64/grads
> 00e92000-011bd000 rwxp 00000000 00:00 0
> 01e3b000-01f44000 rwxp 00000000 00:00 0
> [heap]
> 7f3828000000-7f3828021000 rwxp 00000000 00:00 0
> 7f3828021000-7f382c000000 ---p 00000000 00:00 0
> 7f382e4ed000-7f382e6d6000 rwxp 00000000 00:00 0
> 7f382e6d6000-7f382e6db000 r-xp 00000000 08:01 3410741
> /usr/lib/libXfixes.so.3.1.0
> 7f382e6db000-7f382e8da000 ---p 00005000 08:01 3410741
> /usr/lib/libXfixes.so.3.1.0
> 7f382e8da000-7f382e8db000 r-xp 00004000 08:01 3410741
> /usr/lib/libXfixes.so.3.1.0
> 7f382e8db000-7f382e8dc000 rwxp 00005000 08:01 3410741
> /usr/lib/libXfixes.so.3.1.0
> 7f382e8dc000-7f382e8e5000 r-xp 00000000 08:01 3410761
> /usr/lib/libXrender.so.1.3.0
> 7f382e8e5000-7f382eae4000 ---p 00009000 08:01 3410761
> /usr/lib/libXrender.so.1.3.0
> 7f382eae4000-7f382eae5000 r-xp 00008000 08:01 3410761
> /usr/lib/libXrender.so.1.3.0
> 7f382eae5000-7f382eae6000 rwxp 00009000 08:01 3410761
> /usr/lib/libXrender.so.1.3.0
> 7f382eae6000-7f382eaef000 r-xp 00000000 08:01 3410733
> /usr/lib/libXcursor.so.1.0.2
> 7f382eaef000-7f382ecee000 ---p 00009000 08:01 3410733
> /usr/lib/libXcursor.so.1.0.2
> 7f382ecee000-7f382ecef000 r-xp 00008000 08:01 3410733
> /usr/lib/libXcursor.so.1.0.2
> 7f382ecef000-7f382ecf0000 rwxp 00009000 08:01 3410733
> /usr/lib/libXcursor.so.1.0.2
> 7f382ecf0000-7f382ecf4000 r-xp 00000000 08:01 7602319
> /lib/libuuid.so.1.3.0
> 7f382ecf4000-7f382eef3000 ---p 00004000 08:01 7602319
> /lib/libuuid.so.1.3.0
> 7f382eef3000-7f382eef4000 r-xp 00003000 08:01 7602319
> /lib/libuuid.so.1.3.0
> 7f382eef4000-7f382eef5000 rwxp 00004000 08:01 7602319
> /lib/libuuid.so.1.3.0
> 7f382eef5000-7f382eefa000 r-xp 00000000 08:01 3410737
> /usr/lib/libXdmcp.so.6.0.0
> 7f382eefa000-7f382f0f9000 ---p 00005000 08:01 3410737
> /usr/lib/libXdmcp.so.6.0.0
> 7f382f0f9000-7f382f0fa000 r-xp 00004000 08:01 3410737
> /usr/lib/libXdmcp.so.6.0.0
> 7f382f0fa000-7f382f0fb000 rwxp 00005000 08:01 3410737
> /usr/lib/libXdmcp.so.6.0.0
> 7f382f0fb000-7f382f0fd000 r-xp 00000000 08:01 3410726
> /usr/lib/libXau.so.6.0.0
> 7f382f0fd000-7f382f2fd000 ---p 00002000 08:01 3410726
> /usr/lib/libXau.so.6.0.0
> 7f382f2fd000-7f382f2fe000 r-xp 00002000 08:01 3410726
> /usr/lib/libXau.so.6.0.0
> 7f382f2fe000-7f382f2ff000 rwxp 00003000 08:01 3410726
> /usr/lib/libXau.so.6.0.0
> 7f382f2ff000-7f382f316000 r-xp 00000000 08:01 3410691
> /usr/lib/libICE.so.6.3.0
> 7f382f316000-7f382f515000 ---p 00017000 08:01 3410691
> /usr/lib/libICE.so.6.3.0
> 7f382f515000-7f382f516000 r-xp 00016000 08:01 3410691
> /usr/lib/libICE.so.6.3.0
> 7f382f516000-7f382f517000 rwxp 00017000 08:01 3410691
> /usr/lib/libICE.so.6.3.0
> 7f382f517000-7f382f51a000 rwxp 00000000 00:00 0
> 7f382f51a000-7f382f522000 r-xp 00000000 08:01 3410720
> /usr/lib/libSM.so.6.0.1
> 7f382f522000-7f382f721000 ---p 00008000 08:01 3410720
> /usr/lib/libSM.so.6.0.1
> 7f382f721000-7f382f722000 r-xp 00007000 08:01 3410720
> /usr/lib/libSM.so.6.0.1
> 7f382f722000-7f382f723000 rwxp 00008000 08:01 3410720
> /usr/lib/libSM.so.6.0.1
> 7f382f723000-7f382f73e000 r-xp 00000000 08:01 3411732
> /usr/lib/libxcb.so.1.1.0
> 7f382f73e000-7f382f93d000 ---p 0001b000 08:01 3411732
> /usr/lib/libxcb.so.1.1.0
> 7f382f93d000-7f382f93e000 r-xp 0001a000 08:01 3411732
> /usr/lib/libxcb.so.1.1.0
> 7f382f93e000-7f382f93f000 rwxp 0001b000 08:01 3411732
> /usr/lib/libxcb.so.1.1.0
> 7f382f93f000-7f382fab9000 r-xp 00000000 08:01 7602477
> /lib/libc-2.11.1.so
> 7f382fab9000-7f382fcb8000 ---p 0017a000 08:01 7602477
> /lib/libc-2.11.1.so
> 7f382fcb8000-7f382fcbc000 r-xp 00179000 08:01 7602477
> /lib/libc-2.11.1.so
> 7f382fcbc000-7f382fcbd000 rwxp 0017d000 08:01 7602477
> /lib/libc-2.11.1.so
> 7f382fcbd000-7f382fcc2000 rwxp 00000000 00:00 0
> 7f382fcc2000-7f382fcd8000 r-xp 00000000 08:01 7602255
> /lib/libgcc_s.so.1
> 7f382fcd8000-7f382fed7000 ---p 00016000 08:01 7602255
> /lib/libgcc_s.so.1
> 7f382fed7000-7f382fed8000 r-xp 00015000 08:01 7602255
> /lib/libgcc_s.so.1
> 7f382fed8000-7f382fed9000 rwxp 00016000 08:01 7602255
> /lib/libgcc_s.so.1
> 7f382fed9000-7f382ffcf000 r-xp 00000000 08:01 3411631
> /usr/lib/libstdc++.so.6.0.13
> 7f382ffcf000-7f38301cf000 ---p 000f6000 08:01 3411631
> /usr/lib/libstdc++.so.6.0.13
> 7f38301cf000-7f38301d6000 r-xp 000f6000 08:01 3411631
> /usr/lib/libstdc++.so.6.0.13
> 7f38301d6000-7f38301d8000 rwxp 000fd000 08:01 3411631
> /usr/lib/libstdc++.so.6.0.13
> 7f38301d8000-7f38301ed000 rwxp 00000000 00:00 0
> 7f38301ed000-7f383026f000 r-xp 00000000 08:01 7602481
> /lib/libm-2.11.1.so
> 7f383026f000-7f383046e000 ---p 00082000 08:01 7602481
> /lib/libm-2.11.1.so
> and X11 window disappear from screen.
> So I decide to share my problem, maybe someone could help me what is wrong
>
> Thanks in Advance
>
> Saeed Bayat
> M.A Student of Climatology
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Jeff Duda
Iowa State University
Meteorology Graduate Student
www.meteor.iastate.edu/~jdduda <http://www.meteor.iastate.edu/%7Ejdduda>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20111003/81e93e85/attachment-0003.html 


More information about the gradsusr mailing list