<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=""><div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><div class="" style="font-family: Helvetica; font-size: 12px;">I wanted to post my solution to the issue I just resolved in downloading NCL on my new Mac (running OS X 10.11.3). I downloaded the OPeNDAP-enabled Mac 10.10 version of NCL (ncl_ncarg-6.3.0.MacOS_10.10_64bit_gcc492).&nbsp;When I tested the code using "<font face="Menlo" class=""><span class="" style="font-size: 11px;">ng4ex xy01n -clean”, I received the following error message:</span></font></div><div class="" style="font-family: Helvetica; font-size: 12px;"><font face="Menlo" class=""><span class="" style="font-size: 11px;"><br class=""></span></font></div><div class="" style="font-family: Helvetica; font-size: 12px;"><font face="Menlo" class=""><span class="" style="font-size: 11px;">&gt;&gt;&nbsp;</span></font><span style="font-family: Menlo; font-size: 11px;" class="">ng4ex xy01n -clean</span></div><div class="" style="font-family: Helvetica; font-size: 12px;"><span style="font-family: Menlo; font-size: 11px;" class=""><br class=""></span></div><div class="" style="font-family: Helvetica; font-size: 12px;"><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">dyld: Library not loaded: /usr/local/lib/libgomp.1.dylib</div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">&nbsp; Referenced from: /usr/local/bin/ncargpath</div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">&nbsp; Reason: image not found</div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">Trace/BPT trap</div></div><div class="" style="font-family: Helvetica; font-size: 12px;"><br class=""></div><div class="" style="font-family: Helvetica; font-size: 12px;">As per the instructions on&nbsp;<a href="http://www.ncl.ucar.edu/Download/macosx.shtml#libgomp" style="font-family: Menlo; font-size: 11px;" class="">http://www.ncl.ucar.edu/Download/macosx.shtml#libgomp</a>,&nbsp;I had updated my version of gcc to 4.9.3. I confirmed that the missing file&nbsp;<span class="" style="font-family: Menlo; font-size: 11px;">libgomp.1.dylib&nbsp;</span>existed in the location: /opt/local/lib/gcc49. As per the instructions, I had also set the environment variable DYLD_FALLBACK_LIBRARY_PATH in .profile:</div><div class="" style="font-family: Helvetica; font-size: 12px;"><br class=""></div><div class="" style="font-family: Helvetica; font-size: 12px;">&gt;&gt; vi .profile</div><div class="" style="font-family: Helvetica; font-size: 12px;"><br class=""></div><div class="" style="font-family: Helvetica; font-size: 12px;"><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">export PATH=/opt/local/bin:/opt/local/sbin:$PATH</div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"># Finished adapting your PATH environment variable for use with MacPorts.</div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">export NCARG_ROOT=/usr/local/ncl-6.3.0</div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">export PATH=$NCARG_ROOT/bin:$PATH</div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">export DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib/gcc49</div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">export PATH=/opt/local/lib/gcc49:$PATH</div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">export DYLD_LIBRARY_PATH=/opt/local/lib/gcc49</div></div><div class="" style="font-family: Helvetica; font-size: 12px;"><br class=""></div></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">The solution was that I had to activate gcc on my system:</div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><br class=""></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">&gt;&gt; sudo port select --set gcc mp-gcc49</div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><br class=""></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">and then link the 3 files listed below:</div><div class=""><br class=""></div><div class="">&gt;&gt;&nbsp;<span class="" style="font-family: Menlo; font-size: 11px;">cd /usr/local/lib/</span></div><div class=""><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">&gt;&gt; sudo ln -s /opt/local/lib/gcc49/libgomp.1.dylib .</div></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><div class="" style="margin: 0px; line-height: normal;">&gt;&gt; sudo ln -s /opt/local/lib/gcc49/libgfortran.3.dylib .</div></div><div class="">&gt;&gt; &nbsp;<span class="" style="font-family: Menlo; font-size: 11px;">sudo ln -s /opt/local/lib/gcc49/libquadmath.0.dylib .</span></div><div class=""><br class=""></div><div class=""><span style="font-family: Menlo; font-size: 11px;" class="">The script ("</span><span class="" style="font-family: Menlo; font-size: 11px;">ng4ex xy01n -clean")</span><span style="font-family: Menlo; font-size: 11px;" class="">&nbsp;finally ran without error.&nbsp;</span><font face="Menlo" class=""><span style="font-size: 11px;" class="">Thank you to Andrei Kurbatov for troubleshooting this issue with me!</span></font></div><div class=""><br class=""></div><div class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">Alyssa&nbsp;</span></font></div><div class=""><font face="Menlo" class=""><span style="font-size: 11px;" class=""><br class=""></span></font></div><div class=""><font face="Menlo" class=""><span style="font-size: 11px;" class=""><br class=""></span></font></div><div class=""><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"></div><blockquote type="cite" class=""><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">Hi Andrei,</div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><br class=""></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">The NCL script is now working! FYI, the output was the following:</div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><br class=""></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">&gt;&gt; locate libgomp.1.dylib</div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><br class=""></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">/opt/local/lib/gcc49/libgomp.1.dylib</div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">/opt/local/lib/libgcc/libgomp.1.dylib</div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">/usr/local/gfortran/lib/i386/libgomp.1.dylib</div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">/usr/local/gfortran/lib/libgomp.1.dylib</div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">/usr/local/ncl-6.3.0/lib/libgomp.1.dylib</div><div class=""><br class=""></div><div class="">I had to link the 3 files below before the script ("<span class="" style="font-family: Menlo; font-size: 11px;">ng4ex xy01n -clean")</span>&nbsp;finally ran without error.</div><div class=""><br class=""></div><div class="">&gt;&gt;&nbsp;<span class="" style="font-family: Menlo; font-size: 11px;">cd /usr/local/lib/</span></div><div class=""><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">&gt;&gt; sudo ln -s /opt/local/lib/gcc49/libgomp.1.dylib .</div></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><div class="" style="margin: 0px; line-height: normal;">&gt;&gt; sudo ln -s /opt/local/lib/gcc49/libgfortran.3.dylib .</div></div><div class="">&gt;&gt; &nbsp;<span class="" style="font-family: Menlo; font-size: 11px;">sudo ln -s /opt/local/lib/gcc49/libquadmath.0.dylib .</span></div><div class=""><br class=""></div><div class="">Alyssa</div></blockquote></div><br class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Mar 16, 2016, at 7:17 PM, Andrei Kurbatov &lt;<a href="mailto:akurbatov@maine.edu" class="">akurbatov@maine.edu</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Alyssa,<div class=""><br class=""></div><div class="">I think it has something todo with EL Capitan sandbox</div><div class=""><br class=""></div><div class="">try&nbsp;</div><div class=""><div style="margin: 0px; line-height: normal; font-family: Menlo;" class="">locate libgomp.1.dylib</div></div><div style="margin: 0px; line-height: normal; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; line-height: normal; font-family: Menlo;" class="">copy output in my computer it was&nbsp;</div><div style="margin: 0px; line-height: normal; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; line-height: normal; font-family: Menlo;" class=""><div style="margin: 0px; line-height: normal;" class="">/opt/local/lib/gcc49/libgomp.1.dylib</div><div style="margin: 0px; line-height: normal;" class="">/opt/local/lib/libgcc/libgomp.1.dylib</div><div style="margin: 0px; line-height: normal;" class=""><br class=""></div><div style="margin: 0px; line-height: normal;" class=""><br class=""></div><div style="margin: 0px; line-height: normal;" class="">after that&nbsp;</div></div><div style="margin: 0px; line-height: normal; font-family: Menlo;" class=""><br class=""></div><div class=""><div style="margin: 0px; line-height: normal; font-family: Menlo;" class="">cd /usr/local/lib/</div></div><div style="margin: 0px; line-height: normal; font-family: Menlo;" class=""><div style="margin: 0px; line-height: normal;" class="">sudo ln -s /opt/local/lib/gcc49/libgomp.1.dylib .</div><div style="margin: 0px; line-height: normal;" class="">(NOTE DOT after the space)</div><div style="margin: 0px; line-height: normal;" class=""><br class=""></div><div style="margin: 0px; line-height: normal;" class="">after that try again</div><div style="margin: 0px; line-height: normal;" class=""><br class=""></div><div style="margin: 0px; line-height: normal;" class=""><br class=""></div></div><div style="margin: 0px; line-height: normal; font-family: Menlo;" class=""><br class=""></div><div class=""><br class=""></div></div></div></blockquote></div></div></div></blockquote></div></div></div></div></blockquote><blockquote type="cite" class=""></blockquote><blockquote type="cite" class=""><blockquote type="cite" class=""></blockquote></blockquote><blockquote type="cite" class=""><blockquote type="cite" class=""><blockquote type="cite" class="">Hi Andrei,<div class=""><br class=""></div><div class="">I have performed the steps you suggested (see below for details), but unfortunately, the problem has not been resolved. The output from "<span class="" style="font-family: Menlo; font-size: 11px;">ng4ex xy01n -clean"</span>&nbsp;is still:</div><div class=""><br class=""></div><div class=""><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">dyld: Library not loaded: /usr/local/lib/libgomp.1.dylib</div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">&nbsp; Referenced from: /usr/local/bin/ncargpath</div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">&nbsp; Reason: image not found</div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">Trace/BPT trap</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">The steps you listed produced the following output:</div><div class=""><br class=""></div><div class=""><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">&gt;&gt; port select --list gcc</div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><br class=""></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><div class="" style="margin: 0px; line-height: normal;">Warning: port definitions are more than two weeks old, consider updating them by running 'port selfupdate'.</div><div class="" style="margin: 0px; line-height: normal;">Available versions for gcc:</div><div class="" style="margin: 0px; line-height: normal;"><span class="Apple-tab-span" style="white-space: pre;">        </span>mp-gcc49</div><div class="" style="margin: 0px; line-height: normal;"><span class="Apple-tab-span" style="white-space: pre;">        </span>none (active)</div><div class="" style="margin: 0px; line-height: normal;"><br class=""></div><div class="" style="margin: 0px; line-height: normal;"><br class=""></div></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><div class="" style="margin: 0px; line-height: normal;">&gt;&gt; sudo port select --set gcc mp-gcc49</div><div class="" style="margin: 0px; line-height: normal;"><br class=""></div><div class="" style="margin: 0px; line-height: normal;"><div class="" style="margin: 0px; line-height: normal;">Warning: port definitions are more than two weeks old, consider updating them by running 'port selfupdate'.</div><div class="" style="margin: 0px; line-height: normal;">Selecting 'mp-gcc49' for 'gcc' succeeded. 'mp-gcc49' is now active.</div></div><div class="" style="margin: 0px; line-height: normal;"><br class=""></div><div class="" style="margin: 0px; line-height: normal;">&gt;&gt; source ~/.profile</div><div class="" style="margin: 0px; line-height: normal;"><br class=""></div><div class="" style="margin: 0px; line-height: normal;">Now, the output from "gcc -v” is the following:</div><div class="" style="margin: 0px; line-height: normal;"><br class=""></div><div class="" style="margin: 0px; line-height: normal;">&gt;&gt; gcc -v</div><div class="" style="margin: 0px; line-height: normal;"><br class=""></div><div class="" style="margin: 0px; line-height: normal;"><div class="" style="margin: 0px; line-height: normal;">Using built-in specs.</div><div class="" style="margin: 0px; line-height: normal;">COLLECT_GCC=gcc</div><div class="" style="margin: 0px; line-height: normal;">COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin15/4.9.3/lto-wrapper</div><div class="" style="margin: 0px; line-height: normal;">Target: x86_64-apple-darwin15</div><div class="" style="margin: 0px; line-height: normal;">Configured with: /opt/local/var/macports/build/_opt_mports_dports_lang_gcc49/gcc49/work/gcc-4.9.3/configure --prefix=/opt/local --build=x86_64-apple-darwin15 --enable-languages=c,c++,objc,obj-c++,lto,fortran,java --libdir=/opt/local/lib/gcc49 --includedir=/opt/local/include/gcc49 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-4.9 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-4.9 --with-gxx-include-dir=/opt/local/include/gcc49/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --with-isl=/opt/local --disable-isl-version-check --with-cloog=/opt/local --disable-cloog-version-check --enable-stage1-checking --disable-multilib --enable-lto --enable-libstdcxx-time --with-as=/opt/local/bin/as --with-ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar --with-bugurl=<a href="https://trac.macports.org/newticket" class="">https://trac.macports.org/newticket</a>&nbsp;--with-pkgversion='MacPorts gcc49 4.9.3_0' --with-build-config=bootstrap-debug</div><div class="" style="margin: 0px; line-height: normal;">Thread model: posix</div><div class="" style="margin: 0px; line-height: normal;">gcc version 4.9.3 (MacPorts gcc49 4.9.3_0)</div><div class="" style="margin: 0px; line-height: normal;"><br class=""></div><div class="" style="margin: 0px; line-height: normal;"><br class=""></div><div class="" style="margin: 0px; line-height: normal;">Do you have any further suggestions?</div><div class="" style="margin: 0px; line-height: normal;"><br class=""></div><div class="" style="margin: 0px; line-height: normal;">Kind regards,</div><div class="" style="margin: 0px; line-height: normal;">Alyssa</div><div class="" style="margin: 0px; line-height: normal;"><br class=""></div></div><div class="" style="margin: 0px; line-height: normal;"><br class=""></div></div><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Mar 16, 2016, at 4:13 PM, Andrei Kurbatov &lt;<a href="mailto:akurbatov@maine.edu" class="">akurbatov@maine.edu</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Alyssa,<div class=""><br class=""></div><div class=""><br class=""></div><div class="">1) I think gcc is not activated on your system. Looks like you are using macports</div><div class=""><br class=""></div><div class="">You have to login as sudo use and type</div><div class=""><pre class="default prettyprint prettyprinted"><code class=""><span class="pln">port </span><span class="kwd">select</span><span class="pln"> </span><span class="pun">--</span><span class="pln">list gcc</span></code></pre><pre class="default prettyprint prettyprinted"><code class=""><br class=""></code></pre><pre class="default prettyprint prettyprinted"><code class=""><span class="pln">it will list something like 
</span><span class="typ">Available</span><span class="pln"> versions </span><span class="kwd">for</span><span class="pln"> gcc</span><span class="pun">:</span><span class="pln">
    gcc42
    llvm</span><span class="pun">-</span><span class="pln">gcc42
    mp</span><span class="pun">-</span><span class="pln">gcc49
    none </span><span class="pun">(</span><span class="pln">active</span><span class="pun">)</span></code></pre><pre class="default prettyprint prettyprinted"><code class=""><br class=""></code></pre><pre class="default prettyprint prettyprinted"><code class=""><span class="pln">after that you have to select 
