<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Will,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Another user had this same problem. He said that after he updated MacPorts, this seemed to fix things. He was using the 6.3.0 GNU compilers that were installed via MacPorts. He actually built NCL from source code, but the issue was the same regardless if he used a precompiled Mac binary or his own built version.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Here's what he reported:</div><div class="gmail_default" style="font-size:small"><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div class="gmail_default" style="font-size:small"><div class="gmail_default">Thanks for all the information. I have rebuilt ncl_ncarg 6.4 on 10.11, and it passes my tests.<br></div></div><div class="gmail_default" style="font-size:small"><div class="gmail_default">I rebuilt macports as well, and have the default gcc set to 6.3 now.</div></div><div class="gmail_default" style="font-size:small"><div class="gmail_default">So it was something on my end that was messed up.</div></div><div class="gmail_default" style="font-size:small"><div class="gmail_default">mac02:~ apsd$ nm /opt/local/lib/gcc6/libstdc++.dylib | grep __ZdaPvm</div></div><div class="gmail_default" style="font-size:small"><div class="gmail_default">0000000000006731 T __ZdaPvm</div></div><div class="gmail_default" style="font-size:small"><div class="gmail_default">mac02:~ apsd$</div></div></blockquote><div class="gmail_default"><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">So, I think you may want to look into upgrading MacPorts and maybe your GNU compiler version.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The other option is to install gcc/gfortran from <a href="http://hpc.sourceforge.net">hpc.sourceforge.net</a>, which will get installed to /usr/local and should have that symbol defined.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">A third option is to try the conda version of NCL:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Download/conda.shtml">http://www.ncl.ucar.edu/Download/conda.shtml</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">Hope one of these solutions works for you. </div><div class="gmail_default"><br></div><div class="gmail_default">--Mary</div><div class="gmail_default"><br></div></div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 15, 2017 at 5:52 PM, Will Hobbs <span dir="ltr"><<a href="mailto:will.hobbs@utas.edu.au" target="_blank">will.hobbs@utas.edu.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="white" lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="m_-4049504503881133873WordSection1">
<p class="MsoNormal">Hi everyone<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span lang="EN-AU" style="font-family:Calibri;color:black">I am updating from v 6.3.0 to 6.40., on a mac (OSX 10.11.6) using the binary </span><span style="font-family:Calibri;color:black">ncl_ncarg-6.4.0.MacOS_<wbr>10.11_64bit_nodap_gcc610.tar.<wbr>gz.<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black">When I try and submit the test command<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black">>ng4ex gsun01n -clean<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black">I get the following error message:<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black">‘dyld: Symbol not found: __ZdaPvm<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black"> Referenced from: /usr/local/ncl-6.4.0/bin/ncl (which was built for Mac OS X 10.11)<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black"> Expected in: /usr/local/lib/libstdc++.6.<wbr>dylib<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black"> in /usr/local/ncl-6.4.0/bin/ncl<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black">Trace/BPT trap<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black">ncl failed.’<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black">If I change my $NCARG_ROOT path back to where I have v 6.3.0 installed, the test script runs just fine. More system information below; the only warning I could see was for the gfortran –version command.<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black">Many thanks<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black">Will<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black">otool -L `which ncl`<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black">/usr/local/ncl-6.4.0/bin/ncl:<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black"> /opt/X11/lib/libfontconfig.1.<wbr>dylib (compatibility version 11.0.0, current version 11.2.0)<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black"> /usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black"> /opt/X11/lib/libXrender.1.<wbr>dylib (compatibility version 5.0.0, current version 5.0.0)<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black"> /usr/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.5)<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black"> /opt/X11/lib/libXpm.4.dylib (compatibility version 16.0.0, current version 16.0.0)<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black"> /opt/X11/lib/libX11.6.dylib (compatibility version 10.0.0, current version 10.0.0)<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black"> /opt/X11/lib/libXext.6.dylib (compatibility version 11.0.0, current version 11.0.0)<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black"> /usr/local/lib/libstdc++.6.<wbr>dylib (compatibility version 7.0.0, current version 7.22.0)<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black"> /usr/local/lib/libgomp.1.dylib (compatibility version 2.0.0, current version 2.0.0)<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black"> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black"> /usr/local/lib/libgcc_s.1.<wbr>dylib (compatibility version 1.0.0, current version 1.0.0)<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black">env | grep NCARG<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black">NCARG_ROOT=/usr/local/ncl-6.4.<wbr>0<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black">which gcc<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black">/usr/bin/gcc<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black">which gfortran<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black">/usr/local/bin/gfortran<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black">gcc --version<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black">Configured with: --prefix=/Applications/Xcode.<wbr>app/Contents/Developer/usr --with-gxx-include-dir=/usr/<wbr>include/c++/4.2.1<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black">Apple LLVM version 8.0.0 (clang-800.0.42.1)<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black">Target: x86_64-apple-darwin15.6.0<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black">Thread model: posix<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black">InstalledDir: /Applications/Xcode.app/<wbr>Contents/Developer/Toolchains/<wbr>XcodeDefault.xctoolchain/usr/<wbr>bin<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black">gfortran --version<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black">gfortran: warning: couldn’t understand kern.osversion ‘15.6.0<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black">GNU Fortran (GCC) 4.9.0 20130811 (experimental)<u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-family:Calibri;color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="font-variant-caps:normal;text-align:start;word-spacing:0px">
<span style="font-size:11.0pt;font-family:Calibri;color:black"> </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p>
</div>
<p style="font-size:10pt;line-height:10pt;font-family:Calibri,sans-serif"><br>
<br>
University of Tasmania Electronic Communications Policy (December, 2014). <br>
This email is confidential, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone outside the intended recipient organisation is prohibited and may be a criminal offence. Please delete if obtained
in error and email confirmation to the sender. The views expressed in this email are not necessarily the views of the University of Tasmania, unless clearly intended otherwise.
</p>
</div>
<br>______________________________<wbr>_________________<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/<wbr>mailman/listinfo/ncl-install</a><br>
<br></blockquote></div><br></div>