<div dir="ltr">Alan and Guido, has any of you tried installing NCL with MacPorts? <div><br></div><div>Regards</div><div>Ben</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 16, 2016 at 8:57 AM, Guido Cioni <span dir="ltr">&lt;<a href="mailto:guidocioni@gmail.com" target="_blank">guidocioni@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 style="font-size:12px;color:#777;font-family:&#39;Lucida Grande&#39;,Helvetica,Arial,sans-serif;background-color:#fff;padding:4px">
<a href="https://www.boxbe.com/overview" style="text-decoration:none;color:#5e96ea" target="_blank"><img alt="Boxbe" src="http://www.boxbe.com/images/logo_dark_small.png" width="64px" style="margin-left:0px;border:none"></a>

<img src="http://www.boxbe.com/stfopen?tc_serial=25779779807&amp;tc_rand=466903441&amp;utm_source=stf&amp;utm_medium=email&amp;utm_campaign=ANNO_CLEANUP_ADD&amp;utm_content=001">

This message is eligible for Automatic Cleanup! (<a href="mailto:guidocioni@gmail.com" target="_blank">guidocioni@gmail.com</a>) 
<a style="text-decoration:none;color:#5e96ea" href="https://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Fkey%3D46kqpYfOkuTXzXUMqSBaLqHdZ7%252B7dZl6iqpc1ntdVuY%253D%26token%3DXr4pCw7W52H7%252FHQOGx%252B7KF74Nppk68oPLgnXW2FcUEpDn8wN47MtYryELNKZGAK172s%252BPdjZGCuCRDG0E3u9QlachWB5fJW9AKM70yOauLxoQMuH53Qrtk38hUhJZENPqmiLZewiYys%253D&amp;tc_serial=25779779807&amp;tc_rand=466903441&amp;utm_source=stf&amp;utm_medium=email&amp;utm_campaign=ANNO_CLEANUP_ADD&amp;utm_content=001" title="Add a new automatic cleanup rule" target="_blank">Add cleanup rule</a>
 | <a style="text-decoration:none;color:#5e96ea" href="http://blog.boxbe.com/general/boxbe-automatic-cleanup?tc_serial=25779779807&amp;tc_rand=466903441&amp;utm_source=stf&amp;utm_medium=email&amp;utm_campaign=ANNO_CLEANUP_ADD&amp;utm_content=001" title="Get info on automatic cleanup" target="_blank">More info</a>
<br>

    </div>

<br><div style="word-wrap:break-word">Hey Alan, sorry for bothering you again but I solved the issue. For some reason, even after I fresh-installed NCL using brew cask, one library was not linked in <font face="Courier">/usr/local/lib</font>. Doing so (<font face="Courier">ln -fs /usr/local/Cellar/gcc/4.9.0/lib/libquadmath.0.dylib</font>), fixed the issue. I linked the one associated with the old gcc, just to be sure..<div>Thanks again</div><div>cheers<br><div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br>Guido Cioni</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="http://guidocioni.altervista.org" target="_blank">http://guidocioni.altervista.org</a> </div>

</div>
<br><div><blockquote type="cite"><div>On 16 Jun 2016, at 09:46, Guido Cioni &lt;<a href="mailto:guidocioni@gmail.com" target="_blank">guidocioni@gmail.com</a>&gt; wrote:</div><br><div><div style="word-wrap:break-word">I think there is something wrong in my brew directory. Just followed your instructions and getting the same error: <div><br></div><div><div><font face="Courier" style="font-size:11px">d134-235:~ guidocioni$ ng4ex gsun01n -clean</font></div><div><font face="Courier" style="font-size:11px"><br></font></div><div><font face="Courier" style="font-size:11px">NCAR Graphics NCL Example &lt;gsun01n&gt;</font></div><div><font face="Courier" style="font-size:11px"><br></font></div><div><font face="Courier" style="font-size:11px">This example was set up to display the output to an</font></div><div><font face="Courier" style="font-size:11px">X11 window.</font></div><div><font face="Courier" style="font-size:11px"><br></font></div><div><font face="Courier" style="font-size:11px">  Copying gsun01n.ncl</font></div><div><font face="Courier" style="font-size:11px"><br></font></div><div><font face="Courier" style="font-size:11px">Running NCL...</font></div><div><font face="Courier" style="font-size:11px">dyld: Library not loaded: /usr/local/lib/libquadmath.0.dylib</font></div><div><font face="Courier" style="font-size:11px">  Referenced from: /usr/local/ncl-6.3.0/bin/ncl</font></div><div><font face="Courier" style="font-size:11px">  Reason: image not found</font></div><div><font face="Courier" style="font-size:11px">Trace/BPT trap</font></div><div><font face="Courier" style="font-size:11px"><br></font></div><div><font face="Courier" style="font-size:11px">ncl failed.</font></div><div><br></div><div><br></div><div>NCL launches, though..</div><div>
<div style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br>Guido Cioni</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="http://guidocioni.altervista.org/" target="_blank">http://guidocioni.altervista.org</a> </div>

