[ncl-talk] ncl 6.2.1 install on MacOS

Matthew Fearon Matthew.Fearon at dri.edu
Wed Dec 3 12:02:15 MST 2014


Thank you, Kyle.

Setting the following was the key. Thank you also for the heads up on the  ncl-install list; didn't know of that list.


export DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib/gcc48

________________________________
From: windrunnerxc at gmail.com [windrunnerxc at gmail.com] on behalf of Kyle Griffin [ksgriffin2 at wisc.edu]
Sent: Wednesday, December 03, 2014 10:57 AM
To: Matthew Fearon
Cc: ncl-talk at ucar.edu
Subject: Re: [ncl-talk] ncl 6.2.1 install on MacOS

Matt,

This is documented on the install page for Macs.

https://www.ncl.ucar.edu/Download/macosx.shtml

You'll have to download and install an appropriate compiler. If you are confident the gcc49 compiler will work, then you can simply set the path as indicated at the end of the compiler installation instructions that looks like:


export DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib/gcc48

 Hopefully that fixes your problem - if not, let the list know. Also, for future reference, the ncl-install list might be slightly more appropriate for this material.


Kyle

----------------------------------------
Kyle S. Griffin
Department of Atmospheric and Oceanic Sciences
University of Wisconsin - Madison
Room 1421
1225 W Dayton St, Madison, WI 53706
Email: ksgriffin2 at wisc.edu<mailto:ksgriffin2 at wisc.edu>

On Wed, Dec 3, 2014 at 12:50 PM, Matthew Fearon <Matthew.Fearon at dri.edu<mailto:Matthew.Fearon at dri.edu>> wrote:
Dear NCL users:

I'm struggling with my install of ncl 6.2.1 on my Mac with Yosemite OSx. Using gcc49 with gfortran, and I receive the following error:



mfearon01w:local mfearon$ ncl

dyld: Library not loaded: /usr/local/lib/libgomp.1.dylib

  Referenced from: /opt/local/bin/ncl

  Reason: no suitable image found.  Did find:

/usr/local/lib/libgomp.1.dylib: stat() failed with errno=62

/usr/local/lib/libgomp.1.dylib: stat() failed with errno=62

Trace/BPT trap: 5


-------


Both the following versions yield the same error:


ncl_ncarg-6.2.1.MacOS_10.8_64bit_nodap_gcc471.tar.gz

ncl_ncarg-6.2.1.MacOS_10.9_64bit_nodap_gcc481.tar.gz


Also, why is ncl looking in /usr/local/lib? There's is no /usr/local on a Mac. As you can see libgomp.1.dylib exists in /opt/local/lib and therefore I set a link from /usr/local/lib to /opt/local/lib but still no success. Could be the new OSx, but that seems unlikely given the error. Have NCARG_ROOT=/opt/local .


Any help/advice would be greatly appreciated. Thank you.

Matt


_______________________________________________
ncl-talk mailing list
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/20141203/6bd5f10c/attachment.html 


More information about the ncl-talk mailing list