[ncl-install] Problem installing NCL using conda
HAVENER, KEVIN F GS-12 USAF ACC 14 WS/WXED
kevin.havener at us.af.mil
Thu Aug 4 11:06:47 MDT 2016
I installed the conda version of pynio/pyngl and ran into a similar error, but I don't think it was a conflict with another libnetcdf.so because when I looked at my pyn_test environment lib directory, I saw that libnetcdf.so.11 was installed and the error indicated that it was looking for libnetcdf.so.7. I made a symlink from libnetcdf.so.11 to libnetcdf.so.7 within the pyn_test environment and it worked from then on.
But I can also verify that the libnetcdf with a fully updated base anaconda install environment does indeed install libnetcdf.so.7 and netCDF-4.3.3.1. So that was likely the cause in this case and maybe in my pyn_test case as well. I'll have to check into that.
Kevin Havener
-----Original Message-----
From: ncl-install-bounces at ucar.edu [mailto:ncl-install-bounces at ucar.edu] On Behalf Of Bill Ladwig
Sent: Thursday, August 04, 2016 12:29 PM
To: Justin Vrooman <vroomanj at egr.msu.edu>
Cc: ncl-install at ucar.edu
Subject: Re: [ncl-install] Problem installing NCL using conda
Hi Justin,
Some of this conda stuff is still a work in progress, so sometimes issues like this pop up. Thanks for the feedback. As a workaround for your problem, I recommend installing NCL in to its own conda environment. This should isolate NCL from the netcdf libraries that ship with anaconda or the default channels. We should have all this cleaned up when we officially launch the next version of NCL.
For now, to create a conda environment, run:
conda create -n ncl_env -c dbrown -c khallock ncl
This will install ncl in to its own environment named 'ncl_env'.
To activate the environment, run:
source activate ncl_env
Once activated, you should be able to run:
ncl -V
To deactivate when you are finished, run:
source deactivate
If this doesn't work, please report back to ncl-install and we'll work on a fix for you.
Hope this helps,
Bill
On Thu, Aug 4, 2016 at 8:00 AM, Justin Vrooman <vroomanj at egr.msu.edu <mailto:vroomanj at egr.msu.edu> > wrote:
Hello all:
I have installed NCL using the following conda command:
conda install --channel dbrown --channel khallock ncl
(from: http://www.ncl.ucar.edu/Download/conda.shtml <http://www.ncl.ucar.edu/Download/conda.shtml> )
However, when I try to run ncl I get the following error:
ncl: error while loading shared libraries: libnetcdf.so.11: cannot open shared object file: No such file or directory
BUT, when I try to update libnetcdf.so.11:
conda install -c dbrown libnetcdf=4.4.0
I get the following conflict:
The following specifications were found to be in conflict:
- libnetcdf 4.4.0*
- ncl -> libnetcdf 4.3.3.1
Does anyone have any idea how to fix this?
Thanks,
- Justin
_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install <http://mailman.ucar.edu/mailman/listinfo/ncl-install>
More information about the ncl-install
mailing list