<div dir="ltr">Thanks Mary, see below, grepping for LD returns nothing.<br><div><br><br>134:~ jatinkala$ env | grep NCARG<br>NCARG_ROOT=/usr/local/ncl-6.3.0<br>134:~ jatinkala$ env | grep LD<br>134:~ jatinkala$ which ncl<br>/usr/local/ncl-6.3.0/bin/ncl<br>134:~ jatinkala$ otool -L `which ncl`<br>/usr/local/ncl-6.3.0/bin/ncl:<br> /opt/X11/lib/libpng15.15.dylib (compatibility version 34.0.0, current version 34.0.0)<br> /opt/X11/lib/libcairo.2.dylib (compatibility version 11203.0.0, current version 11203.16.0)<br> /opt/X11/lib/libfontconfig.1.dylib (compatibility version 10.0.0, current version 10.0.0)<br> /opt/X11/lib/libpixman-1.0.dylib (compatibility version 33.0.0, current version 33.6.0)<br> /opt/X11/lib/libfreetype.6.dylib (compatibility version 18.0.0, current version 18.2.0)<br> /opt/X11/lib/libXrender.1.dylib (compatibility version 5.0.0, current version 5.0.0)<br> /usr/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.5)<br> /usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)<br> /opt/X11/lib/libXpm.4.dylib (compatibility version 16.0.0, current version 16.0.0)<br> /opt/X11/lib/libX11.6.dylib (compatibility version 10.0.0, current version 10.0.0)<br> /opt/X11/lib/libXext.6.dylib (compatibility version 11.0.0, current version 11.0.0)<br> /usr/local/lib/libgfortran.3.dylib (compatibility version 4.0.0, current version 4.0.0)<br> /usr/local/lib/libquadmath.0.dylib (compatibility version 1.0.0, current version 1.0.0)<br> /usr/local/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.20.0)<br> /usr/local/lib/libgomp.1.dylib (compatibility version 2.0.0, current version 2.0.0)<br> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0)<br> /usr/local/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)<br>134:~ jatinkala$ which gcc<br>/usr/bin/gcc<br>134:~ jatinkala$ which gfortran<br>/usr/local/bin/gfortran<br>134:~ jatinkala$ <br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 26, 2016 at 5:46 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">Jatin,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I think there is something wrong with your environment. In general, you shouldn't be needing to create softlinks or set DYLD_XXXXX.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">What does the following report on your system:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">env | grep NCARG</div><div class="gmail_default" style="font-size:small">env | grep LD</div><div class="gmail_default" style="font-size:small">which ncl<br>otool -L `which ncl`</div><div class="gmail_default" style="font-size:small">which gcc</div><div class="gmail_default" style="font-size:small">which gfortran</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="h5">On Sun, Jan 24, 2016 at 6:38 PM, Jatin Kala <span dir="ltr"><<a href="mailto:jatin.kala.jk@gmail.com" target="_blank">jatin.kala.jk@gmail.com</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="h5"><div dir="ltr"><div><div><div><div><div><div><div><div><div>Hi,<br></div>I am trying to install ncl on a new mac:<br></div>OX X El Capitan, 10.11.3<br><br></div>The pre-compiled binary is:<br>ncl_ncarg-6.3.0.MacOS_10.10_64bit_nodap_gcc492.tar.gz<br><br></div>ncl -v works:<br>$ ncl -v<br>Unknown option `-v'<br> Copyright (C) 1995-2015 - All Rights Reserved<br> University Corporation for Atmospheric Research<br> NCAR Command Language Version 6.3.0<br> The use of this software is governed by a License Agreement.<br> See <a href="http://www.ncl.ucar.edu/" target="_blank">http://www.ncl.ucar.edu/</a> for more details.<br>ncl 0> <br><br><br></div>but the ng4ex command fails, even though i have set DYLD_FALLBACK_LIBRARY_PATH to gcc5:<br><br>$ echo $DYLD_FALLBACK_LIBRARY_PATH<br>/opt/local/lib/gcc5<br>$ ls -l /opt/local/lib/gcc5/libgomp.1.dylib <br>lrwxr-xr-x 1 root admin 37 22 Jan 17:38 /opt/local/lib/gcc5/libgomp.1.dylib -> /opt/local/lib/libgcc/libgomp.1.dylib<br>$ ng4ex gsun01n -clean<br>dyld: Library not loaded: /usr/local/lib/libgomp.1.dylib<br> Referenced from: /usr/local/ncl-6.3.0/bin/ncargpath<br> Reason: image not found<br>Trace/BPT trap<br><br></div>contents of .profile:<br>$ cat ~/.profile <br><br># MacPorts Installer addition on 2016-01-22_at_14:17:32: adding an appropriate PATH variable for use with MacPorts.<br>export PATH="/opt/local/bin:/opt/local/sbin:$PATH"<br># Finished adapting your PATH environment variable for use with MacPorts.<br>export DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib/gcc5<br>export NCARG_ROOT=/usr/local/ncl-6.3.0<br>export PATH=$NCARG_ROOT/bin:$PATH<br>export DYLD_LIBRARY_PATH=/usr/local/gfortran/lib/<br>export CLICOLOR=1<br>export LSCOLORS=ExFxCxDxBxegedabagacad<br><br><br></div>Any ideas?<br></div>Cheers,<br></div>Jatin<br><div><div><br><div><div><br><br><br><br><br><br></div></div></div></div></div>
<br></div></div>_______________________________________________<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/mailman/listinfo/ncl-install</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>