<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Lijing,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You might benefit from installing NCL via conda instead:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Download/conda.shtml">http://www.ncl.ucar.edu/Download/conda.shtml</a><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If you don't want to do this, then I need to have you type some UNIX commands so I can try to figure out what's going on with your environment:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><font face="monospace, monospace">which gcc</font></div><div class="gmail_default" style="font-size:small"><font face="monospace, monospace">which gfortran</font></div><div class="gmail_default" style="font-size:small"><font face="monospace, monospace">gcc --version</font></div><div class="gmail_default" style="font-size:small"><font face="monospace, monospace">gfortran --version</font></div><div class="gmail_default" style="font-size:small"><font face="monospace, monospace">find /usr/local/lib -name 'libgomp.*' -print</font></div><div class="gmail_default" style="font-size:small"><font face="monospace, monospace">find /opt/local/lib -name 'libgomp.*' -print</font></div><div class="gmail_default" style="font-size:small"><font face="monospace, monospace">env | grep NCARG</font></div><div class="gmail_default" style="font-size:small"><font face="monospace, monospace">ncl -V</font></div><div class="gmail_default" style="font-size:small"><font face="monospace, monospace">which ncl</font></div><div class="gmail_default" style="font-size:small"><font face="monospace, monospace">otool -L `which ncl`</font></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Thanks,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 29, 2017 at 4:16 PM, Cheng Lijing <span dir="ltr"><<a href="mailto:chenglij@mail.iap.ac.cn" target="_blank">chenglij@mail.iap.ac.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font:14px/1.5 'Lucida Grande','\005fae\008f6f\0096c5\009ed1';color:#333"><p style="font:14px/1.5 'Lucida Grande';margin:0"><br></p><p style="font:14px/1.5 'Lucida Grande';margin:0">The version  has already updated…. Is that because my Mac is OS X Yosemite 10.10.5, rather than 11?</p><p style="font:14px/1.5 'Lucida Grande';margin:0"><br></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">chengdeMBP:~ cheng$ gcc --version </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">gcc (GCC) 7.1.0</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Copyright (C) 2017 Free Software Foundation, Inc.</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">This is free software; see the source for copying conditions.  There is NO</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px"><br></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">chengdeMBP:~ cheng$ gfortran --version</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">GNU Fortran (GCC) 7.1.0</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Copyright (C) 2017 Free Software Foundation, Inc.</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">This is free software; see the source for copying conditions.  There is NO</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</p><p style="line-height:1.5;font-family:'Lucida Grande';margin:0px">










</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px"><br></p><span style="font:14px/1.5 'Lucida Grande';color:#333"><br></span><div class="m_-4173466304069746740foxmail_blockquote_fromhere_element" style="font:12px/1.5 'Lucida Grande';padding:2px 0 2px 0"><span style="color:#333;text-decoration:line-through;white-space:pre-wrap">                            </span> 原始邮件 <span style="color:#333;text-decoration:line-through;white-space:pre-wrap">                            </span></div><div style="font:12px/1.5 'Lucida Grande';background:#efefef;color:#666666;padding:8px"><div><b style="color:#999">发件人:</b> Mary Haley<<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></div><div><b style="color:#999">收件人:</b> Cheng Lijing<<a href="mailto:chenglij@mail.iap.ac.cn" target="_blank">chenglij@mail.iap.ac.cn</a><wbr>></div><div><b style="color:#999">抄送:</b> <a href="mailto:ncl-install@ucar.edu" target="_blank">ncl-install@ucar.edu</a><<a href="mailto:ncl-install@ucar.edu" target="_blank">ncl-<wbr>install@ucar.edu</a>></div><div><b style="color:#999">发送时间:</b> 2017年8月29日(周二) 16:07</div><div><div class="h5"><div><b style="color:#999">主题:</b> Re: [ncl-install] NCL install problem</div></div></div></div><div><div class="h5"><br><div class="m_-4173466304069746740mail_quote_343642CDF8344139A90345F9D6F72F3F" style="font:14px/1.5 'Lucida Grande';color:#333"><div dir="ltr"><div class="gmail_default" style="font-size:small">The macosx.shtml file that was mentioned earlier in this email thread explains the issue and solution to the libgomp problem:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Download/macosx.shtml#MissingLibs" target="_blank">http://www.ncl.ucar.edu/<wbr>Download/macosx.shtml#<wbr>MissingLibs</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">It looks like your GNU compilers may need to be upgraded.</div><div class="gmail_default"><br></div><div class="gmail_default">--Mary</div><div class="gmail_default"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 29, 2017 at 2:07 PM, Cheng Lijing <span dir="ltr"><<a href="mailto:chenglij@mail.iap.ac.cn" target="_blank">chenglij@mail.iap.ac.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font:14px/1.5 'Lucida Grande','\005fae\008f6f\0096c5\009ed1';color:#333"><p style="font:14px/1.5 'Lucida Grande';margin:0">Dear Mary</p><p style="font:14px/1.5 'Lucida Grande';margin:0"><br></p><p style="font:14px/1.5 'Lucida Grande';margin:0">   I’m witing to ask you again about the NCL installation, sorry if it bothers you.</p><p style="font:14px/1.5 'Lucida Grande';margin:0"><br></p><p style="font:14px/1.5 'Lucida Grande';margin:0">When I try to test my NCL, it goes to the following error:</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">  ng4ex xy01n -clean</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">dyld: Library not loaded: /opt/local/lib/libgcc/libgomp.<wbr>1.dylib</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">  Referenced from: /Users/cheng/Documents/ncl-6.4<wbr>.0/bin/ncargpath</p><p style="line-height:1.5;font-family:'Lucida Grande';margin:0px">


