[ncl-install] fatal:Could not open ($NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl)

Karin Meier-Fleischer meier-fleischer at dkrz.de
Thu Jan 2 08:16:12 MST 2020


Hi,

on the one hand there is a discrepancy in the version used - after 
calling ncl the version 6.4.0 is displayed in the NCL information part, 
but it should be 6.6.2 according to your information!? On the other 
hand, NCL tells you that the NUG script in line 6 runs into an error 
because it does not find the script 
$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl.Please check your 
environment variables for NCL whether they are really set correctly, it 
seems to be a version mismatch.

-Karin

Am 02.01.20 um 09:47 schrieb Ehsan Taghizadeh via ncl-install:
> Dear Nategheh
> Thank you for your correction.
> Do you see the output of following command:
> $ ls $NCARG_ROOT/lib/ncarg/nclscripts/csm
>
> I'm trying to help you and I wish the problem will be fixed soon, if 
> it isn't yet.
>
> /Sincerely/
> /Ehsan/
> On Tuesday, December 31, 2019, 02:33:44 PM GMT+3:30, nategheh 
> najafpour <nati.najafpour at gmail.com> wrote:
>
>
> Hi
>
> I made a mistake. I wrote output of ncl -V instead of which ncl.
>
> $ which ncl
> /usr/local/ncl-6.6.2/bin/ncl
> Regards
>
> On Sat, Dec 28, 2019 at 2:44 PM Ehsan Taghizadeh 
> <ehsantaghizadeh at yahoo.com <mailto:ehsantaghizadeh at yahoo.com>> wrote:
>
>     Dear Nategheh
>     Could you please send output of "which ncl" here?
>
>     /Sincerely/
>     /Ehsan/
>
>     On Thursday, December 26, 2019, 08:14:17 PM GMT+3:30, nategheh
>     najafpour via ncl-install <ncl-install at ucar.edu
>     <mailto:ncl-install at ucar.edu>> wrote:
>
>
>     Hi
>
>     I downloaded this version of ncl:
>     ncl_ncarg-6.6.2-Debian9.8_64bit_gnu630.tar.gz
>     <https://www.earthsystemgrid.org/dataset/ncl.662.dap/file/ncl_ncarg-6.6.2-Debian9.8_64bit_gnu630.tar.gz>
>
>     I set my variables in bashrc as follows:
>     # NCARG Environmental Variables
>     export NCARG_ROOT=/usr/local/ncl-6.6.2
>     export PATH=$NCARG_ROOT/bin:$PATH
>     export DISPLAY=:0.0
>
>     After installing ncl /usr/local/ncl-6.6.2 directory in according to
>     https://www.ncl.ucar.edu/Download/install_from_binary.shtml
>
>     I tested NCL according to
>     https://www.ncl.ucar.edu/Download/
>
>     In Test 3 I got this error
>        Copyright (C) 1995-2017 - All Rights Reserved
>        University Corporation for Atmospheric Research
>        NCAR Command Language Version 6.4.0
>        The use of this software is governed by a License Agreement.
>        See http://www.ncl.ucar.edu/ for more details.
>        fatal:Could not open
>     ($NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl)
>        fatal:error at line 6 in file
>     /usr/local/ncl-6.6.2/lib/ncarg/nclex/nug/NUG_multi_timeseries.ncl
>
>     Type of my system, flavor of LINUX and the version of gcc are as
>     follows:
>
>     $ uname -m
>     x86_64
>
>     $ cat /etc/issue
>     Ubuntu 18.04.3 LTS \n \l
>
>     $ lsb_release -d
>     Description: Ubuntu 18.04.3 LTS
>
>     $ gcc --version
>     gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
>     Copyright (C) 2017 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.
>
>     Could you please help me to solve this error?
>
>     Regards
>
>
>
>
>
>
>
>     _______________________________________________
>     ncl-install mailing list
>     List instructions, subscriber options, unsubscribe:
>     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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-install/attachments/20200102/c1e6e664/attachment-0001.html>


More information about the ncl-install mailing list