[ncl-install] ncl_filedump and ncl_convert2nc problem

Oscar Chimborazo ochimborazo at gmail.com
Wed May 17 17:30:32 MDT 2017


Hi Kevin,

I was able to run the tools installing the GCC/GFortran packages you
recommend but not exactly the one that matches the precompiled binary. Let
me tell you. I installed NCL using your precompiled binary, this one:

ncl_ncarg-6.4.0-MacOS_10.12_64bit_gnu530.tar.gz

NCL was not able to run without setting any DYLD_*, and I got the similar
messages when I unset those environment variables. So I installed the
GCC/GFortran packages from the site that you recommend, and now everything
is working fine without setting the environment variables. But I didn't
install gcc-5.3, rather I installed gcc-6.3.  I read about installing the
gcc/gfortran files from that site in the recommendations for installing on
Mac OSX, but I was a little reluctant to install them because I was afraid
of conflicts with my gcc/gfortran installation from MacPorts, and also
because I was surprised and curious that NCL was working except the tools.
Anyway, everything is working fine now. Thank you for your help!

Regards,
Oscar

On Wed, May 17, 2017 at 6:25 PM, Kevin Hallock <hallock at ucar.edu> wrote:

> Hi Oscar,
>
> How did you install NCL on your machine? Are you using binaries from our
> website <https://www.earthsystemgrid.org/dataset/ncl.640.html>? Is NCL
> able to run without setting any DYLD_* environment variables?
>
> The GCC/GFortran packages we recommend in our documentation
> <http://ncl.ucar.edu/Download/macosx.shtml#InstallCompilers> installs to
> /usr/local by default, and that appears to be the prefix of the missing
> library:
>
> dyld: Library not loaded: /usr/local/lib/libgomp.1.dylib
>
>
> I’m surprised that NCL is somehow working, but ncargpath isn’t.
>
> Kevin
>
> On May 17, 2017, at 10:43 AM, Oscar Chimborazo <ochimborazo at gmail.com>
> wrote:
>
> Hi folks,
>
> I installed NCL 6.4.0 on Mac OSX Sierra. NCL is working fine with the
> scripts, however when I want to use the tools ncl_filedump or
> ncl_convert2nc, I get this:
>
> dyld: Library not loaded: /usr/local/lib/libgomp.1.dylib
>   Referenced from: /opt/ncl-6.4.0/bin/ncargpath
>   Reason: image not found
> Abort
> if: Missing file name.
>
> I set the environment like this:
>
> export DYLD_LIBRARY_PATH=/opt/local/lib/gcc5
>
> I also tried with this environment:
>
> export DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib/gcc5
>
> It didn't work. Also, I tried to test the installation of NCL with the
> commands:
> ng4ex gsun01n -clean
> ncargex cpex08 -clean
>
> And I get something similar except for the last line:
>
> dyld: Library not loaded: /usr/local/lib/libgomp.1.dylib
>   Referenced from: /opt/ncl-6.4.0/bin/ncargpath
>   Reason: image not found
> Abort
>
> But as I mentioned before, the strange thing is that NCL 6.4.0 is working
> fine with my scripts.
>
> Oscar
> _______________________________________________
> 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/20170517/8a07e6b3/attachment.html 


More information about the ncl-install mailing list