[ncl-install] ncl- command not found

Mary Haley haley at ucar.edu
Sun Jun 19 21:53:10 MDT 2016


Andy,

You must set the NCARG_ROOT and PATH environment variables in one of your
.xxxx files (.profile, .bash_profile, .bashrc) as documented here:

http://www.ncl.ucar.edu/Download/install.shtml#SetNCARG_ROOT

You may already have one of these files in your home directory with a
setting for PATH.  To check for this, type:

grep PATH ~/.*

If you see any files that reference PATH and "export" in the same line,
then this is likely the file that you want to add the NCARG_ROOT setting,
and the new PATH command to.

--Mary


On Fri, Jun 17, 2016 at 11:04 PM, Potula Anand <anand1576 at gmail.com> wrote:

> *Hi Mary, *
>
>
> *Thanks for the mail. Yes, I have *installed the 32-bit version of Cygwin
> and could use vi editor and others successfully. So, there no problem with
> cygwin but it seems something went wrong with ncl installation. Setup of PATH
> and NCARG_ROOT environment variables has not done in a right way!. Anyway,
> I have typed the commands suggested by you and sending the same to you for
> your kind reference.
>
>
> &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
> *PHY04+anand.psb at phy04 ~*
> $ uname -a
> CYGWIN_NT-5.1 phy04 2.5.1(0.297/5/3) 2016-04-21 22:12 i686 Cygwin
>
> *PHY04+anand.psb at phy04 ~*
> $ env  env
> HOMEPATH=\Documents and Settings\anand.psb.PHY04
> APPDATA=C:\Documents and Settings\anand.psb.PHY04\Application Data
> HOSTNAME=phy04
> SHELL=/bin/bash
> TERM=xterm
> PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel
> PROFILEREAD=true
> WINDIR=C:\WINDOWS
> OLDPWD=/cygdrive/d/Desktop
> ORIGINAL_PATH=/cygdrive/c/Documents and Settings/All Users/Application
> Data/Orac
>  le/Java/javapath:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WI
>
>  NDOWS/System32/Wbem:/cygdrive/c/Program Files/Common
> Files/Acronis/SnapAPI:/cygd
>                rive/c/Program
> Files/Java/jdk1.7.0/bin:/cygdrive/c/MATLAB701/bin/win32:/cygdrive
>                                                      /c/Program
> Files/MATLAB/R2013b/runtime/win32:/cygdrive/c/Program Files/MATLAB/R2
>
>  013b/bin:/cygdrive/c/Program
> Files/MATLAB/R2013b/polyspace/bin:/cygdrive/c/OpenG
>
>  rADS/Contents/Cygwin/Versions/2.0.2.oga.2/i686
> USERDOMAIN=PHY04
> OS=Windows_NT
> ALLUSERSPROFILE=C:\Documents and Settings\All Users
> USER=PHY04+anand.psb
> !::=::\
> TEMP=/tmp
> COMMONPROGRAMFILES=C:\Program Files\Common Files
> USERNAME=anand.psb
> PROCESSOR_LEVEL=6
> PATH=/usr/local/bin:/usr/bin:/cygdrive/c/Documents and Settings/All
> Users/Applic
>  ation
> Data/Oracle/Java/javapath:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS
>
>  :/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program Files/Common
> Files/Acroni
>  s/SnapAPI:/cygdrive/c/Program
> Files/Java/jdk1.7.0/bin:/cygdrive/c/MATLAB701/bin/
>                                        win32:/cygdrive/c/Program
> Files/MATLAB/R2013b/runtime/win32:/cygdrive/c/Program
>
> Files/MATLAB/R2013b/bin:/cygdrive/c/Program
> Files/MATLAB/R2013b/polyspace/bin:/c
>
>  ygdrive/c/OpenGrADS/Contents/Cygwin/Versions/2.0.2.oga.2/i686
> FP_NO_HOST_CHECK=NO
> PWD=/home/anand.psb
> SYSTEMDRIVE=C:
> __COMPAT_LAYER=EnableNXShowUI
> LANG=en_US.UTF-8
> USERPROFILE=C:\Documents and Settings\anand.psb.PHY04
> CLIENTNAME=Console
> TZ=Asia/Kolkata
> PS1=\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$
> LOGONSERVER=\\PHY04
> PROCESSOR_ARCHITECTURE=x86
> EXECIGNORE=*.dll
> SHLVL=1
> HOME=/home/anand.psb
> PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
> HOMEDRIVE=C:
> COMSPEC=C:\WINDOWS\system32\cmd.exe
> TMP=/tmp
> SYSTEMROOT=C:\WINDOWS
> PRINTER=Samsung ML-331x Series
> PROCESSOR_REVISION=0f0d
> INFOPATH=/usr/local/info:/usr/share/info:/usr/info
> PROGRAMFILES=C:\Program Files
> NUMBER_OF_PROCESSORS=2
> SESSIONNAME=Console
> COMPUTERNAME=PHY04
> _=/usr/bin/env
>
> *PHY04+anand.psb at phy04 ~*
> $ env | grep NCARG_ROOT
>
> PHY04+anand.psb at phy04 ~
> $ which ncl
> which: no ncl in (/usr/local/bin:/usr/bin:/cygdrive/c/Documents and
> Settings/All
>   Users/Application
> Data/Oracle/Java/javapath:/cygdrive/c/WINDOWS/system32:/cygdr
>
>  ive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program
> Files/Common
>   Files/Acronis/SnapAPI:/cygdrive/c/Program
> Files/Java/jdk1.7.0/bin:/cygdrive/c/M
>                          ATLAB701/bin/win32:/cygdrive/c/Program
> Files/MATLAB/R2013b/runtime/win32:/cygdri
>                              ve/c/Program
> Files/MATLAB/R2013b/bin:/cygdrive/c/Program Files/MATLAB/R2013b/pol
>
>  yspace/bin:/cygdrive/c/OpenGrADS/Contents/Cygwin/Versions/2.0.2.oga.2/i686)
>
>
> &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
>
> Once again a big thanks to you.
>
> Andy
>
>
>
> On Fri, Jun 17, 2016 at 8:12 PM, Mary Haley <haley at ucar.edu> wrote:
>
>> ​Hi Andy,
>>
>> Sorry for the ​delay, I thought I had responded to this question already.
>>
>> Did you install the 32-bit version of Cygwin? This is very important
>> because we don't support 64-bit Cygwin yet.
>>
>> http://www.ncl.ucar.edu/Download/cygwin.shtml
>>
>> Also, did you set up your PATH and NCARG_ROOT environment variables as
>> described in the above link?
>>
>> If you are not sure about any of the above, then please type the
>> following and email it back to ncl-install:
>>
>> uname -a
>> env | grep PATH
>> env | grep NCARG_ROOT
>> which ncl
>>
>> --Mary
>>
>>
>> On Tue, Jun 14, 2016 at 10:00 PM, Potula Anand <anand1576 at gmail.com>
>> wrote:
>>
>>> Sir,
>>>
>>> I am using CYGWIN and installed all necessary files in order to install
>>> NCL by following instructions from www.*ncl*.ucar.edu/Download/*cygwin*
>>> .shtml
>>> <https://www.google.co.in/#>
>>>
>>>    1.
>>>    <http://webcache.googleusercontent.com/search?q=cache:Cu7udkefDuQJ:www.ncl.ucar.edu/Download/cygwin.shtml+&cd=1&hl=en&ct=clnk&gl=in>
>>>
>>>
>>> But, when I was trying to type 'ncl -V', it had shown command not found.
>>>
>>> Can u help to sort out this problem?
>>>
>>> Andy.p
>>>
>>> _______________________________________________
>>> 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/20160619/8bb9acaa/attachment-0001.html 


More information about the ncl-install mailing list