Dear Gibies,<br><br>Thank you very much for your immediate response! More power to you!<br><br>Mar<br><br><br><div class="gmail_quote">On Tue, May 4, 2010 at 6:49 PM, gibies george <span dir="ltr"><<a href="mailto:gibiesgeorge@gmail.com">gibiesgeorge@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello Mar,<br><br>Don't forget to undefine the variables after its use.<div><div></div><div class="h5">
<br><br><div class="gmail_quote">On 4 May 2010 16:17, gibies george <span dir="ltr"><<a href="mailto:gibiesgeorge@gmail.com" target="_blank">gibiesgeorge@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello Mar,<br><br>The segmentation error is due to the overflow of allotted memory <br>Here you are using 30 variable p61, p62, ........p90 simultaniousely. You can avoid the problem by using a loop<br>
<br>......<br>......<br>
......<br>yyyy=1961<br>define sum_p = .....<br>while(yyyy<1990)<br>.....<br>.....<br>define p_n = ......<br>sum_p= sum_p + p_n<br>.....<br>.....<br>yyyy=yyyy+1<br>endwhile<br><br>define pave=sum_p/30<br><br>........<br>
........<br>.........<br><br><br><br><div class="gmail_quote"><div><div></div><div>On 4 May 2010 12:26, Marcelino II Villafuerte <span dir="ltr"><<a href="mailto:mqvillafuerte@gmail.com" target="_blank">mqvillafuerte@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div>
<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Marcelino II Villafuerte</b> <span dir="ltr"><<a href="mailto:mqvillafuerte@gmail.com" target="_blank">mqvillafuerte@gmail.com</a>></span><br>
Date: Tue, May 4, 2010 at 2:50 PM<br>Subject: Segmentation fault in GrADS V2.0.a4<br>To: <a href="mailto:GRADSUSR@list.cineca.it" target="_blank">GRADSUSR@list.cineca.it</a><br><br><br>Dear GrADS Users,<br><br>I'm using this attached script to obtain a seasonal average (JJAS) of Rainfall from APHRODITE high resolution daily rainfall gridded dataset.<br>
It works with the older version (V1.8) but when i try it in Grads V2.0.a4 an error occurred "segmentation fault". The advantage of using<br>
the later version is, it was able to write an output to NetCDF format that's why I tried to switch into this version. Is defining a lot of variables<br>its limitation?<br><br>Has anyone encountered similar problem? I need your help...<br>
<br>Thanks in advance!<br><br>Mar <br> <br><br>
</div><br>
<br></div></div>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Gibies George,CSIR-RF,<br>Climate and Global Modelling Division,<br>Indian Institute of Tropical Meteorology,<br>Dr. Homi Bhabha Road,<br>NCL (P. O.), Pashan,<br>Pune 411008<br>
<br><a href="http://sites.google.com/site/gibiesge/" target="_blank">http://sites.google.com/site/gibiesge/</a><br><br>
</blockquote></div><br><br clear="all"><br>-- <br>Gibies George,CSIR-RF,<br>Climate and Global Modelling Division,<br>Indian Institute of Tropical Meteorology,<br>Dr. Homi Bhabha Road,<br>NCL (P. O.), Pashan,<br>Pune 411008<br>
<br><a href="http://sites.google.com/site/gibiesge/" target="_blank">http://sites.google.com/site/gibiesge/</a><br><br>
</div></div><br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br>