</div>
<br><div><blockquote type="cite"><div>On 15 Jun 2016, at 20:27, Guido Cioni &lt;<a href="mailto:guidocioni@gmail.com" target="_blank">guidocioni@gmail.com</a>&gt; wrote:</div><br><div><p dir="ltr">Hey Alan, then I will try to install it by using brew. Until now I was downloading the binary from the website and using brew only for gcc. </p>
<div class="gmail_quote">Il 15 giu 2016 8:25 PM, &quot;Alan Brammer&quot; &lt;<a href="mailto:abrammer@albany.edu" target="_blank">abrammer@albany.edu</a>&gt; ha scritto:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">I just installed NCL on 10.11 on a fresh laptop and got it working straight away with no issues using brew / brew cask package manager.  <a href="https://caskroom.github.io/" target="_blank">https://caskroom.github.io</a><div><br></div><div><div>once home-brew is installed it’s as simple as </div><div><br></div><div>brew cask install ncar-ncl</div><div><br></div><div>The git repo was updated yesterday to acknowledge that the 10.10 version works with 10.11 so if you already had brew make sure you update first. </div><div><br></div><div>The environment variables that are listed in the `brew cask info ncar-ncl ` which worked for me</div><div> are the obvious </div><div><div><font face="Menlo"> <span style="white-space:pre-wrap">        </span>export NCARG_ROOT=/usr/local/ncl-6.3.0</font></div><div><font face="Menlo"><span style="white-space:pre-wrap">        </span>export PATH=$NCARG_ROOT/bin:&quot;$PATH”</font></div></div><div>and </div><div><font face="Menlo"> export DYLD_FALLBACK_LIBRARY_PATH=$(dirname $(gfortran --print-file-name libgfortran.3.dylib)):$DYLD_FALLBACK_LIBRARY_PATH</font></div><div><br></div><div><br></div><div>This install the 10.10 version which seems to work fine on 10.11.  Have had it running on my main computer since 10.11 came out without issue. </div><div>brew will install both gcc and xquartz as dependencies, if they are not installed/found already. </div><div><br></div><div><br></div><div>Alan</div><div><br></div><div><br></div><div><br><div><br><div><blockquote type="cite"><div>On 15 Jun 2016, at 05:12, Guido Cioni &lt;<a href="mailto:guidocioni@gmail.com" target="_blank">guidocioni@gmail.com</a>&gt; wrote:</div><br><div><div style="word-wrap:break-word">I have been having problems with NCL on El Capitan since months, but thought it was my fault. Now I’m starting to think there is some problem with the distribution. <div>I think the issues arise because NCL is compiled with a gcc version older than the one installed on El Capitan (6.1.0. vs 4.9.2). I also tried to set the environmental variables to a folder<u> where I downloaded the older version of gcc</u> but still get issues..</div><div><br></div><div><div><font face="Menlo">export DYLD_LIBRARY_PATH=/usr/local/Cellar/gcc/4.9.0/lib</font></div><div><font face="Menlo">export DYLD_FALLBACK_LIBRARY_PATH=/usr/local/Cellar/gcc48/4.8.5/lib/gcc/4.8</font></div></div><div><br></div><div>I didn’t explore the issue since I usually run NCL on the cluster, but it would be nice to know if someone is aware of this issue with El Capitan.</div><div><div>
<div style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br>Guido Cioni</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="http://guidocioni.altervista.org/" target="_blank">http://guidocioni.altervista.org</a> </div>

