<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">The size of your request has a negative number of grid elements. That is the where the problem is. Check the dimension environment and the default file number before you invoke define to make sure you've got everything set the way you expect. If you are still having problems, then you need to send more information, including the contents of your descriptor file, the shortest possible script that illustrates the problem, and the complete text of the GrADS session the produces the core dump. <div>--Jennifer<br><div><br><div><div>On Oct 3, 2011, at 4:25 AM, saeed bayat wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Dear GrADS Users,<br>I am using RegCM4 outputs in GrADS 2.0.a9 oga(Linux OS) and have problem in<br>creating vertical profile map. When I define something(e.g define u1=ave(u,t=1,t=124)<br>for my data, I got this error:<br> <br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">Define Error: Unable to allocate data memory</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);"> Size of request was -171990 grid elements</span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">*** 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 ***</span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">======= Backtrace: =========</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">/lib/libc.so.6(+0x775b6)[0x7f382f9b65b6]</span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">/lib/libc.so.6(cfree+0x73)[0x7f382f9bce83]</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">/media/38794f14-fe58-45f0-b455-cef817dcc56a/Contents/Linux/Versions/2.0.a9.oga.1/x86_64/grads(gadef+0xe0a)[0x50b70a]</span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">/media/38794f14-fe58-45f0-b455-cef817dcc56a/Contents/Linux/Versions/2.0.a9.oga.1/x86_64/grads(gacmd+0x192c)[0x51e30c]</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">/media/38794f14-fe58-45f0-b455-cef817dcc56a/Contents/Linux/Versions/2.0.a9.oga.1/x86_64/grads(Main+0x629)[0x495e39]</span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">/lib/libc.so.6(__libc_start_main+0xfd)[0x7f382f95dc4d]</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">/media/38794f14-fe58-45f0-b455-cef817dcc56a/Contents/Linux/Versions/2.0.a9.oga.1/x86_64/grads[0x494da9]</span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">======= Memory map: ========</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">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</span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">00e71000-00e92000 rwxp 00871000 08:05 16515127 /media/38794f14-fe58-45f0-b455-cef817dcc56a/Contents/Linux/Versions/2.0.a9.oga.1/x86_64/grads</span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">00e92000-011bd000 rwxp 00000000 00:00 0 </span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">01e3b000-01f44000 rwxp 00000000 00:00 0 [heap]</span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">7f3828000000-7f3828021000 rwxp 00000000 00:00 0 </span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">7f3828021000-7f382c000000 ---p 00000000 00:00 0 </span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">7f382e4ed000-7f382e6d6000 rwxp 00000000 00:00 0 </span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">7f382e6d6000-7f382e6db000 r-xp 00000000 08:01 3410741 /usr/lib/libXfixes.so.3.1.0</span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">7f382e6db000-7f382e8da000 ---p 00005000 08:01 3410741 /usr/lib/libXfixes.so.3.1.0</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">7f382e8da000-7f382e8db000 r-xp 00004000 08:01 3410741 /usr/lib/libXfixes.so.3.1.0</span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">7f382e8db000-7f382e8dc000 rwxp 00005000 08:01 3410741 /usr/lib/libXfixes.so.3.1.0</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">7f382e8dc000-7f382e8e5000 r-xp 00000000 08:01 3410761 /usr/lib/libXrender.so.1.3.0</span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">7f382e8e5000-7f382eae4000 ---p 00009000 08:01 3410761 /usr/lib/libXrender.so.1.3.0</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">7f382eae4000-7f382eae5000 r-xp 00008000 08:01 3410761 /usr/lib/libXrender.so.1.3.0</span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">7f382eae5000-7f382eae6000 rwxp 00009000 08:01 3410761 /usr/lib/libXrender.so.1.3.0</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">7f382eae6000-7f382eaef000 r-xp 00000000 08:01 3410733 /usr/lib/libXcursor.so.1.0.2</span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">7f382eaef000-7f382ecee000 ---p 00009000 08:01 3410733 /usr/lib/libXcursor.so.1.0.2</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">7f382ecee000-7f382ecef000 r-xp 00008000 08:01 3410733 /usr/lib/libXcursor.so.1.0.2</span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">7f382ecef000-7f382ecf0000 rwxp 00009000 08:01 3410733 /usr/lib/libXcursor.so.1.0.2</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">7f382ecf0000-7f382ecf4000 r-xp 00000000 08:01 7602319 /lib/libuuid.so.1.3.0</span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">7f382ecf4000-7f382eef3000 ---p 00004000 08:01 7602319 /lib/libuuid.so.1.3.0</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">7f382eef3000-7f382eef4000 r-xp 00003000 08:01 7602319 /lib/libuuid.so.1.3.0</span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">7f382eef4000-7f382eef5000 rwxp 00004000 08:01 7602319 /lib/libuuid.so.1.3.0</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">7f382eef5000-7f382eefa000 r-xp 00000000 08:01 3410737 /usr/lib/libXdmcp.so.6.0.0</span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">7f382eefa000-7f382f0f9000 ---p 00005000 08:01 3410737 /usr/lib/libXdmcp.so.6.0.0</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">7f382f0f9000-7f382f0fa000 r-xp 00004000 08:01 3410737 /usr/lib/libXdmcp.so.6.0.0</span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">7f382f0fa000-7f382f0fb000 rwxp 00005000 08:01 3410737 /usr/lib/libXdmcp.so.6.0.0</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">7f382f0fb000-7f382f0fd000 r-xp 00000000 08:01 3410726 /usr/lib/libXau.so.6.0.0</span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">7f382f0fd000-7f382f2fd000 ---p 00002000 08:01 3410726 /usr/lib/libXau.so.6.0.0</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">7f382f2fd000-7f382f2fe000 r-xp 00002000 08:01 3410726 /usr/lib/libXau.so.6.0.0</span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">7f382f2fe000-7f382f2ff000 rwxp 00003000 08:01 3410726 /usr/lib/libXau.so.6.0.0</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">7f382f2ff000-7f382f316000 r-xp 00000000 08:01 3410691 /usr/lib/libICE.so.6.3.0</span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">7f382f316000-7f382f515000 ---p 00017000 08:01 3410691 /usr/lib/libICE.so.6.3.0</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">7f382f515000-7f382f516000 r-xp 00016000 08:01 3410691 /usr/lib/libICE.so.6.3.0</span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">7f382f516000-7f382f517000 rwxp 00017000 08:01 3410691 /usr/lib/libICE.so.6.3.0</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">7f382f517000-7f382f51a000 rwxp 00000000 00:00 0 </span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">7f382f51a000-7f382f522000 r-xp 00000000 08:01 3410720 /usr/lib/libSM.so.6.0.1</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">7f382f522000-7f382f721000 ---p 00008000 08:01 3410720 /usr/lib/libSM.so.6.0.1</span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">7f382f721000-7f382f722000 r-xp 00007000 08:01 3410720 /usr/lib/libSM.so.6.0.1</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">7f382f722000-7f382f723000 rwxp 00008000 08:01 3410720 /usr/lib/libSM.so.6.0.1</span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">7f382f723000-7f382f73e000 r-xp 00000000 08:01 3411732 /usr/lib/libxcb.so.1.1.0</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">7f382f73e000-7f382f93d000 ---p 0001b000 08:01 3411732 /usr/lib/libxcb.so.1.1.0</span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">7f382f93d000-7f382f93e000 r-xp 0001a000 08:01 3411732 /usr/lib/libxcb.so.1.1.0</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">7f382f93e000-7f382f93f000 rwxp 0001b000 08:01 3411732 /usr/lib/libxcb.so.1.1.0</span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">7f382f93f000-7f382fab9000 r-xp 00000000 08:01 7602477 /lib/<a href="http://libc-2.11.1.so">libc-2.11.1.so</a></span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">7f382fab9000-7f382fcb8000 ---p 0017a000 08:01 7602477 /lib/<a href="http://libc-2.11.1.so">libc-2.11.1.so</a></span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">7f382fcb8000-7f382fcbc000 r-xp 00179000 08:01 7602477 /lib/<a href="http://libc-2.11.1.so">libc-2.11.1.so</a></span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">7f382fcbc000-7f382fcbd000 rwxp 0017d000 08:01 7602477 /lib/<a href="http://libc-2.11.1.so">libc-2.11.1.so</a></span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">7f382fcbd000-7f382fcc2000 rwxp 00000000 00:00 0 </span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">7f382fcc2000-7f382fcd8000 r-xp 00000000 08:01 7602255 /lib/libgcc_s.so.1</span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">7f382fcd8000-7f382fed7000 ---p 00016000 08:01 7602255 /lib/libgcc_s.so.1</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">7f382fed7000-7f382fed8000 r-xp 00015000 08:01 7602255 /lib/libgcc_s.so.1</span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">7f382fed8000-7f382fed9000 rwxp 00016000 08:01 7602255 /lib/libgcc_s.so.1</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">7f382fed9000-7f382ffcf000 r-xp 00000000 08:01 3411631 /usr/lib/libstdc++.so.6.0.13</span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">7f382ffcf000-7f38301cf000 ---p 000f6000 08:01 3411631 /usr/lib/libstdc++.so.6.0.13</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">7f38301cf000-7f38301d6000 r-xp 000f6000 08:01 3411631 /usr/lib/libstdc++.so.6.0.13</span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">7f38301d6000-7f38301d8000 rwxp 000fd000 08:01 3411631 /usr/lib/libstdc++.so.6.0.13</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">7f38301d8000-7f38301ed000 rwxp 00000000 00:00 0 </span><br style="color: rgb(204, 0, 0);"> <span style="color: rgb(204, 0, 0);">7f38301ed000-7f383026f000 r-xp 00000000 08:01 7602481 /lib/<a href="http://libm-2.11.1.so">libm-2.11.1.so</a></span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">7f383026f000-7f383046e000 ---p 00082000 08:01 7602481 /lib/<a href="http://libm-2.11.1.so">libm-2.11.1.so</a></span><br> and X11 window disappear from screen.<br>So I decide to share my problem, maybe someone could help me what is wrong<br><br>Thanks in Advance<br><br>Saeed Bayat<br>M.A Student of Climatology<br> _______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>http://gradsusr.org/mailman/listinfo/gradsusr<br></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams</div><div>IGES/COLA</div><div>4041 Powder Mill Road, Suite 302</div><div>Calverton, MD 20705</div><div><a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div></span> </div><br></div></div></body></html>