<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div class="">
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">Have installed latest version of ncl on an iMac Pro running MacOS Mojave (10.14.6).  When trying to test following the instructions at </div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span class="Apple-tab-span" style="white-space: pre;"></span><a href="https://www.ncl.ucar.edu/Download/install.shtml#DownloadBinary" class="">https://www.ncl.ucar.edu/Download/install.shtml#DownloadBinary</a></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><font face="Menlo" class=""><br class="">
</font></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><font face="Menlo" class="">"</font><span style="color: rgb(51, 51, 51); font-family: verdana, sans-serif; font-size: 13.333333015441895px;" class="">You can quickly test if NCL is
 installed properly by typing:</span></div>
<pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; font-size: 13.333333015441895px; line-height: 12pt; font-family: courier; border-style: solid; border-width: 0px 0px 15px; border-color: transparent;" class="">    ng4ex xy01n -clean</pre>
<pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; font-size: 13.333333015441895px; line-height: 12pt; font-family: courier; border-style: solid; border-width: 0px 0px 15px; border-color: transparent;" class="">“</pre>
<pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; line-height: 12pt; border-style: solid; border-width: 0px 0px 15px; border-color: transparent;" class=""><div style="font-size: 12px; white-space: normal; margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Helvetica" class="">I get an error saying it can’t locate libgomp.1.dylib.</font></span></div><div style="font-size: 12px; white-space: normal; margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Helvetica" class=""><br class=""></font></span></div><div style="font-size: 12px; white-space: normal; margin: 0px; font-stretch: normal; line-height: normal;" class=""><font face="Helvetica" class="">I believe I have all appropriate software installed.  From running otool on /opt/local/ncl/bin/ncargpath , it appears to be looking in the wrong place for the dylib.  </font></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><font face="Helvetica" class=""><span style="white-space: normal;" class="">Xcode and its command line tools are installed.  I have gcc and gfortran installed via MacPorts. </span></font></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><font face="Helvetica" class=""><span style="white-space: normal;" class=""><br class=""></span></font></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><font face="Helvetica" class=""><span style="white-space: normal;" class="">Note:  I have installed ncl in /opt/local/ncl (symlinked to /opt/local/ncl-6.6.2) , rather than in /usr/local .  However, I have NCARG_ROOT pointing to /opt/local/ncl so that *shouldn’t* be an issue.</span></font></div><div style="font-size: 12px; white-space: normal; margin: 0px; font-stretch: normal; line-height: normal;" class=""><font face="Helvetica" class=""><br class=""></font></div><div style="font-size: 12px; white-space: normal; margin: 0px; font-stretch: normal; line-height: normal;" class=""><font face="Helvetica" class="">My diagnostics:   (your requested ones are below as well)</font></div></pre>
<div class=""><br class="">
</div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures; color: #400bd9" class="">$</span><span style="font-variant-ligatures: no-common-ligatures" class=""> ng4ex xy01n -clean</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">dyld: Library not loaded: /usr/local/lib/libgomp.1.dylib</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">  Referenced from: /opt/local/ncl/bin/ncargpath</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">  Reason: image not found</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">Abort</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures; color: #2eaebb" class="">neys:iscottfl:</span><span style="font-variant-ligatures: no-common-ligatures; color: #400bd9" class="">~ $</span><span style="font-variant-ligatures: no-common-ligatures" class="">
 locate libgomp.1.dylib</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">/opt/local/lib/libgcc/libgomp.1.dylib</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<br class="">
</div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures; color: #2eaebb" class="">neys:iscottfl:</span><span style="font-variant-ligatures: no-common-ligatures; color: #400bd9" class="">~ $</span><span style="font-variant-ligatures: no-common-ligatures" class="">
 ls -l $(locate libgomp.1.dylib)</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">-rwxr-xr-x  1 root  admin  179224 Aug 12 08:43
<b class="">/opt/local/lib/libgcc/libgomp.1.dylib</b>  <font color="#5e2fec" class=""><i class=""><—— actual locate of libgomp.1.dylib</i></font></span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<br class="">
</div>
</div>
<div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures; color: #2eaebb" class="">neys:iscottfl:</span><span style="font-variant-ligatures: no-common-ligatures; color: #400bd9" class="">~ $</span><span style="font-variant-ligatures: no-common-ligatures" class="">
 otool -L /opt/local/ncl/bin/ncargpath</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">/opt/local/ncl/bin/ncargpath:</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"></span><b class="">/usr/local/lib/libgomp.1.dylib</b> (compatibility version 2.0.0, current version 2.0.0)
