[ncl-talk] Ubuntu14.10 "setenv" package installation issue

Mary Haley haley at ucar.edu
Fri Nov 7 09:08:53 MST 2014


In the future, please post installation issues to ncl-install at ucar.edu
rather than ncl-talk at ucar.edu.

http://mailman.ucar.edu/mailman/listinfo/ncl-install

I think your issue is that you installed NCL via a package manager, and it
didn't put the NCL installation in the standard location.

It's possible that "ncl" ended up in /usr/bin, but that all the
supplemental files, which would normally end up in "/usr/lib/ncarg" may be
in "/usr/share/ncarg" or something similar.

Do you have a /usr/share/ncarg directory? If so, then you will need to set
NCARG_NCARG as well:

export NCARG_ROOT=/usr
export NCARG_NCARG=/usr/share/ncarg

​--Mary
​

On Fri, Nov 7, 2014 at 7:06 AM, Amadou Coulibaly <mpapin24 at gmail.com> wrote:

>
>
> Dear NCL users,
>
> I still have the same problem when I tried to run ncl script, I got this
> error message:
>
> fatal:Could not open ($NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl)
> fatal:error at line 1 in file test1.ncl
> fatal:syntax error: line -1 before or near
>
> According to one of David's suggestions, I used the following command:
> "which ncl" and I got this: /usr/bin/ncl
>
> But when I tried to use the command "export NCARG_ROOT=/usr" or
> "NCARG_ROOT=/usr ; export NCARG_ROOT"
>
> And after that I tried to run my ncl script, I still have the same error
> messages above in red colour.
>
> How to solve this problem?--
>
> Best regards
>
> * COULIBALY   AMADOU   *
> PhD  Student  on  West  African  Climate  System (WACS)
> FUTA - Federal  University  of  Technology of Akure, Nigeria
>
> *Visiting Student - *
> *University of Cologne, Germany**Institute of Geophysics and Meteorology*
> Pohligstr. 3 / Office 3.102
> D-50969 Köln
>
> *Project*: WASCAL (West African Science Service Centre on Climate Change
> and Adapted Land Use)
> Phone:(+234) 810 795 2836 /(+223) 65 67 27 57 /(+226) 64 57 37 27 /+49
> 15218352574
>
> E-mail: mpapin24 at gmail.com / coulibalya68 at yahoo.com
>
> "*The time is always right to do right": Nelson Mandela*
>
> *"Character is like a tree and reputation like a shadow.  The shadow is
> what we think of it; the tree is the real thing" : Abraham Lincoln*
>
> *"Do what you can, with what you have, where you are" Theodore Roosevelt*
>
>
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20141107/9fa83a80/attachment.html 


More information about the ncl-talk mailing list