<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">http://www.ncl.ucar.edu/Download/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">http://www.ncl.ucar.edu/Download/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><div><br></div><div>--Dave<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="gmail-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="gmail-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 color="#333333" face="Lucida Grande">L</font></font>ijing</p></span></div></div></div></blockquote></div></div></div></div></div>