</div>
<br><div><blockquote type="cite"><div>On 15 Jun 2016, at 11:05, Benjamin Lamptey &lt;<a href="mailto:bllamptey@gmail.com" target="_blank">bllamptey@gmail.com</a>&gt; wrote:</div><br><div><div dir="ltr">Hello,<div>I have installed NCL ncl_ncarg-6.3.0.MacOS_10.11_64bit_gcc530.tar.gz</div><div>on my MacBook Pro (running El Capitan) but I get the following error</div><div><br></div><div>================</div><div><div>bash-3.2$ ncl</div><div>dyld: Library not loaded: /usr/local/lib/libfontconfig.1.dylib</div><div>  Referenced from: /usr/local/bin/ncl</div><div>  Reason: image not found</div><div>Trace/BPT trap: 5</div><div>=================</div><div><br></div><div>I installed gcc 6.1.0 and gfortan 6.1.0 before doing the NCL installation.</div><div><br></div><div>When I got the error, I included the following line in both my .bash_profile and .profile files</div><div>===============</div><div>export DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib/gcc5<br></div><div>===========</div><div>but it does not solve the error.</div><div><br></div><div>Any help will be appreciated.</div><div><br></div><div>Regards</div><div>Ben</div><div><br></div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Benjamin L. Lamptey, PhD (Physicist, Meteorologist and Geoscientist)<br>Deputy Director-General<br>African Centre of Meteorological Applications for
Development (ACMAD)</div><div>55, Avenue des Ministères, PL6<br>BP 13184, 1er Arrondissement, Niamey Plateau, Niger,<span style="font-size:10pt;font-family:Arial"><br>Tel.(+227) </span>















<span><a href="tel:20%2073.49.92" value="+22720734992" target="_blank">20 73.49.92</a></span> <br>Fax: <a href="tel:%28%2B227%29%2020723627" value="+22720723627" target="_blank">(+227) 20723627</a> <br></div><a href="http://www.acmad.net/" target="_blank">www.acmad.</a>org</div><div dir="ltr"><br><div>Cell: <a href="tel:%2B22796645655" value="+22796645655" target="_blank">+22796645655</a>; <a href="tel:%2B233265121750" value="+233265121750" target="_blank">+233265121750</a><br><a href="mailto:bllamptey@gmail.com" target="_blank">Email: b.lamptey@acmad.org; bllamptey@gmail.com</a><br>Skype: benlamptey<br><br></div></div></div></div></div></div></div></div></div></div></div>
</div></div>
_______________________________________________<br>ncl-talk mailing list<br><a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>List instructions, subscriber options, unsubscribe:<br><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br></div></blockquote></div><br></div></div>_______________________________________________<br>ncl-talk mailing list<br><a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>List instructions, subscriber options, unsubscribe:<br><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br></div></blockquote></div><br></div></div></div></div></blockquote></div>
</div></blockquote></div><br></div></div></div></blockquote></div><br></div></div><br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></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><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Benjamin L. Lamptey, PhD (Physicist, Meteorologist and Geoscientist)<br>Deputy Director-General<br>African Centre of Meteorological Applications for
Development (ACMAD)</div><div>55, Avenue des Ministères, PL6<br>BP 13184, 1er Arrondissement, Niamey Plateau, Niger,<span style="font-size:10pt;font-family:Arial"><br>Tel.(+227) </span>















<span>20 73.49.92</span> <br>Fax: (+227) 20723627 <br></div><a href="http://www.acmad.net" target="_blank">www.acmad.</a>org</div><div dir="ltr"><br><div>Cell: +22796645655; +233265121750<br><a href="mailto:bllamptey@gmail.com" target="_blank">Email: b.lamptey@acmad.org; bllamptey@gmail.com</a><br>Skype: benlamptey<br><br></div></div></div></div></div></div></div></div></div></div></div>
</div>