<div dir="ltr">Hi all,<div><br></div><div>Problem solved, I just needed the binary using the newer GNU compiler (ncl_ncarg-6.4.0-MacOS_10.11_64bit_nodap_gnu610.tar.gz). It might be nice to update the "Choose and download the right NCL binary for your MacOSX system" section with a "gcc --version" note or whatever is needed though, so noobs like myself know which to download. </div><div><br></div><div>Cheers,</div><div>David</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 20, 2017 at 1:00 PM, Watkins, William <span dir="ltr"><<a href="mailto:wwatkins@usgs.gov" target="_blank">wwatkins@usgs.gov</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">Hi all, <div><br></div><div>I get the following error when I try to run ncl:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<p class="m_5838830137511084254gmail-p1"><span class="m_5838830137511084254gmail-s1">dyld: Library not loaded: /opt/local/lib/libgcc/<wbr>libgfortran.3.dylib</span></p>
<p class="m_5838830137511084254gmail-p1"><span class="m_5838830137511084254gmail-s1"><span class="m_5838830137511084254gmail-Apple-converted-space"> </span>Referenced from: /usr/local/ncl-6.4.0/bin/ncl</span></p>
<p class="m_5838830137511084254gmail-p1"><span class="m_5838830137511084254gmail-s1"><span class="m_5838830137511084254gmail-Apple-converted-space"> </span>Reason: image not found</span></p>
<p class="m_5838830137511084254gmail-p1"><span class="m_5838830137511084254gmail-s1">Trace/BPT trap: 5</span></p></blockquote><div>I have read the frequent install issues page at <a href="https://www.ncl.ucar.edu/Download/macosx.shtml" target="_blank">https://www.ncl.ucar.edu/<wbr>Download/macosx.shtml</a>, and followed the instructions to install gcc/gfortran as recommended for this error, but to no avail. I am running OSX 10.11.6 El Capitan on a Mac Pro, and I used the ncl_ncarg-6.4.0-MacOS_10.<wbr>11_64bit_nodap_gnu540.tar.gz <wbr>binary. </div><div><br></div><div>Output of the requested terminal commands:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<p class="m_5838830137511084254gmail-p1"><span class="m_5838830137511084254gmail-s1">datascienceuser</span><span class="m_5838830137511084254gmail-s2">@</span><span class="m_5838830137511084254gmail-s3">IGSARMEWWSDLB2<wbr>:</span><span class="m_5838830137511084254gmail-s4"><b>~</b></span><span class="m_5838830137511084254gmail-s2">$ which ncl</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s1">/usr/local/ncl-6.4.0/bin/ncl</span></p>
<p class="m_5838830137511084254gmail-p1"><span class="m_5838830137511084254gmail-s1">datascienceuser</span><span class="m_5838830137511084254gmail-s2">@</span><span class="m_5838830137511084254gmail-s3">IGSARMEWWSDLB2<wbr>:</span><span class="m_5838830137511084254gmail-s4"><b>~</b></span><span class="m_5838830137511084254gmail-s2">$ <span class="m_5838830137511084254gmail-Apple-converted-space"> </span>ncl -V</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s1">dyld: Library not loaded: /opt/local/lib/libgcc/<wbr>libgfortran.3.dylib</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s1"><span class="m_5838830137511084254gmail-Apple-converted-space"> </span>Referenced from: /usr/local/ncl-6.4.0/bin/ncl</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s1"><span class="m_5838830137511084254gmail-Apple-converted-space"> </span>Reason: image not found</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s1">Trace/BPT trap: 5</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s5">datascienceuser</span><span class="m_5838830137511084254gmail-s1">@</span><span class="m_5838830137511084254gmail-s3">IGSARMEWWSDLB2<wbr>:</span><span class="m_5838830137511084254gmail-s4"><b>~</b></span><span class="m_5838830137511084254gmail-s1">$ <span class="m_5838830137511084254gmail-Apple-converted-space"> </span>otool -L `which ncl`</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s1">/usr/local/ncl-6.4.0/bin/ncl:</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s1"><span class="m_5838830137511084254gmail-Apple-tab-span"> </span>/usr/lib/libcurl.4.dylib (compatibility version 7.0.0, current version 8.0.0)</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s1"><span class="m_5838830137511084254gmail-Apple-tab-span"> </span>/opt/X11/lib/libcairo.2.dylib (compatibility version 11403.0.0, current version 11403.6.0)</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s1"><span class="m_5838830137511084254gmail-Apple-tab-span"> </span>/opt/X11/lib/libfontconfig.1.<wbr>dylib (compatibility version 11.0.0, current version 11.2.0)</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s1"><span class="m_5838830137511084254gmail-Apple-tab-span"> </span>/usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s1"><span class="m_5838830137511084254gmail-Apple-tab-span"> </span>/opt/X11/lib/libXrender.1.<wbr>dylib (compatibility version 5.0.0, current version 5.0.0)</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s1"><span class="m_5838830137511084254gmail-Apple-tab-span"> </span>/usr/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.5)</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s1"><span class="m_5838830137511084254gmail-Apple-tab-span"> </span>/opt/X11/lib/libXpm.4.dylib (compatibility version 16.0.0, current version 16.0.0)</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s1"><span class="m_5838830137511084254gmail-Apple-tab-span"> </span>/opt/X11/lib/libX11.6.dylib (compatibility version 10.0.0, current version 10.0.0)</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s1"><span class="m_5838830137511084254gmail-Apple-tab-span"> </span>/opt/X11/lib/libXext.6.dylib (compatibility version 11.0.0, current version 11.0.0)</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s1"><span class="m_5838830137511084254gmail-Apple-tab-span"> </span>/opt/local/lib/libgcc/<wbr>libgfortran.3.dylib (compatibility version 4.0.0, current version 4.0.0)</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s1"><span class="m_5838830137511084254gmail-Apple-tab-span"> </span>/opt/local/lib/libgcc/<wbr>libquadmath.0.dylib (compatibility version 1.0.0, current version 1.0.0)</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s1"><span class="m_5838830137511084254gmail-Apple-tab-span"> </span>/opt/local/lib/libgcc/libstdc+<wbr>+.6.dylib (compatibility version 7.0.0, current version 7.21.0)</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s1"><span class="m_5838830137511084254gmail-Apple-tab-span"> </span>/opt/local/lib/libgcc/libgomp.<wbr>1.dylib (compatibility version 2.0.0, current version 2.0.0)</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s1"><span class="m_5838830137511084254gmail-Apple-tab-span"> </span>/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s1"><span class="m_5838830137511084254gmail-Apple-tab-span"> </span>/opt/local/lib/libgcc/libgcc_<wbr>s.1.dylib (compatibility version 1.0.0, current version 1.0.0)</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s5">datascienceuser</span><span class="m_5838830137511084254gmail-s1">@</span><span class="m_5838830137511084254gmail-s3">IGSARMEWWSDLB2<wbr>:</span><span class="m_5838830137511084254gmail-s4"><b>~</b></span><span class="m_5838830137511084254gmail-s1">$ <span class="m_5838830137511084254gmail-Apple-converted-space"> </span>env | grep NCARG</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s1">NCARG_ROOT=/usr/local/ncl-6.4.<wbr>0</span></p>
<p class="m_5838830137511084254gmail-p1"><span class="m_5838830137511084254gmail-s1">datascienceuser</span><span class="m_5838830137511084254gmail-s2">@</span><span class="m_5838830137511084254gmail-s3">IGSARMEWWSDLB2<wbr>:</span><span class="m_5838830137511084254gmail-s4"><b>~</b></span><span class="m_5838830137511084254gmail-s2">$ <span class="m_5838830137511084254gmail-Apple-converted-space"> </span>which gcc</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s1">/usr/local/bin/gcc</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s5">datascienceuser</span><span class="m_5838830137511084254gmail-s1">@</span><span class="m_5838830137511084254gmail-s3">IGSARMEWWSDLB2<wbr>:</span><span class="m_5838830137511084254gmail-s4"><b>~</b></span><span class="m_5838830137511084254gmail-s1">$ <span class="m_5838830137511084254gmail-Apple-converted-space"> </span>which gfortran</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s1">/usr/local/bin/gfortran</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s5">datascienceuser</span><span class="m_5838830137511084254gmail-s1">@</span><span class="m_5838830137511084254gmail-s3">IGSARMEWWSDLB2<wbr>:</span><span class="m_5838830137511084254gmail-s4"><b>~</b></span><span class="m_5838830137511084254gmail-s1">$ <span class="m_5838830137511084254gmail-Apple-converted-space"> </span>gfortran --version</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s1">GNU Fortran (GCC) 7.1.0</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s1">Copyright (C) 2017 Free Software Foundation, Inc.</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s1">This is free software; see the source for copying conditions.<span class="m_5838830137511084254gmail-Apple-converted-space"> </span>There is NO</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s1">warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</span></p>
<p class="m_5838830137511084254gmail-p3"><span class="m_5838830137511084254gmail-s1"></span><br></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s5">datascienceuser</span><span class="m_5838830137511084254gmail-s1">@</span><span class="m_5838830137511084254gmail-s3">IGSARMEWWSDLB2<wbr>:</span><span class="m_5838830137511084254gmail-s4"><b>~</b></span><span class="m_5838830137511084254gmail-s1">$ <span class="m_5838830137511084254gmail-Apple-converted-space"> </span>gcc --version</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s1">gcc (GCC) 7.1.0</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s1">Copyright (C) 2017 Free Software Foundation, Inc.</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s1">This is free software; see the source for copying conditions.<span class="m_5838830137511084254gmail-Apple-converted-space"> </span>There is NO</span></p>
<p class="m_5838830137511084254gmail-p2"><span class="m_5838830137511084254gmail-s1">warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</span></p></blockquote><div><br clear="all"><div>Thanks,</div><div>David Watkins</div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_5838830137511084254gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><b style="font-size:12.8px">David Watkins</b><br></div><div>USGS Office of Water Information</div><div>Data Science Team</div><div><a href="mailto:wwatkins@usgs.gov" target="_blank">wwatkins@usgs.gov</a> | 608-821-3895<br><div><br></div></div></div></div></div></div>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><b style="font-size:12.8px">David Watkins</b><br></div><div>USGS Office of Water Information</div><div>Data Science Team</div><div><a href="mailto:wwatkins@usgs.gov" target="_blank">wwatkins@usgs.gov</a> | 608-821-3895<br><div><br></div></div></div></div></div></div>
</div>