</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">  Reason: image not found</p><div><br></div><div>But I suppose my gcc and gfortran works, as you see:</div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">which gcc</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">/usr/bin/gcc</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">chengdeMBP:~ cheng$ which gfortran</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">/usr/local/bin/gfortran</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><br></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-family:'Lucida Grande',微软雅黑;font-size:14px;line-height:21px">So, what should I do with this error? Thanks a lot!</span></p><div><div class="m_-4173466304069746740h5"><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-family:'Lucida Grande',微软雅黑;font-size:14px;line-height:21px"><br></span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-family:'Lucida Grande',微软雅黑;font-size:14px;line-height:21px">Lijing </span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><br></p><div class="m_-4173466304069746740m_4906395005812234805foxmail_blockquote_fromhere_element" style="font:12px/1.5 'Lucida Grande';padding:2px 0 2px 0"><span style="color:#333;text-decoration:line-through;white-space:pre-wrap">                            </span> 原始邮件 <span style="color:#333;text-decoration:line-through;white-space:pre-wrap">                            </span></div><div style="font:12px/1.5 'Lucida Grande';background:#efefef;color:#666666;padding:8px"><div><b style="color:#999">发件人:</b> Dennis Shea<<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>></div><div><b style="color:#999">收件人:</b> Cheng Lijing<<a href="mailto:chenglij@mail.iap.ac.cn" target="_blank">chenglij@mail.iap.ac.cn</a><wbr>></div><div><b style="color:#999">抄送:</b> Mary Haley<<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></div><div><b style="color:#999">发送时间:</b> 2017年8月29日(周二) 11:47</div><div><b style="color:#999">主题:</b> Re: [ncl-install] NCL install problem</div></div><br><div class="m_-4173466304069746740m_4906395005812234805mail_quote_F64A1D6C0FA84075B60AA7DEDD37AE30" style="font:14px/1.5 'Lucida Grande';color:#333"><div dir="ltr"><div>Hi Lijing<br><br></div>Were you able to install NCL?<br><br>?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 29, 2017 at 7:53 AM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">Well that's embarrassing! I've fixed the "macosx.shtml" page to not mention ng4ex.  It should be enough to use your MacOS spotlight application or file finder to check for the existence of XQuartz and its version. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I will update the documentation to reflect this.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-4173466304069746740m_4906395005812234805h5">On Mon, Aug 28, 2017 at 5:17 PM, Dave Allured - NOAA Affiliate <span dir="ltr"><<a href="mailto:dave.allured@noaa.gov" target="_blank">dave.allured@noaa.gov</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-4173466304069746740m_4906395005812234805h5"><div dir="ltr">Lijing,<div><br></div><div>It appears there is a mistake in the install instructions for Mac OS:</div><div><br></div><div>    <a href="http://www.ncl.ucar.edu/Download/macosx.shtml" target="_blank">http://www.ncl.ucar.edu/Downlo<wbr>ad/macosx.shtml</a><br></div><br>This page tells you to run the ng4ex command before installing NCL.  Actually, you must complete steps 1 through 4 on the general NCL binary install page, before the ng4ex command will work.  ng4ex is part of NCL:<div><br></div><div>    <a href="http://www.ncl.ucar.edu/Download/install.shtml" target="_blank">http://www.ncl.ucar.edu/Downlo<wbr>ad/install.shtml</a></div><div><br></div><div>When you click on the XQuartz icon, an xterm window is the correct result.  So it looks like you already installed XQuartz correctly.</div><div><br></div><div>Just finish the NCL binary install procedure, steps 1-4, especially setting the PATH variable.  Then go back to the specific instructions for Mac OS, starting with the ng4ex test.</div><span class="m_-4173466304069746740m_4906395005812234805m_6758423309136171058HOEnZb"><font color="#888888"><div><br></div></font></span><div><span class="m_-4173466304069746740m_4906395005812234805m_6758423309136171058HOEnZb"><font color="#888888">--Dave</font></span><div><div class="m_-4173466304069746740m_4906395005812234805m_6758423309136171058h5"><br><div><div><br></div><div><br></div><div class="gmail_extra"><div class="gmail_quote">On Mon, Aug 28, 2017 at 1:43 PM, Cheng Lijing <span dir="ltr"><<a href="mailto:chenglij@mail.iap.ac.cn" target="_blank">chenglij@mail.iap.ac.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div style="line-height:1.5"><p style="color:rgb(51,51,51);font-family:'Lucida Grande';font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;line-height:1.5;margin:0px"><br></p><div class="m_-4173466304069746740m_4906395005812234805m_6758423309136171058m_-6939975926049443782gmail-m_4275457001158929145mail_quote_D5E19A1AFF004DA39EF8BEA6619EC625" style="line-height:1.5"><div style="line-height:1.5"><p style="color:rgb(51,51,51);font-family:'Lucida Grande';font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;line-height:1.5;margin:0px">Hi all</p><p style="color:rgb(51,51,51);font-family:'Lucida Grande';font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;line-height:1.5;margin:0px"><br></p><p style="color:rgb(51,51,51);font-family:'Lucida Grande';font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;line-height:1.5;margin:0px">    I’ve installed XQuartz (XQuartz-2.7.11.gmg) to my mac (OS X Yosemite 10.10.5).. However, when I type in the terminal window: </p><p style="color:rgb(51,51,51);font-family:'Lucida Grande';font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;line-height:1.5;margin:0px"><span style="font-family:Menlo;font-size:11px;line-height:normal">ng4ex xy01n -clean</span></p><p style="color:rgb(51,51,51);font-family:'Lucida Grande';font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;line-height:1.5;margin:0px">    The error comes out:</p>
<p style="color:rgb(51,51,51);font-family:Menlo;font-size:11px;font-style:normal;font-variant-caps:normal;font-weight:normal;margin:0px;line-height:normal">-bash: ng4ex: command not found</p><p style="color:rgb(51,51,51);font-family:'Lucida Grande';font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;line-height:1.5;margin:0px"><br></p><p style="color:rgb(51,51,51);font-family:'Lucida Grande';font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;line-height:1.5;margin:0px">    How can I do with this? Since XQuartz is the first step installing NCL in Mac…I suppose my XQuartz has been installed corrected because when I click the icon of XQuartz, it comes out a xterm window.</p><p style="color:rgb(51,51,51);font-family:'Lucida Grande';font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;line-height:1.5;margin:0px"><br></p><p style="color:rgb(51,51,51);font-family:'Lucida Grande';font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;line-height:1.5;margin:0px">thanks</p><span class="m_-4173466304069746740m_4906395005812234805m_6758423309136171058m_-6939975926049443782gmail-HOEnZb"><font color="#888888"><p style="color:rgb(51,51,51);font-family:'Lucida Grande';font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;line-height:1.5;margin:0px"><br></p></font><p style="line-height:1.5;margin:0px"><font color="#888888"><font face="Lucida Grande" color="#333333">L</font></font>ijing</p></span></div></div></div></blockquote></div></div></div></div></div></div></div>
<br></div></div>______________________________<wbr>_________________<br>
ncl-install mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-install</a><br>
<br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
ncl-install mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-install</a><br>
<br></blockquote></div><br></div>

</div></div></div></div></blockquote></div><br></div>

</div></div></div></div></blockquote></div><br></div>