[ncl-install] NCL installation problem with ubuntu 16.04

Mary Haley haley at ucar.edu
Fri Jun 3 08:17:50 MDT 2016


Dipti,

You have an error. The first line needs a "/" in front of "usr":

export NCARG_NCARG=/usr/share/ncarg

Also, you do not need this line:

export PATH=$NCARG_NCARG:$PATH

There is nothing that's "executable" in $NCARG_NCARG, so setting the above
will have no use.

--Mary


On Fri, Jun 3, 2016 at 3:13 AM, Dipti Kalyanshetti <
diptikalyanshetti at gmail.com> wrote:

> Hi,
>
> I have installed NCL using sudo apt install ncl-ncarg. But it is not
> working correctly. Getting error
>  *fatal:Could not open
>  ($NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl) .*
> This is due to environmental variables not set properly.
>
>  I set variables in my .bashrc file as follows (reading after
> https://www.ncl.ucar.edu/Support/talk_archives/2014/1620.html)
>
> export NCARG_NCARG=usr/share/ncarg
> export NCARG_ROOT=/usr
> export PATH=$NCARG_ROOT/bin:$PATH
> export PATH=$NCARG_NCARG:$PATH
>
> But still I am getting same error.
>
>
> Thanks and Regards,
> Dipti
>
>
> _______________________________________________
> 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/20160603/9a209e17/attachment.html 


More information about the ncl-install mailing list