[ncl-install] ng4ex directory error still there?
Trostel, John M.
john.trostel at gtri.gatech.edu
Mon Oct 1 14:19:50 MDT 2018
[jt2 at littleboy2 util]$ which ncl
~/Build_WRF/NCL/bin/ncl
[jt2 at littleboy2 util]$ env | grep NCARG
NCARG_FONTCAPS=/home/jt2/Build_WRF/NCL/lib/ncarg/fontcaps
NCARG_GRAPHCAPS=/home/jt2/Build_WRF/NCL/lib/ncarg/graphcaps
NCARG_ROOT=/home/jt2/Build_WRF/NCL
NCARG_DATABASE=/home/jt2/Build_WRF/NCL/lib/ncarg/database
NCARG_LIB=/home/jt2/Build_WRF/NCL/lib/ncarg
NCARG_NCARG=/home/jt2/Build_WRF/NCL/lib/ncarg
[jt2 at littleboy2 util]$ ncl -V
6.4.0
I think ng4ex is looking for xy01n.ncl script in the wrong place. ?
--
John Trostel
Director - Severe Storms Research Center
Georgia Tech Research Institute
Atlanta, GA 30332-0857
________________________________
From: Mary Haley <haley at ucar.edu>
Sent: Monday, October 1, 2018 3:51:51 PM
To: Trostel, John M.
Cc: John Trostel; ncl-install at ucar.edu
Subject: Re: [ncl-install] ng4ex directory error still there?
John,
Sorry if this has already been answered. I'm going through some old emails that look like they haven't been responded to yet.
The likely cause of this problem is that your environment is not set up properly.
At a minimum, in order to run ncl, you must have NCARG_ROOT set to the parent directory directory of where the NCL software was installed, AND, $NCARG_ROOT/bin must be part of your PATH environment variable.
When you use apt-get, which is not supported by us, the installation gets split up over two parent directories, and hence you also need to set NCARG_NCARG, which I believe apt-get does for you.
The problem comes in when you try to install a new version of NCL. When you do this, you must update NCARG_ROOT and PATH to point to the new directories, but you must also make sure you don't have the old NCARG_NCARG still set.
In order to see if your environment is wrong, you can type the following commands on the UNIX command line:
which ncl
env | grep NCARG
ncl -V
--Mary
On Fri, Sep 14, 2018 at 8:58 PM, Trostel, John M. via ncl-install <ncl-install at ucar.edu<mailto:ncl-install at ucar.edu>> wrote:
I should add that one install was using apt-get install, giving me a 6.4 NCL, while the other was using a precompiled binary, giving me a 6.5 NCL. I used the ncl_ncarg-6.5.0-SuSE12_64bit_nodap_gnu730.tar.gz file...
--
John Trostel
Director - Severe Storms Research Center
Georgia Tech Research Institute
Atlanta, GA 30332-0857
________________________________
From: ncl-install <ncl-install-bounces at ucar.edu<mailto:ncl-install-bounces at ucar.edu>> on behalf of John Trostel via ncl-install <ncl-install at ucar.edu<mailto:ncl-install at ucar.edu>>
Sent: Friday, September 14, 2018 10:43:10 PM
To: ncl-install
Subject: [ncl-install] ng4ex directory error still there?
I installed ncl two ways and both ways resulted in a directory error when running the "ng4ex xy05n -clean" test.
In both cases it failed to find the xy05n test.
Running directly as suggested: "ncl $NCARG_ROOT/lib/ncarg/nclex/xyplot/xy01n.ncl" however works.
Is the ng4ex script still broken?
John Trostel
jtrostel at gmail.com<mailto:jtrostel at gmail.com>
_______________________________________________
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/20181001/a8bf0890/attachment-0001.html>
More information about the ncl-install
mailing list