<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div><span></span></div><div dir="ltr"><span>Thanks, Ted. It works now. Thanks a lot.</span></div><div dir="ltr"><span><br></span></div><div dir="ltr"><span>Yuanfu</span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 13px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Wednesday, January 17, 2018 9:04 AM, Ted Mansell <ted.mansell@noaa.gov> wrote:<br></font></div>  <br><br> <div class="y_msg_container"><div id="yiv1201859809"><div>This could be a stacksize issue, as the default stack size in OS X is pretty small (8MB). If you are running tcsh, try the command 'unlimit stacksize' to boost it to 65MB. If you have the default bash shell, it is something similar but not the same (ulimit?).<div class="yiv1201859809"><br clear="none" class="yiv1201859809"></div><div class="yiv1201859809">-- Ted<br clear="none" class="yiv1201859809"><div class="yiv1201859809"><br clear="none" class="yiv1201859809"><div class="yiv1201859809">
<div class="yiv1201859809" style="color:rgb(0, 0, 0);letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word;"><span class="yiv1201859809Apple-style-span" style="border-collapse:separate;border-spacing:0px;"></span><div class="yiv1201859809" style="word-wrap:break-word;"><span class="yiv1201859809Apple-style-span" style="border-collapse:separate;orphans:2;widows:2;border-spacing:0px;"></span><div class="yiv1201859809" style="word-wrap:break-word;"><span class="yiv1201859809Apple-style-span" style="border-collapse:separate;border-spacing:0px;"></span><div class="yiv1201859809" style="word-wrap:break-word;"><span class="yiv1201859809Apple-style-span" style="border-collapse:separate;border-spacing:0px;"></span><div class="yiv1201859809" style="word-wrap:break-word;"><span class="yiv1201859809Apple-style-span" style="border-collapse:separate;border-spacing:0px;"></span><div class="yiv1201859809" style="word-wrap:break-word;"><span class="yiv1201859809Apple-style-span" style="border-collapse:separate;border-spacing:0px;"></span><div class="yiv1201859809" style="word-wrap:break-word;"><div class="yiv1201859809"><div class="yiv1201859809"><span class="yiv1201859809" style="font-family:monospace;font-size:10px;">__________________________________________________________</span><br clear="none" class="yiv1201859809" style="font-family:monospace;font-size:10px;"><span class="yiv1201859809" style="font-family:monospace;font-size:10px;">| Edward Mansell <<a rel="nofollow" shape="rect" class="yiv1201859809" ymailto="mailto:ted.mansell@noaa.gov" target="_blank" href="mailto:ted.mansell@noaa.gov">ted.mansell@noaa.gov</a>></span><br clear="none" class="yiv1201859809" style="font-family:monospace;font-size:10px;"><span class="yiv1201859809" style="font-family:monospace;font-size:10px;">| National Severe Storms Laboratory</span><br clear="none" class="yiv1201859809" style="font-family:monospace;font-size:10px;"><span class="yiv1201859809" style="font-family:monospace;font-size:10px;">|--------------------------------------------------------------</span><br clear="none" class="yiv1201859809" style="font-family:monospace;font-size:10px;"><span class="yiv1201859809" style="font-family:monospace;font-size:10px;">| "The contents of this message are mine personally and</span><br clear="none" class="yiv1201859809" style="font-family:monospace;font-size:10px;"><span class="yiv1201859809" style="font-family:monospace;font-size:10px;">| do not reflect any position of the U.S. Government or NOAA."</span><br clear="none" class="yiv1201859809" style="font-family:monospace;font-size:10px;"><span class="yiv1201859809" style="font-family:monospace;font-size:10px;">|--------------------------------------------------------------</span><br clear="none" class="yiv1201859809" style="font-family:monospace;font-size:10px;"></div></div></div></div></div></div></div></div></div>
</div>
<br clear="none" class="yiv1201859809"><div><blockquote class="yiv1201859809" type="cite"><div class="yiv1201859809yqt7126053697" id="yiv1201859809yqt14176"><div class="yiv1201859809">On Jan 16, 2018, at 11:33 PM, Yuanfu Xie via ncl-install <<a rel="nofollow" shape="rect" class="yiv1201859809" ymailto="mailto:ncl-install@ucar.edu" target="_blank" href="mailto:ncl-install@ucar.edu">ncl-install@ucar.edu</a>> wrote:</div><br clear="none" class="yiv1201859809Apple-interchange-newline"><div class="yiv1201859809"><div class="yiv1201859809"><div class="yiv1201859809" style="background-color:rgb(255, 255, 255);font-family:'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;"><div class="yiv1201859809"><br clear="none" class="yiv1201859809"></div><div class="yiv1201859809">Hello,</div><div class="yiv1201859809"><br clear="none" class="yiv1201859809"></div><div class="yiv1201859809" dir="ltr" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58212">I have compiled a very simple program to test ncl. When I ran it with a small array, say 10x10, it ran fine. However, when I increased the sizes to 100x100 or larger, it got segmentation faults. I attached the simple code in the following for your reference. Please let me know if I did anything wrong or how to solve this problem. Thanks.</div><div class="yiv1201859809" dir="ltr" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58211"><br clear="none" class="yiv1201859809"></div><div class="yiv1201859809" dir="ltr" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58210">Yuanfu</div><div class="yiv1201859809" dir="ltr" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58209"><br clear="none" class="yiv1201859809"></div><div class="yiv1201859809" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58169" style="margin-top:0px;margin-bottom:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;"><span class="yiv1201859809" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58170" style="">program tst</span></div><div class="yiv1201859809" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58171" style="margin-top:0px;margin-bottom:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;min-height:16px;"><span class="yiv1201859809" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58172" style="">  </span></div><div class="yiv1201859809" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58173" style="margin-top:0px;margin-bottom:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;"><span class="yiv1201859809" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58174" style="">  integer, parameter nd = 100</span></div><div class="yiv1201859809" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58175" style="margin-top:0px;margin-bottom:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;"><span class="yiv1201859809" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58176" style="">  real a(nd,nd)</span></div><div class="yiv1201859809" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58177" style="margin-top:0px;margin-bottom:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;min-height:16px;"><span class="yiv1201859809" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58178" style=""></span><br clear="none" class="yiv1201859809" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58179"></div><div class="yiv1201859809" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58180" style="margin-top:0px;margin-bottom:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;"><span class="yiv1201859809" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58181" style="">  a = 1.0</span></div><div class="yiv1201859809" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58182" style="margin-top:0px;margin-bottom:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;min-height:16px;"><span class="yiv1201859809" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58183" style=""></span><br clear="none" class="yiv1201859809" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58184"></div><div class="yiv1201859809" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58185" style="margin-top:0px;margin-bottom:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;"><span class="yiv1201859809" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58186" style="">  call opngks</span></div><div class="yiv1201859809" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58187" style="margin-top:0px;margin-bottom:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;"><span class="yiv1201859809" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58188" style="">  call cpcnrc(a,nd,nd,nd,0.0,0.0,0.0,0,0,-1000)</span></div><div class="yiv1201859809" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58189" style="margin-top:0px;margin-bottom:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;"><span class="yiv1201859809" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58190" style="">  call frame</span></div><div class="yiv1201859809" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58191" style="margin-top:0px;margin-bottom:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;"><span class="yiv1201859809" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58192" style="">  call clsgks</span></div><div class="yiv1201859809" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58193" style="margin-top:0px;margin-bottom:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;min-height:16px;"><span class="yiv1201859809" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58194" style=""></span><br clear="none" class="yiv1201859809" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58195"></div><div class="yiv1201859809" dir="ltr">











</div><div class="yiv1201859809" dir="ltr" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58196" style="margin-top:0px;margin-bottom:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;"><span class="yiv1201859809" id="yiv1201859809yui_3_16_0_ym19_1_1516090453755_58197" style="">end program</span></div></div></div>_______________________________________________<br clear="none" class="yiv1201859809">ncl-install mailing list<br clear="none" class="yiv1201859809">List instructions, subscriber options, unsubscribe:<br clear="none" class="yiv1201859809"><a rel="nofollow" shape="rect" class="yiv1201859809" target="_blank" href="http://mailman.ucar.edu/mailman/listinfo/ncl-install">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br clear="none" class="yiv1201859809"></div></div></blockquote></div><br clear="none" class="yiv1201859809"></div></div></div></div><br><br></div>  </div> </div>  </div></div></body></html>