[ncl-install] Mac OSX 10.12 Sierra install

Salack, Seyni (IMK) seyni.salack at kit.edu
Tue Nov 22 00:18:54 MST 2016


Hi Mary,


re-installing both gcc & gFortran from the HPC Mac OS  website could do.


All is working fine now!


Thanks


Seyni



---
"If from all available instruments you have got a hammer only, then every problem considered by you turns into a nail."
________________________________
From: Mary Haley <haley at ucar.edu>
Sent: Monday, November 21, 2016 1:07 PM
To: Salack, Seyni (IMK)
Cc: Rex Tracy; ncl-install at ucar.edu
Subject: Re: [ncl-install] Mac OSX 10.12 Sierra install

I believe this comes from not having the latest gcc compiler that NCL was built against.

There are some gcc system libraries that get pulled in when we build NCL against that compiler, which in turn requires that you have that compiler installed on your system.

Please see this link, which talks about "emutls_get_address", but it's the same issue of not having a newer compiler. It will tell you how to check your compiler version, and how to download a newer one.

http://www.ncl.ucar.edu/Download/macosx.shtml#emutls_get_address

Good luck,

--Mary


On Sat, Nov 19, 2016 at 4:37 PM, Salack, Seyni (IMK) <seyni.salack at kit.edu<mailto:seyni.salack at kit.edu>> wrote:

Hi Mary,



may be a follow-up question to Tracy's...


I upgraded my gcc yet when launch ncl, I get the following error...


How can I get out of this?


~$ ncl -V


dyld: Library not loaded: /usr/local/lib/libstdc++.6.dylib

  Referenced from: /Users/MyNCL/ncl-6.3.0/bin/ncl

  Reason: image not found

Trace/BPT trap: 5


?~$?


best regards,

Seyni





________________________________
From: ncl-install-bounces at ucar.edu<mailto:ncl-install-bounces at ucar.edu> <ncl-install-bounces at ucar.edu<mailto:ncl-install-bounces at ucar.edu>> on behalf of Mary Haley <haley at ucar.edu<mailto:haley at ucar.edu>>
Sent: Tuesday, November 15, 2016 6:00 AM
To: Rex Tracy
Cc: ncl-install at ucar.edu<mailto:ncl-install at ucar.edu>
Subject: Re: [ncl-install] Mac OSX 10.12 Sierra install

Since none of these files exist, then you need to create it in your home directory.

On a Mac system, I recommend creating the ".bash_profile" file (note it is not ".bashrc_profile as you typed it in your email) in your home directory, and then add the lines to set NCARG_ROOT and PATH as documented.

You can create the file in your home directly by typing one of these two commands:

vi $HOME/.bash_profile

or

vi ~/.bash_profile

"vi" is a UNIX editor. You can use whatever UNIX editor you are comfortable with.

The two lines you add should look something like this:


export NCARG_ROOT=/xxx/yyy/zzz
export PATH=$NCARG_ROOT/bin:$PATH

Where "/xxx/yyy/zzz" should be replaced with the path where you installed NCL.

Save the file, and then open a new Terminal window and type:

ncl -V

to see if it worked.

--Mary


On Mon, Nov 14, 2016 at 4:58 PM, Rex Tracy <rtracy1 at san.rr.com<mailto:rtracy1 at san.rr.com>> wrote:
I have tried to follow the instructions for installing NCL on Mac but run into trouble when looking for the appropriate file to edit to add the NCL to the PATH search line.  I do understand that I can interactively change the PATH to search via a terminal command, however, when looking for the file to edit [ .profile, .bashrc or .bashrc_profile ], I find that the file is not present under the latest OSX version ( 10.12 ) within my home directory.  Can you help me identify the location of this file ?

Thank you,
Dr. Rex Tracy
_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20161122/2c6f9030/attachment.html 


More information about the ncl-install mailing list