[ncl-talk] NCL and El Capitan
Guido Cioni
guidocioni at gmail.com
Thu Jun 16 01:57:56 MDT 2016
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 /usr/local/lib. Doing so (ln -fs /usr/local/Cellar/gcc/4.9.0/lib/libquadmath.0.dylib), fixed the issue. I linked the one associated with the old gcc, just to be sure..
Thanks again
cheers
Guido Cioni
http://guidocioni.altervista.org <http://guidocioni.altervista.org/>
> On 16 Jun 2016, at 09:46, Guido Cioni <guidocioni at gmail.com> wrote:
>
> I think there is something wrong in my brew directory. Just followed your instructions and getting the same error:
>
> d134-235:~ guidocioni$ ng4ex gsun01n -clean
>
> NCAR Graphics NCL Example <gsun01n>
>
> This example was set up to display the output to an
> X11 window.
>
> Copying gsun01n.ncl
>
> Running NCL...
> dyld: Library not loaded: /usr/local/lib/libquadmath.0.dylib
> Referenced from: /usr/local/ncl-6.3.0/bin/ncl
> Reason: image not found
> Trace/BPT trap
>
> ncl failed.
>
>
> NCL launches, though..
>
> Guido Cioni
> http://guidocioni.altervista.org <http://guidocioni.altervista.org/>
>
>> On 15 Jun 2016, at 20:27, Guido Cioni <guidocioni at gmail.com <mailto:guidocioni at gmail.com>> wrote:
>>
>> 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.
>>
>> Il 15 giu 2016 8:25 PM, "Alan Brammer" <abrammer at albany.edu <mailto:abrammer at albany.edu>> ha scritto:
>> 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. https://caskroom.github.io <https://caskroom.github.io/>
>>
>> once home-brew is installed it’s as simple as
>>
>> brew cask install ncar-ncl
>>
>> 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.
>>
>> The environment variables that are listed in the `brew cask info ncar-ncl ` which worked for me
>> are the obvious
>> export NCARG_ROOT=/usr/local/ncl-6.3.0
>> export PATH=$NCARG_ROOT/bin:"$PATH”
>> and
>> export DYLD_FALLBACK_LIBRARY_PATH=$(dirname $(gfortran --print-file-name libgfortran.3.dylib)):$DYLD_FALLBACK_LIBRARY_PATH
>>
>>
>> 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.
>> brew will install both gcc and xquartz as dependencies, if they are not installed/found already.
>>
>>
>> Alan
>>
>>
>>
>>
>>> On 15 Jun 2016, at 05:12, Guido Cioni <guidocioni at gmail.com <mailto:guidocioni at gmail.com>> wrote:
>>>
>>> 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.
>>> 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 where I downloaded the older version of gcc but still get issues..
>>>
>>> export DYLD_LIBRARY_PATH=/usr/local/Cellar/gcc/4.9.0/lib
>>> export DYLD_FALLBACK_LIBRARY_PATH=/usr/local/Cellar/gcc48/4.8.5/lib/gcc/4.8
>>>
>>> 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.
>>>
>>> Guido Cioni
>>> http://guidocioni.altervista.org <http://guidocioni.altervista.org/>
>>>
>>>> On 15 Jun 2016, at 11:05, Benjamin Lamptey <bllamptey at gmail.com <mailto:bllamptey at gmail.com>> wrote:
>>>>
>>>> Hello,
>>>> I have installed NCL ncl_ncarg-6.3.0.MacOS_10.11_64bit_gcc530.tar.gz
>>>> on my MacBook Pro (running El Capitan) but I get the following error
>>>>
>>>> ================
>>>> bash-3.2$ ncl
>>>> dyld: Library not loaded: /usr/local/lib/libfontconfig.1.dylib
>>>> Referenced from: /usr/local/bin/ncl
>>>> Reason: image not found
>>>> Trace/BPT trap: 5
>>>> =================
>>>>
>>>> I installed gcc 6.1.0 and gfortan 6.1.0 before doing the NCL installation.
>>>>
>>>> When I got the error, I included the following line in both my .bash_profile and .profile files
>>>> ===============
>>>> export DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib/gcc5
>>>> ===========
>>>> but it does not solve the error.
>>>>
>>>> Any help will be appreciated.
>>>>
>>>> Regards
>>>> Ben
>>>>
>>>> --
>>>> Benjamin L. Lamptey, PhD (Physicist, Meteorologist and Geoscientist)
>>>> Deputy Director-General
>>>> African Centre of Meteorological Applications for Development (ACMAD)
>>>> 55, Avenue des Ministères, PL6
>>>> BP 13184, 1er Arrondissement, Niamey Plateau, Niger,
>>>> Tel.(+227) 20 73.49.92
>>>> Fax: (+227) 20723627 <tel:%28%2B227%29%2020723627>
>>>> www.acmad. <http://www.acmad.net/>org
>>>>
>>>> Cell: +22796645655 <tel:%2B22796645655>; +233265121750 <tel:%2B233265121750>
>>>> Email: b.lamptey at acmad.org; bllamptey at gmail.com <mailto:bllamptey at gmail.com>
>>>> Skype: benlamptey
>>>>
>>>> _______________________________________________
>>>> ncl-talk mailing list
>>>> ncl-talk at ucar.edu <mailto:ncl-talk at ucar.edu>
>>>> List instructions, subscriber options, unsubscribe:
>>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk <http://mailman.ucar.edu/mailman/listinfo/ncl-talk>
>>>
>>> _______________________________________________
>>> ncl-talk mailing list
>>> ncl-talk at ucar.edu <mailto:ncl-talk at ucar.edu>
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk <http://mailman.ucar.edu/mailman/listinfo/ncl-talk>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160616/48f671e5/attachment.html
More information about the ncl-talk
mailing list