<div dir="ltr"><div>'seg faults' from any tool or language are the most difficult to debug due to lack of information.</div><div><br></div><div><span style="font-variant-ligatures:no-common-ligatures">s<b>h: line 1:  2596 </b></span><b><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">Segm</span><span style="font-variant-ligatures:no-common-ligatures">entation fault      (core dumped) ncl 'ini=2019041700' eu_read.ncl</span></b></div><div><br></div><div>[1] I see nothing wrong.</div><div>[2] I can not emulate your environment. This makes debugging difficult.</div><div>[3] 6.3.0 is 4+ years old. I'd suggest upgrading.  <br></div><div>[4] Does the following work?</div><div><br></div><div>%> ncl_filedump your_grib_file | less</div><div><br></div><div>[5] Big file but could you ftp the file? or place it someplace from which I could download the file?</div><div><br></div><div>ftp <a href="http://ftp.cgd.ucar.edu">ftp.cgd.ucar.edu</a></div><div>anonymous</div><div>your_email</div><div>cd incoming</div><div>put your_grib_file</div><div>quit</div><div><br></div><div>Send me an email after successful transfer.<br></div><div><br></div></div><br><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">jlauer@meteomatics.com</a>> wrote:<br></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;">Dear NCL Community,<div><br></div><div>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><br></div><div><b>Error message:</b></div><div><br></div><div><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)">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)"><span style="font-variant-ligatures:no-common-ligatures">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)"><span style="font-variant-ligatures:no-common-ligatures">    sh: line 1:  2596 </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)"><b>Segm</b></span><span style="font-variant-ligatures:no-common-ligatures">entation fault      (core dumped) ncl 'ini=2019041700' eu_read.ncl</span></div><div><span class="gmail-m_6464475336906661206Apple-tab-span" style="white-space:pre-wrap">         </span></div><div><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><br></div><div><div><b>Technical info:</b></div><div><br></div><div><span class="gmail-m_6464475336906661206Apple-tab-span" style="white-space:pre-wrap">   </span>NCL version: 6.3.0</div><div><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><span class="gmail-m_6464475336906661206Apple-tab-span" style="white-space:pre-wrap">       </span></div><div><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><br></div><div>Maybe somebody was confronted with the same issue already? I am very glad to give any additional information if required.</div><div><br></div><div>Thanks in advance and best regards,</div><div>Jonas</div><div><br></div><div><br></div><div>
<div 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;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="line-height:normal"><span style="font-size:15px;font-family:Arial,sans-serif;color:rgb(104,146,199)" lang="EN-US">d/d</span><span style="font-size:15px;font-family:Arial,sans-serif" lang="EN-US"> <span style="color:rgb(253,196,0)">x</span> <span style="color:rgb(111,112,114)">meteo</span><span style="color:rgb(104,146,199)">matics</span></span><span style="font-size:15px;font-family:Calibri,sans-serif" lang="EN-US"> </span><span style="font-size:8pt;font-family:Arial,sans-serif" lang="EN-US"><br></span><span style="font-size:8pt;font-family:Calibri,sans-serif" lang="EN-US">Your Experts in Weather Data Processing.</span><span style="font-size:15px;font-family:Calibri,sans-serif" lang="EN-US"><br><br></span><b style="font-size:15px;font-family:Calibri,sans-serif"><span style="font-size:8pt" lang="DE-CH">Meteomatics AG</span></b><span style="font-size:15px;font-family:Calibri,sans-serif" lang="DE-CH"> <br></span><span style="font-family:Calibri,sans-serif" lang="DE-CH"><font size="1">Jonas Lauer</font><br><br></span><span style="font-size:8pt;font-family:Calibri,sans-serif" lang="DE-CH">Lerchenfeldstrasse 3<br></span><span style="font-size:8pt;font-family:Calibri,sans-serif" lang="DE-CH">CH-9014 St. Gallen</span></div><div style="line-height:normal"><span style="font-family:Calibri,sans-serif;font-size:8pt" lang="DE-CH">Tel.: +41 (0) 71 272 66 53</span></div><div style="line-height:normal"><span style="font-family:Calibri,sans-serif;font-size:8pt" lang="EN-US"><span style="color:blue"><font color="#800080"><a href="http://www.meteomatics.com" target="_blank">www.meteomatics.com</a></font></span></span></div><div style="line-height:normal"><a href="https://www.twitter.com/Meteomatics" target="_blank"><br class="gmail-m_6464475336906661206Apple-interchange-newline"></a></div></div><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;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br class="gmail-m_6464475336906661206Apple-interchange-newline"><span><img id="gmail-m_64644753369066612060727BB06-FE79-4DDD-BB8A-5C33492C51AF" src="cid:16a59d51f23c58e0061"></span><span><img id="gmail-m_646447533690666120689F93C81-2E93-470B-83F2-A1F119090407" src="cid:16a59d51f238ef2ec82"></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"></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"><span><span><img id="gmail-m_6464475336906661206279F4044-CDEE-4324-9BA6-5B30EA173944" src="cid:16a59d51f23e0db8a53"></span></span></a><a href="https://www.facebook.com/meteomatics/" target="_blank"><span><span><img id="gmail-m_6464475336906661206ECFFF325-98AD-4DC9-B1CD-5A6FA6D812EB" src="cid:16a59d51f23aa407674"></span>
</span></a></span></div><a href="https://www.facebook.com/meteomatics/" target="_blank">
</a><br></div>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote></div>