[ncl-install] bash: ncl: command not found...

David Brown dbrown at ucar.edu
Mon Sep 15 16:34:29 MDT 2014


Well it looks like you have solved the NCARG_ROOT problem, which is good
progress. The error you are getting here probably means that you do not
have permissions to write to the directory you are running this script
from. Make sure the the directory you are working in is writeable.
 -dave

On Mon, Sep 15, 2014 at 4:28 PM, juki juki <juky_emc2 at yahoo.com> wrote:

> Hi David,
>
> Thanks for your reply.
>
> I got the following error:
>
> Copyright (C) 1995-2014 - All Rights Reserved
>  University Corporation for Atmospheric Research
>  NCAR Command
>  Language Version 6.2.0
>  The use of this software is governed by a License Agreement.
>  See http://www.ncl.ucar.edu/ for more details.
> wks.c: Error in opngks_(): Could not open "./mp04n.ncgm"
>  GKS ERROR NUMBER  304 ISSUED FROM SUBROUTINE GOPWK :
>  --INPUT/OUTPUT ERROR HAS OCCURRED WHILE SENDING DATA TO A WORKSTATION
>  GKS ERROR NUMBER   25 ISSUED FROM SUBROUTINE GESC  :
>
> Thank you
>
> Joeky
>
>
>
>   On Tuesday, September 16, 2014 12:19 AM, David Brown <dbrown at ucar.edu>
> wrote:
>
>
> Hi Marzuki,
>
> If you typed your email correctly, then perhaps the problem is that you
> installed at usr/local/ncl-6.2.1 but you are setting NCARG_ROOT to
> /usr/local/ncl-6.2.1. These are two different locations unless your
> working directory is '/'.
>  -dave
>
>
> On Sun, Sep 14, 2014 at 2:56 AM, juki juki <juky_emc2 at yahoo.com> wrote:
>
> Additional information:
>
> gcc version 4.8.3 20140624 (Red Hat 4.8.3-1) (GCC)
>
> I installed
>
> ncl_ncarg-6.2.1.Linux_RHEL5.10_i686_gcc412.tar.gz
>
> at:
> usr/local/ncl-6.2.1
>
> Thank you
>
> Marzuki
>
>
>
>   On Friday, September 12, 2014 4:02 PM, juki juki <juky_emc2 at yahoo.com>
> wrote:
>
>
> Dear All;
>
> I have used ncl for long time and I tried to install ncl in my new linux
> pc. However, I got the following command:
>
> bash: ncl: command not found...
>
> I try to follow the guidance at the following link:
>
> http://www.ncl.ucar.edu/get_started.shtml#SetNCARG_ROOT
>
> But, I didn't get any success, "bash: ncl: command not found..." still
> appears.
>
> The following are the information that may be usefull:
>
> [root at localhost ~]# echo $SHELL
> /bin/bash
>
> [root at localhost ~]# grep -i path ~/.*
> grep: /root/.: Is a directory
> grep: /root/..: Is a directory
> /root/.bash_history:export PATH=$NCARG_ROOT/bin:$PATH
> /root/.bash_history:export LD_LIBRARY_PATH=/usr/local/lib
> /root/.bash_history:export LD_LIBRARY_PATH=/usr/local/lib
> /root/.bash_history:PATH=$NCARG_ROOT/bin:$PATH
> /root/.bash_history:   export PATH
> /root/.bash_history:setenv PATH $NCARG_ROOT/bin:$PATH
> /root/.bash_history: export PATH=$NCARG_ROOT/bin:$PATH
> /root/.bash_history:env | grep LD_LIBRARY_PATH
> /root/.bash_history:export LD_LIBRARY_PATH=/usr/local/lib
> /root/.bash_profile:PATH=$PATH:$HOME/bin
> /root/.bash_profile:export PATH
> grep: /root/.cache: Is a directory
> grep: /root/.config: Is a directory
> grep: /root/.gnupg: Is a directory
> grep: /root/.local: Is a directory
> grep: /root/.mozilla: Is a directory
> grep: /root/.pki: Is a directory
> grep: /root/.ssh: Is a directory
>
> -----------------
> Hope some help if you have experience with such case.
>
> Thank
> joeky
>
>
>
>
>
>
>
>
> _______________________________________________
> 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/20140915/d83453d1/attachment.html 


More information about the ncl-install mailing list