[ncl-talk] Ubuntu14.10 "setenv" package installation issue
HAVENER, KEVIN F GS-12 USAF AFWA 14 WS/WXED
kevin.havener at us.af.mil
Fri Nov 7 07:23:08 MST 2014
Perhaps your ncl is symlinked from somewhere else to /usr/bin.
Cd to /usr/bin and "ls -l ncl". You may see something (fore example) like ncl -> /usr/local/ncl_ncarg-6.2.0/bin/ncl
In which case try setting your NCARG_ROOT to /usr/local/ncl_ncarg or whatever directory ncl is symlinked to.
Kevin Havener
-----Original Message-----
From: ncl-talk-bounces at ucar.edu [mailto:ncl-talk-bounces at ucar.edu] On Behalf Of Amadou Coulibaly
Sent: Friday, November 07, 2014 9:06 AM
To: ncl-talk at ucar.edu
Subject: [ncl-talk] Ubuntu14.10 "setenv" package installation issue
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
More information about the ncl-talk
mailing list