[ncl-install] ncl-install Digest, Vol 144, Issue 1

Andrei Kurbatov akurbatov at maine.edu
Wed Oct 2 12:18:25 MDT 2019


Jeff,
The easy fix is to install Anaconda 
https://www.anaconda.com/

and after that install ncl using conda 

http://www.ncl.ucar.edu/Download/conda.shtml

From a UNIX terminal window in sh/bash mode, type:

  conda create -n ncl_stable -c conda-forge ncl
  source activate ncl_stable
Andrei
> On Oct 2, 2019, at 2:00 PM, ncl-install-request at ucar.edu wrote:
> 
> Send ncl-install mailing list submissions to
> 	ncl-install at ucar.edu
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://mailman.ucar.edu/mailman/listinfo/ncl-install
> or, via email, send a message with subject or body 'help' to
> 	ncl-install-request at ucar.edu
> 
> You can reach the person managing the list at
> 	ncl-install-owner at ucar.edu
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ncl-install digest..."
> 
> 
> Today's Topics:
> 
>   1. Undefined symbols for architecture x86_64 on MacOS X	Mojave
>      (Jeffrey Tilley)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Tue, 1 Oct 2019 20:47:35 -0700
> From: Jeffrey Tilley <tilley.jeff at gmail.com>
> To: ncl-install at ucar.edu
> Subject: [ncl-install] Undefined symbols for architecture x86_64 on
> 	MacOS X	Mojave
> Message-ID:
> 	<CALQhtWMHCHT2P_vvin8Hf-TzGrng2YZg50mY5jAc5+KMyzNODg at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Hello:
> 
> Some time ago I downloaded NCL 6.3.0 on a MacBook Pro which is now running
> OS X Mojave (10.14.6).  As a WRF user I have always used the RIP post
> processor which utilizes NCAR Graphics and have been trying to build RIP.
> I am running into a load/link error as follows:
> 
> Undefined symbols for architecture x86_64:
> 
>  "__gfortran_stop_numeric_f08", referenced from:
> 
>      _r1mach_ in libncarg_c.a(r1mach.o)
> 
> ld: symbol(s) not found for architecture x86_64
> 
> collect2: error: ld returned 1 exit status
> 
> make: [rip] Error 1 (ignored)
> 
> So the problem appears to be in the ncarg_c library.   All the other RIP
> executables appear to build correctly.   My output from the requested
> troubleshooting commands is as follows:
> 
> (base) Jeffreys-MacBook-Pro:lib jeffreytilley$ which ncl
> 
> /usr/local/ncl-6.3.0/bin/ncl
> 
> (base) Jeffreys-MacBook-Pro:lib jeffreytilley$ ncl -V
> 
> dyld: Library not loaded: /usr/local/lib/libgfortran.3.dylib
> 
>  Referenced from: /usr/local/ncl-6.3.0/bin/ncl
> 
>  Reason: image not found
> 
> Abort trap: 6
> 
> (base) Jeffreys-MacBook-Pro:lib jeffreytilley$ otool -L 'which ncl'
> 
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump:
> *error: *'which ncl': No such file or directory
> 
> (base) Jeffreys-MacBook-Pro:lib jeffreytilley$ env | grep NCARG
> 
> NCARG_ROOT=/usr/local/ncl-6.3.0
> 
> (base) Jeffreys-MacBook-Pro:lib jeffreytilley$ which gcc
> 
> /usr/bin/gcc
> 
> (base) Jeffreys-MacBook-Pro:lib jeffreytilley$ which gfortran
> 
> /usr/local/bin/gfortran
> 
> (base) Jeffreys-MacBook-Pro:lib jeffreytilley$ gfortran --version
> 
> GNU Fortran (GCC) 8.2.0
> 
> Copyright (C) 2018 Free Software Foundation, Inc.
> 
> This is free software; see the source for copying conditions.  There is NO
> 
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> 
> (base) Jeffreys-MacBook-Pro:lib jeffreytilley$ gcc --version
> 
> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
> --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
> 
> Apple clang version 11.0.0 (clang-1100.0.33.8)
> 
> Target: x86_64-apple-darwin18.7.0
> 
> Thread model: posix
> 
> InstalledDir:
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
> 
> I'm assuming that this gfortran version is incompatible with the 6.3 NCAR
> graphics version but would like advice on whether there is an easy fix with
> the NCL version I have or whether installing 6.6.2 is the quickest fix.
> 
> Thanks,
> Jeff
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://mailman.ucar.edu/pipermail/ncl-install/attachments/20191001/6807f984/attachment-0001.html>
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
> 
> ------------------------------
> 
> End of ncl-install Digest, Vol 144, Issue 1
> *******************************************



More information about the ncl-install mailing list