[ncl-talk] NCL and El Capitan

Mary Haley haley at ucar.edu
Wed Jun 22 15:04:01 MDT 2016


Just an FYI: I uploaded an NCL V6.3.0 binary for El Capitan (MacOS 10.11)
that was build with the GNU 5.3 compilers.

If anybody needs access to this, go to:

https://www.earthsystemgrid.org/dataset/ncl.630.0/file.html

You will see the file:

ncl_ncarg-6.3.0.MacOS_10.11_64bit_gcc530.tar.gz
<https://www.earthsystemgrid.org/download/fileDownload.html?logicalFileId=7f35ed4f-369b-11e6-a99e-00c0f03d5b7c>

--Mary


On Thu, Jun 16, 2016 at 3:08 AM, Benjamin Lamptey <bllamptey at gmail.com>
wrote:

> Alan and Guido, has any of you tried installing NCL with MacPorts?
>
> Regards
> Ben
>
> On Thu, Jun 16, 2016 at 8:57 AM, Guido Cioni <guidocioni at gmail.com> wrote:
>
>> [image: Boxbe] <https://www.boxbe.com/overview> This message is eligible
>> for Automatic Cleanup! (guidocioni at gmail.com) Add cleanup rule
>> <https://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Fkey%3D46kqpYfOkuTXzXUMqSBaLqHdZ7%252B7dZl6iqpc1ntdVuY%253D%26token%3DXr4pCw7W52H7%252FHQOGx%252B7KF74Nppk68oPLgnXW2FcUEpDn8wN47MtYryELNKZGAK172s%252BPdjZGCuCRDG0E3u9QlachWB5fJW9AKM70yOauLxoQMuH53Qrtk38hUhJZENPqmiLZewiYys%253D&tc_serial=25779779807&tc_rand=466903441&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001>
>> | More info
>> <http://blog.boxbe.com/general/boxbe-automatic-cleanup?tc_serial=25779779807&tc_rand=466903441&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001>
>>
>> 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
>>
>> 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
>>
>> On 15 Jun 2016, at 20:27, Guido Cioni <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> 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
>>>
>>> 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> 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
>>>
>>> On 15 Jun 2016, at 11:05, Benjamin Lamptey <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
>>> www.acmad. <http://www.acmad.net/>org
>>>
>>> Cell: +22796645655; +233265121750
>>> Email: b.lamptey at acmad.org; bllamptey at gmail.com <bllamptey at gmail.com>
>>> Skype: benlamptey
>>>
>>> _______________________________________________
>>> ncl-talk mailing list
>>> ncl-talk at ucar.edu
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>
>>>
>>> _______________________________________________
>>> ncl-talk mailing list
>>> ncl-talk at ucar.edu
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>
>>>
>>>
>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>
>
> --
> 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
> www.acmad. <http://www.acmad.net>org
>
> Cell: +22796645655; +233265121750
> Email: b.lamptey at acmad.org; bllamptey at gmail.com <bllamptey at gmail.com>
> Skype: benlamptey
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160622/12c59b9a/attachment.html 


More information about the ncl-talk mailing list