[ncl-install] NCL Ubuntu
HAVENER, KEVIN F GS-12 USAF ACC 14 WS/WXED
kevin.havener at us.af.mil
Tue Jan 17 06:48:24 MST 2017
I just installed the Ubuntu ncl-ncarg package on my Ubuntu laptop to see what would happen. Surprisingly, this turned out to be a recent-ish6.3 install (on 16.10, yakkety). It set no NCL related variables that I could find, but it did lead me to the more obvious "where in your path list does ncl show up?" You would want the location of your 6.3 to be listed before the location of 6.1.2. Ubuntu installed it in /usr/bin, so if you installed your 6.3.0 in /opt or /usr/local/bin, make sure that path comes before /usr/bin in your path list.
The Ubuntu install did not affect either my conda-installed ncl_stable or ncl_test that I noticed.
Kevin Havener
-----Original Message-----
From: ncl-install-bounces at ucar.edu [mailto:ncl-install-bounces at ucar.edu] On Behalf Of HAVENER, KEVIN F GS-12 USAF ACC 14 WS/WXED
Sent: Tuesday, January 17, 2017 8:01 AM
To: JP Kalb <jpkalb1990 at yahoo.com>; Mary Haley <haley at ucar.edu>
Cc: ncl-install at ucar.edu
Subject: Re: [ncl-install] NCL Ubuntu
If you don't need 6.1.2, then I'd suggest 'sudo apt-get remove ncl" it. If you really need both versions then you need to de-conflict the two installations. If you use the commands that Mary gave you, you will see that your Ubuntu is trying to use the 6.1.2 version. I have successfully used the Ubuntu installed version and a newer version in the past but I forget the mojo. It does matter where and when you set your NCARG_ROOT. One possible error: assuming bash, you set it in your .bash_profile, not your .bashrc. In this situation your login shell knows NCARG_ROOT, but no other terminal you open will. So either don't set it in .bash_profile or have bash_profile source .bashrc as the last act in your .bash_profile.
I think also if you do the 'env' command below, I think you will find that the Ubuntu package sets some other environment variables that are similar to, but different than 'NCARG_ROOT'. You will need to figure out how to unset those. Easiest way is to remove 6.1.2, which I highly recommend.
Kevin Havener
-----Original Message-----
From: ncl-install-bounces at ucar.edu [mailto:ncl-install-bounces at ucar.edu] On Behalf Of JP Kalb
Sent: Tuesday, January 17, 2017 12:50 AM
To: Mary Haley <haley at ucar.edu>
Cc: ncl-install at ucar.edu
Subject: Re: [ncl-install] NCL Ubuntu
Hi Mary,
I set my
NCARG_ROOT=/usr/local/lib/NCL6.3/
but my ncl is at /usr/bin/ncl and version 6.1.2
JP Kalb
On Monday, January 16, 2017 9:47 PM, Mary Haley <haley at ucar.edu> wrote:
JP,
How exactly and where are you setting NCARG_ROOT?
If you type the following at the UNIX prompt from a Terminal window, what does it report?
env | grep NCARG
which ncl
ncl -V
If you are setting anything other than NCARG_ROOT, then uncomment these from whatever .* file in your home directory is setting them.
--Mary
On Mon, Jan 16, 2017 at 7:30 PM, JP Kalb <jpkalb1990 at yahoo.com <mailto:jpkalb1990 at yahoo.com> > wrote:
Hi there,
I am having trouble setting my NCL on my Ubuntu WSL. I keep trying export NCARG_ROOT= wherever my NCL6.3 is but it keeps thinking the NCARG_ROOT is the ncl that I sudo apt-get installed. How can I fix this?
Thanks,
JP Kalb
______________________________ _________________
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>
_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
More information about the ncl-install
mailing list