<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="">Yuanfu,<div class=""><br class=""></div><div class="">I’m sorry, I should have also asked you to run the command “<font face="Menlo" class="">/usr/local/bin/gfortran --version</font>”. I suspect that you might have gcc/gfortran version 7.1.0 installed, while the Mac binary release of NCL was built with gcc/gfortran 6.3.0. This is important because gcc <=6.x provides libgfortran.3.dylib, while gcc >=7 provides libgfortran.4.dylib.</div><div class=""><br class=""></div><div class="">If your version of gcc/gfortran <i class="">is</i> 7.1.0, then downloading and installing the gcc 6.3 tarball from this link should fix the libgfortran issue: <a href="https://sourceforge.net/projects/hpc/files/hpc/gcc/" class="">https://sourceforge.net/projects/hpc/files/hpc/gcc/</a></div><div class=""><br class=""></div><div class="">If that does not solve the problem, please let us know so we can continue diagnosing the issue.</div><div class=""><br class=""></div><div class="">I hope this helps!</div><div class=""><br class=""></div><div class="">Kevin</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 18, 2018, at 8:16 PM, Yuanfu Xie <<a href="mailto:yuanfu_xie@yahoo.com" class="">yuanfu_xie@yahoo.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div style="background-color: rgb(255, 255, 255); font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;" class=""><div id="yui_3_16_0_ym19_1_1516268359903_28641" class=""><span class=""></span></div><div id="yui_3_16_0_ym19_1_1516268359903_28640" class=""><span class="">Kevin,</span></div><div id="yui_3_16_0_ym19_1_1516268359903_28639" class=""><span class=""><br class=""></span></div><div id="yui_3_16_0_ym19_1_1516268359903_28597" class=""><span id="yui_3_16_0_ym19_1_1516268359903_28617" class="">Yes, I did get the similar error message after running </span>ncl -V command.</div><div id="yui_3_16_0_ym19_1_1516268359903_28597" class=""><br class=""></div><div id="yui_3_16_0_ym19_1_1516268359903_28597" dir="ltr" class="">Here is the output of the command of <span style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif;" id="yui_3_16_0_ym19_1_1516268359903_28665" class="">“</span><font face="Menlo" id="yui_3_16_0_ym19_1_1516268359903_28666" class="">ls -l /usr/local/lib/libgfortran.*</font><span style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif;" id="yui_3_16_0_ym19_1_1516268359903_28667" class="">”</span></div><div style="margin-top: 0px; margin-bottom: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: Courier; color: rgb(77, 47, 45); background-color: rgb(223, 219, 195);" id="yui_3_16_0_ym19_1_1516268359903_28768" class=""><span style="font-variant-ligatures: no-common-ligatures" id="yui_3_16_0_ym19_1_1516268359903_28769" class=""><i id="yui_3_16_0_ym19_1_1516268359903_28770" class="">xieyuanfudeiMac:~ xieyuanfu$ ls -l /usr/local/lib/libgfortran.*</i></span></div><div style="margin-top: 0px; margin-bottom: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: Courier; color: rgb(77, 47, 45); background-color: rgb(223, 219, 195);" id="yui_3_16_0_ym19_1_1516268359903_28771" class=""><span style="font-variant-ligatures: no-common-ligatures" id="yui_3_16_0_ym19_1_1516268359903_28772" class=""><i id="yui_3_16_0_ym19_1_1516268359903_28773" class="">-rwxr-xr-x 1 root wheel 2088644 Jun 7 2017 /usr/local/lib/libgfortran.4.dylib</i></span></div><div style="margin-top: 0px; margin-bottom: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: Courier; color: rgb(77, 47, 45); background-color: rgb(223, 219, 195);" id="yui_3_16_0_ym19_1_1516268359903_28774" class=""><span style="font-variant-ligatures: no-common-ligatures" id="yui_3_16_0_ym19_1_1516268359903_28775" class=""><i id="yui_3_16_0_ym19_1_1516268359903_28776" class="">-rw-r--r-- 1 root wheel 10410160 Jun 7 2017 /usr/local/lib/libgfortran.a</i></span></div><div style="margin-top: 0px; margin-bottom: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: Courier; color: rgb(77, 47, 45); background-color: rgb(223, 219, 195);" id="yui_3_16_0_ym19_1_1516268359903_28777" class=""><span style="font-variant-ligatures: no-common-ligatures" id="yui_3_16_0_ym19_1_1516268359903_28778" class=""><i id="yui_3_16_0_ym19_1_1516268359903_28779" class="">lrwxr-xr-x 1 root wheel 19 Jun 7 2017 /usr/local/lib/libgfortran.dylib -> libgfortran.4.dylib</i></span></div><div style="margin-top: 0px; margin-bottom: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: Courier; color: rgb(77, 47, 45); background-color: rgb(223, 219, 195);" id="yui_3_16_0_ym19_1_1516268359903_28780" class=""><span style="font-variant-ligatures: no-common-ligatures" id="yui_3_16_0_ym19_1_1516268359903_28781" class=""><i id="yui_3_16_0_ym19_1_1516268359903_28782" class="">-rwxr-xr-x 1 root wheel 989 Jun 7 2017 /usr/local/lib/<a href="http://libgfortran.la" class="">libgfortran.la</a></i></span></div><div id="yui_3_16_0_ym19_1_1516268359903_28597" dir="ltr" class="">
</div><div style="margin-top: 0px; margin-bottom: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: Courier; color: rgb(77, 47, 45); background-color: rgb(223, 219, 195);" id="yui_3_16_0_ym19_1_1516268359903_28783" class=""><span style="font-variant-ligatures: no-common-ligatures" id="yui_3_16_0_ym19_1_1516268359903_28784" class=""><i id="yui_3_16_0_ym19_1_1516268359903_28785" class="">-rw-r--r-- 1 root wheel 198 Jun 7 2017 /usr/local/lib/libgfortran.spec</i></span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1516268359903_28786" class=""><span style="font-variant-ligatures: no-common-ligatures" id="yui_3_16_0_ym19_1_1516268359903_28787" class=""><i id="yui_3_16_0_ym19_1_1516268359903_28788" class=""><br id="yui_3_16_0_ym19_1_1516268359903_28789" class=""></i></span></div><div id="yui_3_16_0_ym19_1_1516268359903_28597" class="">Thank you for your help.</div><div id="yui_3_16_0_ym19_1_1516268359903_28597" class=""><br class=""></div><div id="yui_3_16_0_ym19_1_1516268359903_28597" class="">Yuanfu</div> <div class="qtdSeparateBR"><br class=""><br class=""></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 13px;" class=""> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" class=""> <div dir="ltr" class=""><font size="2" face="Arial" class=""> On Friday, January 19, 2018 1:35 AM, Kevin Hallock <<a href="mailto:hallock@ucar.edu" class="">hallock@ucar.edu</a>> wrote:<br class=""></font></div> <br class=""><br class=""> <div class="y_msg_container"><div id="yiv7828680716" class=""><div class="">Hi Yuanfu,<div class="yiv7828680716"><br clear="none" class="yiv7828680716"></div><div class="yiv7828680716">If you run the command “<font class="yiv7828680716" face="Menlo">ncl -V</font>”, do you get a similar error message or does it display the version of NCL?</div><div class="yiv7828680716"><br clear="none" class="yiv7828680716"></div><div class="yiv7828680716">Could you also please try running “<font class="yiv7828680716" face="Menlo">ls -l /usr/local/lib/libgfortran.*</font>” and reply with the output?</div><div class="yiv7828680716"><br clear="none" class="yiv7828680716"></div><div class="yiv7828680716">Thanks,</div><div class="yiv7828680716">Kevin</div><div class="yiv7828680716"><br clear="none" class="yiv7828680716"><div class=""><blockquote class="yiv7828680716" type="cite"><div class="yiv7828680716yqt1565499762" id="yiv7828680716yqt35109"><div class="yiv7828680716">On Jan 18, 2018, at 2:48 AM, Yuanfu Xie via ncl-install <<a rel="nofollow" shape="rect" class="yiv7828680716" 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="yiv7828680716Apple-interchange-newline"><div class="yiv7828680716"><div class="yiv7828680716"><div class="yiv7828680716" style="background-color:rgb(255, 255, 255);font-family:'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;"><div class="yiv7828680716" id="yiv7828680716yui_3_16_0_ym19_1_1516268359903_2798"><br clear="none" class="yiv7828680716"></div><div class="yiv7828680716" id="yiv7828680716yui_3_16_0_ym19_1_1516268359903_2798">Greetings.</div><div class="yiv7828680716" id="yiv7828680716yui_3_16_0_ym19_1_1516268359903_2798"><br clear="none" class="yiv7828680716"></div><div class="yiv7828680716" dir="ltr" id="yiv7828680716yui_3_16_0_ym19_1_1516268359903_2798">I am trying to install ncl on my Mac (a desktop computer). When I ran test program of "<i class="yiv7828680716" id="yiv7828680716yui_3_16_0_ym19_1_1516268359903_3021" style="color:rgb(77, 47, 45);font-family:Courier;font-size:18px;">ng4ex xy01n -clean</i>" it shows that </div><div class="yiv7828680716" dir="ltr" id="yiv7828680716yui_3_16_0_ym19_1_1516268359903_3058" style="margin-top:0px;margin-bottom:0px;font-stretch:normal;font-size:18px;line-height:normal;font-family:Courier;color:rgb(77, 47, 45);background-color:rgb(223, 219, 195);"><span class="yiv7828680716" id="yiv7828680716yui_3_16_0_ym19_1_1516268359903_3059" style=""><i class="yiv7828680716" id="yiv7828680716yui_3_16_0_ym19_1_1516268359903_3060">dyld: Library not loaded: /usr/local/lib/libgfortran.3.dylib</i></span></div><div class="yiv7828680716" dir="ltr" id="yiv7828680716yui_3_16_0_ym19_1_1516268359903_2798"><br clear="none" class="yiv7828680716"></div><div class="yiv7828680716" dir="ltr" id="yiv7828680716yui_3_16_0_ym19_1_1516268359903_2798">However, I have <i class="yiv7828680716" id="yiv7828680716yui_3_16_0_ym19_1_1516268359903_3065" style="color:rgb(77, 47, 45);font-family:Courier;font-size:18px;">dyld: Library not loaded: /usr/local/lib/libgfortran.4.dylib</i></div><div class="yiv7828680716" dir="ltr" id="yiv7828680716yui_3_16_0_ym19_1_1516268359903_2798">instead. How can I solve this problem? Thanks.</div><div class="yiv7828680716" dir="ltr" id="yiv7828680716yui_3_16_0_ym19_1_1516268359903_2798"><br clear="none" class="yiv7828680716"></div><div class="yiv7828680716" dir="ltr" id="yiv7828680716yui_3_16_0_ym19_1_1516268359903_2798">Yuanfu</div></div></div>_______________________________________________<br clear="none" class="yiv7828680716">ncl-install mailing list<br clear="none" class="yiv7828680716">List instructions, subscriber options, unsubscribe:<br clear="none" class="yiv7828680716"><a rel="nofollow" shape="rect" class="yiv7828680716" target="_blank" href="http://mailman.ucar.edu/mailman/listinfo/ncl-install">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br clear="none" class="yiv7828680716"></div></div></blockquote></div><br clear="none" class="yiv7828680716"></div></div></div><br class=""><br class=""></div> </div> </div> </div></div></div></div></blockquote></div><br class=""></div></body></html>