<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&#39;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">On Sun, Jan 24, 2016 at 6:38 PM, Jatin Kala <span dir="ltr">&lt;<a href="mailto:jatin.kala.jk@gmail.com" target="_blank">jatin.kala.jk@gmail.com</a>&gt;</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><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&#39;<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&gt; <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 -&gt; /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=&quot;/opt/local/bin:/opt/local/sbin:$PATH&quot;<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>_______________________________________________<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>