<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="">Oscar,<div class=""><br class=""></div><div class="">Great, I’m glad everything is working now! I will still look into the GCC version issue to verify our documentation is correct.</div><div class=""><br class=""></div><div class="">If you installed MacPorts into /opt (which it looks like you did), then installing this GCC package should not cause any conflicts with your MacPorts gcc. Also, it looks like you installed NCL to /opt/ncl-6.4.0, so you don’t even need to modify PATH to include /usr/local/bin (unless you need something else in that directory to be in your PATH).</div><div class=""><br class=""></div><div class="">Kevin</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On May 17, 2017, at 5:30 PM, Oscar Chimborazo &lt;<a href="mailto:ochimborazo@gmail.com" class="">ochimborazo@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi Kevin,<div class=""><br class=""></div><div class="">I was able to run the tools installing the GCC/GFortran packages you recommend but not exactly the one that matches the precompiled binary. Let me tell you. I installed NCL using your precompiled binary, this one:&nbsp;</div><div class=""><br class=""></div><div class=""><font color="#0000ff" class="">ncl_ncarg-6.4.0-MacOS_10.12_64bit_gnu530.tar.gz</font><br class=""></div><div class=""><br class=""></div><div class="">NCL was not able to run without setting any DYLD_*, and I got the similar messages when I unset those environment variables. So I installed the GCC/GFortran packages from the site that you recommend, and now everything is working fine without setting the environment variables. But I didn't install gcc-5.3, rather I installed <font color="#0000ff" class="">gcc-6.3</font>.&nbsp; I read about installing the gcc/gfortran files from that site in the recommendations for installing on Mac OSX, but I was a little reluctant to install them because I was afraid of conflicts with my gcc/gfortran installation from MacPorts,&nbsp;and also because I was surprised and curious that NCL was working except the tools. Anyway, everything is working fine now. Thank you for your help!</div><div class=""><br class=""></div><div class="">Regards,</div><div class="">Oscar</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, May 17, 2017 at 6:25 PM, Kevin Hallock <span dir="ltr" class="">&lt;<a href="mailto:hallock@ucar.edu" target="_blank" class="">hallock@ucar.edu</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Hi Oscar,<div class=""><br class=""></div><div class="">How did you install NCL on your machine? Are you using binaries from&nbsp;<a href="https://www.earthsystemgrid.org/dataset/ncl.640.html" target="_blank" class="">our website</a>? Is NCL able to run without setting any DYLD_* environment variables?</div><div class=""><br class=""></div><div class="">The GCC/GFortran packages we recommend in our&nbsp;<a href="http://ncl.ucar.edu/Download/macosx.shtml#InstallCompilers" target="_blank" class="">documentation</a>&nbsp;installs to /usr/local by default, and that appears to be the prefix of the missing library:&nbsp;</div><span class=""><div class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div class=""><div class=""><div class=""><font color="#0000ff" class="">dyld: Library not loaded: /usr/local/lib/libgomp.1.dylib</font></div></div></div></div></blockquote></div><div class=""><br class=""></div></span><div class="">I’m surprised that NCL is somehow working, but ncargpath isn’t.</div><span class="HOEnZb"><font color="#888888" class=""><div class=""><br class=""></div><div class="">Kevin</div></font></span><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class=""><div class="h5"><div class="">On May 17, 2017, at 10:43 AM, Oscar Chimborazo &lt;<a href="mailto:ochimborazo@gmail.com" target="_blank" class="">ochimborazo@gmail.com</a>&gt; wrote:</div><br class="m_6673349843730673224Apple-interchange-newline"></div></div><div class=""><div class=""><div class="h5"><div dir="ltr" class="">Hi folks,<div class=""><br class=""></div><div class="">I installed NCL 6.4.0 on Mac OSX Sierra. NCL is working fine with the scripts, however when I want to use the tools ncl_filedump or ncl_convert2nc, I get this:</div><div class=""><br class=""></div><div class=""><div class=""><div class=""><font color="#0000ff" class="">dyld: Library not loaded: /usr/local/lib/libgomp.1.dylib</font></div><div class=""><font color="#0000ff" class="">&nbsp; Referenced from: /opt/ncl-6.4.0/bin/ncargpath</font></div><div class=""><font color="#0000ff" class="">&nbsp; Reason: image not found</font></div><div class=""><font color="#0000ff" class="">Abort</font></div><div class=""><font color="#0000ff" class="">if: Missing file name.</font></div></div></div><div class=""><br class=""></div><div class="">I set the environment like this:</div><div class=""><br class=""></div><div class="">export DYLD_LIBRARY_PATH=/opt/local/<wbr class="">lib/gcc5<br class=""></div><div class=""><br class=""></div><div class="">I also tried with this environment:</div><div class=""><br class=""></div><div class="">export DYLD_FALLBACK_LIBRARY_PATH=/<wbr class="">opt/local/lib/gcc5<br class=""></div><div class=""><br class=""></div><div class="">It didn't work. Also, I tried to test the installation of NCL with the commands:</div><div class=""><div class="">ng4ex gsun01n -clean</div><div class="">ncargex cpex08 -clean</div></div><div class="">&nbsp;</div><div class="">And I get something similar except for the last line:<br class=""></div><div class=""><br class=""></div><div class=""><div class=""><font color="#0000ff" class="">dyld: Library not loaded: /usr/local/lib/libgomp.1.dylib</font></div><div class=""><font color="#0000ff" class="">&nbsp; Referenced from: /opt/ncl-6.4.0/bin/ncargpath</font></div><div class=""><font color="#0000ff" class="">&nbsp; Reason: image not found</font></div><div class=""><font color="#0000ff" class="">Abort</font></div></div><div class=""><br class=""></div><div class="">But as I mentioned before, the strange thing is that NCL 6.4.0 is working fine with my scripts.</div><div class=""><br class=""></div><div class="">Oscar<br class=""></div></div></div></div><span class="">
______________________________<wbr class="">_________________<br class="">ncl-install mailing list<br class="">List instructions, subscriber options, unsubscribe:<br class=""><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank" class="">http://mailman.ucar.edu/<wbr class="">mailman/listinfo/ncl-install</a><br class=""></span></div></blockquote></div><br class=""></div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></body></html>