<font color="#4d22b4" class=""><i class=""><—— ncargpath’s expected location.</i></font></span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"></span>/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.200.5)</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"></span>/usr/local/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)</span></div>
<div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class="">
</span></div>
</span></div>
<div class=""><br class="">
</div>
<div class="">Any help would be appreciated.  I suppose if all else fails I can try building ncl rather than using a precompiled binary?</div>
<div class=""><br class="">
</div>
<div class="">Thanks</div>
<div class=""><br class="">
</div>
<div class="">Scott-Fleming, Ian<br class="">
Climate Science Center<br class="">
Texas Tech University<br class="">
MS 1005<br class="">
Lubbock, TX, 79409<br class="">
<a href="mailto:ian.scott-fleming@ttu.edu" class="">ian.scott-fleming@ttu.edu</a><br class="">
(806) 834-3290<br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">__________________________</div>
<div class=""><br class="">
</div>
<div class="">Here are the diagnostics your installation instruction request ( at the bottom of the page
<a href="https://www.ncl.ucar.edu/Download/macosx.shtml" class="">https://www.ncl.ucar.edu/Download/macosx.shtml</a> ) :</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(46, 174, 187);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">neys:iscottfl:</span><span style="font-variant-ligatures: no-common-ligatures; color: #400bd9" class="">~ $</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">
 which ncl</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">/opt/local/ncl/bin/ncl</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(46, 174, 187);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">neys:iscottfl:</span><span style="font-variant-ligatures: no-common-ligatures; color: #400bd9" class="">~ $</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">
 ncl -V</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">dyld: Library not loaded: /usr/local/lib/libgfortran.4.dylib</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">  Referenced from: /opt/local/ncl/bin/ncl</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">  Reason: image not found</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">Abort trap: 6</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures; color: #2eaebb" class="">neys:iscottfl:</span><span style="font-variant-ligatures: no-common-ligatures; color: #400bd9" class="">~ $</span><span style="font-variant-ligatures: no-common-ligatures" class="">
 otool -L $(which ncl)</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">/opt/local/ncl/bin/ncl:</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"></span>/usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"></span>/opt/X11/lib/libfontconfig.1.dylib (compatibility version 11.0.0, current version 11.2.0)</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"></span>/opt/X11/lib/libXrender.1.dylib (compatibility version 5.0.0, current version 5.0.0)</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"></span>/usr/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.5)</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"></span>/opt/X11/lib/libXpm.4.dylib (compatibility version 16.0.0, current version 16.0.0)</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"></span>/opt/X11/lib/libX11.6.dylib (compatibility version 10.0.0, current version 10.0.0)</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"></span>/opt/X11/lib/libXext.6.dylib (compatibility version 11.0.0, current version 11.0.0)</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"></span>/usr/local/lib/libgfortran.4.dylib (compatibility version 5.0.0, current version 5.0.0)</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"></span>/usr/local/lib/libquadmath.0.dylib (compatibility version 1.0.0, current version 1.0.0)</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"></span>/usr/local/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.24.0)</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"></span>/usr/local/lib/libgomp.1.dylib (compatibility version 2.0.0, current version 2.0.0)</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"></span>/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.200.5)</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"></span>/usr/local/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures; color: #2eaebb" class="">neys:iscottfl:</span><span style="font-variant-ligatures: no-common-ligatures; color: #400bd9" class="">~ $</span><span style="font-variant-ligatures: no-common-ligatures" class="">
 env | grep NCARG</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">NCARG_ROOT=/opt/local/ncl</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures; color: #2eaebb" class="">neys:iscottfl:</span><span style="font-variant-ligatures: no-common-ligatures; color: #400bd9" class="">~ $</span><span style="font-variant-ligatures: no-common-ligatures" class="">
 ls -l /opt/local/ncl</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">lrwxr-xr-x  1 root  admin  9 Sep  2 19:00 /opt/local/ncl -> ncl-6.6.2</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(46, 174, 187);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">neys:iscottfl:</span><span style="font-variant-ligatures: no-common-ligatures; color: #400bd9" class="">~ $</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">
 which gcc</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">/opt/local/bin/gcc</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures; color: #2eaebb" class="">neys:iscottfl:</span><span style="font-variant-ligatures: no-common-ligatures; color: #400bd9" class="">~ $</span><span style="font-variant-ligatures: no-common-ligatures" class="">
 which gfortran</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">/opt/local/bin/gfortran</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures; color: #2eaebb" class="">neys:iscottfl:</span><span style="font-variant-ligatures: no-common-ligatures; color: #400bd9" class="">~ $</span><span style="font-variant-ligatures: no-common-ligatures" class="">
 gcc --version</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">gcc (MacPorts gcc9 9.2.0_0) 9.2.0</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">Copyright (C) 2019 Free Software Foundation, Inc.</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">This is free software; see the source for copying conditions.  There is NO</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; min-height: 14px;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class="">
</div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures; color: #2eaebb" class="">neys:iscottfl:</span><span style="font-variant-ligatures: no-common-ligatures; color: #400bd9" class="">~ $</span><span style="font-variant-ligatures: no-common-ligatures" class="">
 gfortran --version</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">GNU Fortran (MacPorts gcc9 9.2.0_0) 9.2.0</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">Copyright (C) 2019 Free Software Foundation, Inc.</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">This is free software; see the source for copying conditions.  There is NO</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</span></div>
</div>
<br class="">
<div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">
Scott-Fleming, Ian<br class="">
Climate Science Center<br class="">
Texas Tech University<br class="">
MS 1005<br class="">
Lubbock, TX, 79409<br class="">
<a href="mailto:ian.scott-fleming@ttu.edu" class="">ian.scott-fleming@ttu.edu</a><br class="">
(806) 834-3290<br class="">
<br class="">
</div>
</div>
<br class="">
</body>
</html>