[ncl-install] Error when launching NCL with a remote machine.

Yi-Hui Wang yihuiw at uci.edu
Mon Mar 26 15:00:14 MDT 2012


Hi,

I try to use NCL by remotely connecting my Window-7 laptop through Xming
and putty to my office Linux machine. However, when I typed “ncl” in my
command line, I got the error message,

warning:Unable to Get System Resource File Name?
warning:Unable to load System Resource File (null)
fatal:GetSysAppDir:Unable to get a default value for the system App
Resource directory
warning:["Resources.c":734]:Unable to set appSysDir to default value -
Using NULL
fatal:GetSysAppDir:Unable to get a default value for the system App
Resource directory
warning:["Resources.c":734]:Unable to set appSysDir to default value -
Using NULL
warning:Unable to Get System Resource File Name?
Segmentation fault

It seems like the environment variable is not set. So I followed the
instruction in the FAQ and got “/usr/local/bin/ncl” after typing “which
ncl”. It returns nothing after tying “echo $NCARG_ROOT”. However, I run
NCL smoothly using my Linux machine directly and set NCARG_ROOT in .bashrc
there with the following,
export NCARG_ROOT=/usr/local
export PATH=/usr/local/bin:$PATH
export MANPATH=$NCARG_ROOT/man:$MANPATH

I am not sure what the problem is. Should I change any setting of the
environment variable in my Linux machine? One solution I can think of is
to install NCL in my PC. But it would be great if I can remotely run NCL
program since a file size is large sometimes. I would be very appreciated
if you can help me. Thank you so much.

Yi-Hui


Yi-Hui Wang
Graduate Student
2101 Croul Hall, Dept of Earth System Science
University of California at Irvine
Irvine, CA 92697-3100
yihuiw at uci.edu



More information about the ncl-install mailing list