$ sudo port </span><span class="kwd">select</span><span class="pln"> </span><span class="pun">--</span><span class="kwd">set</span><span class="pln"> gcc mp</span><span class="pun">-</span><span class="pln">gcc49</span></code></pre><div class=""><br class=""></div></div><div class="">2) You also have to source .profile file after you made changes</div><div class=""><div class="" style="margin: 0px; font-size: 11px; font-family: Menlo;">type</div><div class="" style="margin: 0px; font-size: 11px; font-family: Menlo;">source ~/.profile</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">3)&nbsp;</div><div class="">&nbsp;</div><div class="">This is the output&nbsp;<span class="" style="font-family: Menlo; font-size: 11px;">gcc -v&nbsp;</span>on my system:</div><div class=""><div class="" style="margin: 0px; font-size: 11px; font-family: Menlo;">gcc -v</div><div class="" style="margin: 0px; font-size: 11px; font-family: Menlo;">Using built-in specs.</div><div class="" style="margin: 0px; font-size: 11px; font-family: Menlo;">COLLECT_GCC=gcc</div><div class="" style="margin: 0px; font-size: 11px; font-family: Menlo;">COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin14/4.9.3/lto-wrapper</div><div class="" style="margin: 0px; font-size: 11px; font-family: Menlo;">Target: x86_64-apple-darwin14</div><div class="" style="margin: 0px; font-size: 11px; font-family: Menlo;">Configured with: /opt/local/var/macports/build/_opt_mports_dports_lang_gcc49/gcc49/work/gcc-4.9.3/configure --prefix=/opt/local --build=x86_64-apple-darwin14 --enable-languages=c,c++,objc,obj-c++,lto,fortran,java --libdir=/opt/local/lib/gcc49 --includedir=/opt/local/include/gcc49 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-4.9 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-4.9 --with-gxx-include-dir=/opt/local/include/gcc49/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --with-isl=/opt/local --disable-isl-version-check --with-cloog=/opt/local --disable-cloog-version-check --enable-stage1-checking --disable-multilib --enable-lto --enable-libstdcxx-time --with-as=/opt/local/bin/as --with-ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar --with-bugurl=<a href="https://trac.macports.org/newticket" class="">https://trac.macports.org/newticket</a>&nbsp;--with-pkgversion='MacPorts gcc49 4.9.3_0'</div><div class="" style="margin: 0px; font-size: 11px; font-family: Menlo;">Thread model: posix</div><div class="" style="margin: 0px; font-size: 11px; font-family: Menlo;">gcc version 4.9.3 (MacPorts gcc49 4.9.3_0)&nbsp;</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class=""><blockquote type="cite" class=""><div class="">On Mar 16, 2016, at 2:21 PM, Alyssa &lt;<a href="mailto:aatwood@uw.edu" class="">aatwood@uw.edu</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">HI Andrei,<div class=""><br class=""></div><div class="">Thank you for your help!&nbsp;</div><div class=""><br class=""></div><div class="">The output to</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class="">echo $DYLD_FALLBACK_LIBRARY_PATH</blockquote><br class=""></div><div class="">&nbsp;is</div><div class=""><br class=""></div><div class=""><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">/opt/local/lib/gcc49</div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><br class=""></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">and the output to:</div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><br class=""></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><blockquote type="cite" class="" style="font-family: Helvetica; font-size: 12px;">gcc -v</blockquote></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><br class=""></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">is</div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><br class=""></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><div class="" style="margin: 0px; line-height: normal;">Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1</div><div class="" style="margin: 0px; line-height: normal;">Apple LLVM version 7.0.2 (clang-700.1.81)</div><div class="" style="margin: 0px; line-height: normal;">Target: x86_64-apple-darwin15.3.0</div><div class="" style="margin: 0px; line-height: normal;">Thread model: posix</div></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><br class=""></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">Kind regards,</div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">Alyssa</div><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Mar 16, 2016, at 2:17 PM, Andrei Kurbatov &lt;<a href="mailto:akurbatov@maine.edu" class="">akurbatov@maine.edu</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Alyssa,<br class="">what is the output from these commands?<br class=""><br class="">echo $DYLD_FALLBACK_LIBRARY_PATH<br class=""><br class="">and&nbsp;<br class=""><br class="">gcc -v<br class="">Andrei<br class=""><br class=""><blockquote type="cite" class="">On Mar 16, 2016, at 2:00 PM,&nbsp;<a href="mailto:ncl-install-request@ucar.edu" class="">ncl-install-request@ucar.edu</a>&nbsp;wrote:<br class=""><br class="">Send ncl-install mailing list submissions to<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span><a href="mailto:ncl-install@ucar.edu" class="">ncl-install@ucar.edu</a><br class=""><br class="">To subscribe or unsubscribe via the World Wide Web, visit<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" class="">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br class="">or, via email, send a message with subject or body 'help' to<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span><a href="mailto:ncl-install-request@ucar.edu" class="">ncl-install-request@ucar.edu</a><br class=""><br class="">You can reach the person managing the list at<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span><a href="mailto:ncl-install-owner@ucar.edu" class="">ncl-install-owner@ucar.edu</a><br class=""><br class="">When replying, please edit your Subject line so it is more specific<br class="">than "Re: Contents of ncl-install digest..."<br class=""><br class=""><br class="">Today's Topics:<br class=""><br class="">&nbsp;1. Re: Ncl Mac Troubleshooting (Alyssa)<br class=""><br class=""><br class="">----------------------------------------------------------------------<br class=""><br class="">Message: 1<br class="">Date: Wed, 16 Mar 2016 13:35:30 -0400<br class="">From: Alyssa &lt;aatwood@uw.edu&gt;<br class="">Subject: Re: [ncl-install] Ncl Mac Troubleshooting<br class="">To: Mary Haley &lt;haley@ucar.edu&gt;<br class="">Cc: "ncl-install@ucar.edu" &lt;ncl-install@ucar.edu&gt;<br class="">Message-ID: &lt;66595239-0949-42FA-8B03-4B0526F244F7@uw.edu&gt;<br class="">Content-Type: text/plain; charset="utf-8"<br class=""><br class="">Hi Mary,<br class=""><br class="">I have seen the solution you posted below- this is the reason I updated my version of GCC to 4.9.3 (according to the filename of the NCL tar file, it was built with 4.9.2). As per the instructions in the link you sent, I have updated my gcc/gfortran compiler, confirmed that the new compiler is in ?opt/local/lib/gcc49?, and set the environment variable DYLD_FALLBACK_LIBRARY_PATH in .profile.<br class=""><br class="">These steps have not seemed to resolve the problem. Do you have any thoughts on what else the issue might be?<br class=""><br class="">Kind regards,<br class="">Alyssa<br class=""><br class=""><br class=""><blockquote type="cite" class="">On Mar 16, 2016, at 11:29 AM, Mary Haley &lt;haley@ucar.edu&gt; wrote:<br class=""><br class="">Alyssa,<br class=""><br class="">This problem is likely due to you having an older version of the gnu compilers than what NCL was built with.<br class=""><br class="">We've documented the problem and its solution here:<br class=""><br class="">http://www.ncl.ucar.edu/Download/macosx.shtml#libgomp &lt;http://www.ncl.ucar.edu/Download/macosx.shtml#libgomp&gt;<br class=""><br class="">Please see if this fixes your issue.<br class=""><br class="">Good luck,<br class=""><br class="">--Mary<br class=""><br class=""><br class="">On Tue, Mar 15, 2016 at 6:42 PM, Alyssa &lt;aatwood@uw.edu &lt;mailto:aatwood@uw.edu&gt;&gt; wrote:<br class="">Hi Mary,<br class=""><br class="">I am also having troubles downloading NCL on my new Mac (running OS X 10.11.3). I have downloaded the OPeNDAP-enabled Mac 10.10 version of NCL (ncl_ncarg-6.3.0.MacOS_10.10_64bit_gcc492). When I type "ncl -V?, the output is ?6.3.0?. But when I type "ng4ex xy01n -clean?, I receive the following error message:<br class=""><br class="">dyld: Library not loaded: /usr/local/lib/libgomp.1.dylib<br class="">Referenced from: /usr/local/bin/ncargpath<br class="">Reason: image not found<br class="">Trace/BPT trap<br class=""><br class="">I have updated my version of gcc to 4.9.3. The file libgomp.1.dylib exists in the location: /opt/local/lib/gcc49.<br class=""><br class="">In .profile, I have the following:<br class=""><br class="">export PATH=/opt/local/bin:/opt/local/sbin:$PATH<br class=""># Finished adapting your PATH environment variable for use with MacPorts.<br class="">export NCARG_ROOT=/usr/local/ncl-6.3.0<br class="">export PATH=$NCARG_ROOT/bin:$PATH<br class="">export DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib/gcc49<br class="">export PATH=/opt/local/lib/gcc49:$PATH<br class="">export DYLD_LIBRARY_PATH=/opt/local/lib/gcc49<br class=""><br class="">Do you know what the issue is here? Thank you in advance for any help you can provide!<br class=""><br class="">Kind regards,<br class="">Alyssa<br class=""><br class=""><blockquote type="cite" class="">On Mar 14, 2016, at 3:39 PM, Mary Haley &lt;haley@ucar.edu &lt;mailto:haley@ucar.edu&gt;&gt; wrote:<br class=""><br class="">Thomas,<br class=""><br class="">I think you found an out-dated link that contained a special binary we created for somebody.<br class=""><br class="">We recommend these download instructions:<br class=""><br class="">http://www.ncl.ucar.edu/Download/ &lt;http://www.ncl.ucar.edu/Download/&gt;<br class="">http://www.ncl.ucar.edu/Download/install.shtml &lt;http://www.ncl.ucar.edu/Download/install.shtml&gt;<br class=""><br class="">[1] The first step is to "download the appropriate binary" for your system.&nbsp;<br class="">I suggest downloading one of our precompiled binaries for MacOS:<br class=""><br class="">OPeNDAP-enabled:<br class="">https://www.earthsystemgrid.org/dataset/ncl.630.0.html &lt;https://www.earthsystemgrid.org/dataset/ncl.630.0.html&gt;<br class=""><br class="">Non OPeNDAP-enabled:<br class="">https://www.earthsystemgrid.org/dataset/ncl.630.1.html &lt;https://www.earthsystemgrid.org/dataset/ncl.630.1.html&gt;<br class=""><br class="">With either link, click on the "Download Options" link and select the binary that has "MacOS_10.10" in the name, which should be compatible for your 10.11 system.<br class=""><br class="">[2] The second step is to decide where you want NCL V6.3.0 to reside on your system, and then extract the gzipped tar files from this location.<br class=""><br class="">http://www.ncl.ucar.edu/Download/install.shtml#ExtractFile &lt;http://www.ncl.ucar.edu/Download/install.shtml#ExtractFile&gt;<br class=""><br class="">[3] The third step is to set/update the NCARG_ROOT and PATH environment variables:<br class=""><br class="">http://www.ncl.ucar.edu/Download/install.shtml#SetNCARG_ROOT &lt;http://www.ncl.ucar.edu/Download/install.shtml#SetNCARG_ROOT&gt;<br class=""><br class="">[4] The final step is to test your NCL installation. You can type these commands:<br class=""><br class="">&nbsp;&nbsp;ncl -V<br class=""><br class="">and<br class=""><br class="">ng4ex xy01n -clean<br class=""><br class="">--Mary</blockquote></blockquote></blockquote></div></div></blockquote></div></div></div></div></blockquote></div></div></div></div></blockquote></div></div></blockquote></blockquote></blockquote><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div></div></div></blockquote></div><br class=""></body></html>