[ncl-install] Problem with ncl install/set environement
David Brown
dbrown at ucar.edu
Wed Feb 3 17:32:57 MST 2016
Hi Ingrid,
The export commands you gave are only valid for the current session.
Try logging in and executing these commands and then without logging
out see if you can run ng4ex or ncl. If you can then you simply need
to add the export commands to your startup file(s).
For bash these live in your home directory and have the names .bashrc
and/or .bash_profile. You can find the details of how these files work
by doing 'man bash' (or look on the web for bash documentation). Note
these file have names that begin with '.'. That causes them to be
invisible when you do a normal 'ls'. You need to do 'ls -a' to see
them. Hope this helps.
-dave
On Wed, Feb 3, 2016 at 4:50 PM, Ingrid Tohver <itohver at uw.edu> wrote:
> Hi,
>
> I am in the parent directory where I installed the nil downloaded and unzipped. The /lib and /bin directories are in "ncl-6.2.1". To set the environment I gave the following commands using bash:
>
> export NCARG_ROOT=/Users/xxx/ncl-6.2.1/
> export PATH=$NCARG_ROOT/bin:$PATH
>
> I log out and log back in. When I give the following command:
>
> ng4ex gsun01n -clean
>
> It states:
>
> ng4ex: Command not found.
>
> For the "ncl" command, it gives me this response:
>
> -bash: ncl: command not found
>
> Do I need to be in a different directory to set the environment?
>
> Thanks,
> Ingrid
> _______________________________________________
> 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