<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><div class=""><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><a href="https://www.facebook.com/meteomatics/" class=""><span><span></span>
</span></a></span></div><a href="https://www.facebook.com/meteomatics/" class="">
</a><br class=""><div><blockquote type="cite" class=""><div class="">On 26 Apr 2019, at 15:30, Dennis Shea <<a href="mailto:shea@ucar.edu" class="">shea@ucar.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">'seg faults' from any tool or language are the most difficult to debug due to lack of information.</div><div class=""><br class=""></div><div class=""><span style="font-variant-ligatures:no-common-ligatures" class="">s<b class="">h: line 1:  2596 </b></span><b class=""><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)" class="">Segm</span><span style="font-variant-ligatures:no-common-ligatures" class="">entation fault      (core dumped) ncl 'ini=2019041700' eu_read.ncl</span></b></div><div class=""><br class=""></div><div class="">[1] I see nothing wrong.</div><div class="">[2] I can not emulate your environment. This makes debugging difficult.</div><div class="">[3] 6.3.0 is 4+ years old. I'd suggest upgrading.  <br class=""></div><div class="">[4] Does the following work?</div><div class=""><br class=""></div><div class="">%> ncl_filedump your_grib_file | less</div><div class=""><br class=""></div><div class="">[5] Big file but could you ftp the file? or place it someplace from which I could download the file?</div><div class=""><br class=""></div><div class="">ftp <a href="http://ftp.cgd.ucar.edu/" class="">ftp.cgd.ucar.edu</a></div><div class="">anonymous</div><div class="">your_email</div><div class="">cd incoming</div><div class="">put your_grib_file</div><div class="">quit</div><div class=""><br class=""></div><div class="">Send me an email after successful transfer.<br class=""></div><div class=""><br class=""></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 26, 2019 at 1:48 AM Jonas Lauer <<a href="mailto:jlauer@meteomatics.com" class="">jlauer@meteomatics.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" class="">Dear NCL Community,<div class=""><br class=""></div><div class="">we have been happily using the ncl software for a couple of years already. Lately we regularly are confronted with Segmentation Faults for one of our scripts. The NCL script is called from a php script and works on grib files of 1.7GB.</div><div class=""><br class=""></div><div class=""><b class="">Error message:</b></div><div class=""><br class=""></div><div class=""><span class="gmail-m_6464475336906661206Apple-tab-span" style="white-space:pre-wrap">        </span><span style="font-family:Menlo;font-size:11px;background-color:rgba(255,255,255,0.91)" class="">Calling NCL</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.91)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Executing: export NCARG_ROOT=/PATH_NCL/ncl; export PATH=$NCARG_ROOT/bin:$PATH; cd /WORKING_DIR/euro4-plots; ncl 'ini=2019041700’ eu_read.ncl</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.91)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">    sh: line 1:  2596 </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)" class=""><b class="">Segm</b></span><span style="font-variant-ligatures:no-common-ligatures" class="">entation fault      (core dumped) ncl 'ini=2019041700' eu_read.ncl</span></div><div class=""><span class="gmail-m_6464475336906661206Apple-tab-span" style="white-space:pre-wrap">              </span></div><div class=""><span class="gmail-m_6464475336906661206Apple-tab-span" style="white-space:pre-wrap">  </span>There is no further information. As the same script has been working for a long time already and the second attempt with identical inputs worked, I would assume that there is no scripting problem.</div><div class=""><br class=""></div><div class=""><div class=""><b class="">Technical info:</b></div><div class=""><br class=""></div><div class=""><span class="gmail-m_6464475336906661206Apple-tab-span" style="white-space:pre-wrap">   </span>NCL version: 6.3.0</div><div class=""><span class="gmail-m_6464475336906661206Apple-tab-span" style="white-space:pre-wrap">        </span>OS:<span class="gmail-m_6464475336906661206Apple-tab-span" style="white-space:pre-wrap"> </span>CentOS Linux Version 7</div><div class=""><span class="gmail-m_6464475336906661206Apple-tab-span" style="white-space:pre-wrap">    </span></div><div class=""><span class="gmail-m_6464475336906661206Apple-tab-span" style="white-space:pre-wrap">  </span>At times we run several NCL scripts in parallel, might there be some confusion with temporary files? The processes run in different working directories.</div></div><div class=""><br class=""></div><div class="">Maybe somebody was confronted with the same issue already? I am very glad to give any additional information if required.</div><div class=""><br class=""></div><div class="">Thanks in advance and best regards,</div><div class="">Jonas</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class=""><div style="line-height:normal" class=""><span style="font-size:15px;font-family:Arial,sans-serif;color:rgb(104,146,199)" lang="EN-US" class="">d/d</span><span style="font-size:15px;font-family:Arial,sans-serif" lang="EN-US" class=""> <span style="color:rgb(253,196,0)" class="">x</span> <span style="color:rgb(111,112,114)" class="">meteo</span><span style="color:rgb(104,146,199)" class="">matics</span></span><span style="font-size:15px;font-family:Calibri,sans-serif" lang="EN-US" class=""> </span><span style="font-size:8pt;font-family:Arial,sans-serif" lang="EN-US" class=""><br class=""></span><span style="font-size:8pt;font-family:Calibri,sans-serif" lang="EN-US" class="">Your Experts in Weather Data Processing.</span><span style="font-size:15px;font-family:Calibri,sans-serif" lang="EN-US" class=""><br class=""><br class=""></span><b style="font-size:15px;font-family:Calibri,sans-serif" class=""><span style="font-size:8pt" lang="DE-CH" class="">Meteomatics AG</span></b><span style="font-size:15px;font-family:Calibri,sans-serif" lang="DE-CH" class=""> <br class=""></span><span style="font-family:Calibri,sans-serif" lang="DE-CH" class=""><font size="1" class="">Jonas Lauer</font><br class=""><br class=""></span><span style="font-size:8pt;font-family:Calibri,sans-serif" lang="DE-CH" class="">Lerchenfeldstrasse 3<br class=""></span><span style="font-size:8pt;font-family:Calibri,sans-serif" lang="DE-CH" class="">CH-9014 St. Gallen</span></div><div style="line-height:normal" class=""><span style="font-family:Calibri,sans-serif;font-size:8pt" lang="DE-CH" class="">Tel.: +41 (0) 71 272 66 53</span></div><div style="line-height:normal" class=""><span style="font-family:Calibri,sans-serif;font-size:8pt" lang="EN-US" class=""><span style="color:blue" class=""><font color="#800080" class=""><a href="http://www.meteomatics.com/" target="_blank" class="">www.meteomatics.com</a></font></span></span></div><div style="line-height:normal" class=""><a href="https://www.twitter.com/Meteomatics" target="_blank" class=""><br class="gmail-m_6464475336906661206Apple-interchange-newline"></a></div></div><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class=""><br class="gmail-m_6464475336906661206Apple-interchange-newline"><span class=""><span id="cid:16a59d51f23c58e0061"><PastedGraphic-3.tiff></span></span><span class=""><span id="cid:16a59d51f238ef2ec82"><PastedGraphic-1.tiff></span></span><a href="https://www.xing.com/companies/meteomaticsag" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank" class=""></a><a href="https://www.linkedin.com/company-beta/11124022/" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank" class=""><span class=""><span class=""><span id="cid:16a59d51f23e0db8a53"><PastedGraphic-4.tiff></span></span></span></a><a href="https://www.facebook.com/meteomatics/" target="_blank" class=""><span class=""><span class=""><span id="cid:16a59d51f23aa407674"><PastedGraphic-2.tiff></span></span>
</span></a></span></div><a href="https://www.facebook.com/meteomatics/" target="_blank" class="">
</a><br class=""></div>_______________________________________________<br class="">
ncl-talk mailing list<br class="">
<a href="mailto:ncl-talk@ucar.edu" target="_blank" class="">ncl-talk@ucar.edu</a><br class="">
List instructions, subscriber options, unsubscribe:<br class="">
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank" class="">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br class="">
</blockquote></div>
</div></blockquote></div><br class=""></div></body></html>