<div dir="ltr">Hi Kevin,<div><br></div><div>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: </div><div><br></div><div><font color="#0000ff">ncl_ncarg-6.4.0-MacOS_10.12_64bit_gnu530.tar.gz</font><br></div><div><br></div><div>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">gcc-6.3</font>. 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, 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><br></div><div>Regards,</div><div>Oscar</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 17, 2017 at 6:25 PM, Kevin Hallock <span dir="ltr"><<a href="mailto:hallock@ucar.edu" target="_blank">hallock@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 style="word-wrap:break-word">Hi Oscar,<div><br></div><div>How did you install NCL on your machine? Are you using binaries from <a href="https://www.earthsystemgrid.org/dataset/ncl.640.html" target="_blank">our website</a>? Is NCL able to run without setting any DYLD_* environment variables?</div><div><br></div><div>The GCC/GFortran packages we recommend in our <a href="http://ncl.ucar.edu/Download/macosx.shtml#InstallCompilers" target="_blank">documentation</a> installs to /usr/local by default, and that appears to be the prefix of the missing library: </div><span class=""><div><blockquote type="cite"><div dir="ltr"><div><div><div><font color="#0000ff">dyld: Library not loaded: /usr/local/lib/libgomp.1.dylib</font></div></div></div></div></blockquote></div><div><br></div></span><div>I’m surprised that NCL is somehow working, but ncargpath isn’t.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Kevin</div></font></span><div><br><div><blockquote type="cite"><div><div class="h5"><div>On May 17, 2017, at 10:43 AM, Oscar Chimborazo <<a href="mailto:ochimborazo@gmail.com" target="_blank">ochimborazo@gmail.com</a>> wrote:</div><br class="m_6673349843730673224Apple-interchange-newline"></div></div><div><div><div class="h5"><div dir="ltr">Hi folks,<div><br></div><div>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><br></div><div><div><div><font color="#0000ff">dyld: Library not loaded: /usr/local/lib/libgomp.1.dylib</font></div><div><font color="#0000ff"> Referenced from: /opt/ncl-6.4.0/bin/ncargpath</font></div><div><font color="#0000ff"> Reason: image not found</font></div><div><font color="#0000ff">Abort</font></div><div><font color="#0000ff">if: Missing file name.</font></div></div></div><div><br></div><div>I set the environment like this:</div><div><br></div><div>export DYLD_LIBRARY_PATH=/opt/local/<wbr>lib/gcc5<br></div><div><br></div><div>I also tried with this environment:</div><div><br></div><div>export DYLD_FALLBACK_LIBRARY_PATH=/<wbr>opt/local/lib/gcc5<br></div><div><br></div><div>It didn't work. Also, I tried to test the installation of NCL with the commands:</div><div><div>ng4ex gsun01n -clean</div><div>ncargex cpex08 -clean</div></div><div> </div><div>And I get something similar except for the last line:<br></div><div><br></div><div><div><font color="#0000ff">dyld: Library not loaded: /usr/local/lib/libgomp.1.dylib</font></div><div><font color="#0000ff"> Referenced from: /opt/ncl-6.4.0/bin/ncargpath</font></div><div><font color="#0000ff"> Reason: image not found</font></div><div><font color="#0000ff">Abort</font></div></div><div><br></div><div>But as I mentioned before, the strange thing is that NCL 6.4.0 is working fine with my scripts.</div><div><br></div><div>Oscar<br></div></div></div></div><span class="">
______________________________<wbr>_________________<br>ncl-install mailing list<br>List instructions, subscriber options, unsubscribe:<br><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-install</a><br></span></div></blockquote></div><br></div></div></blockquote></div><br></div>