[ncl-install] mac installation issue
Mary Haley
haley at ucar.edu
Tue May 20 09:17:26 MDT 2014
Dear Crystal,
I believe you have done everything correctly with the environment variables.
The problem you are running into has to do with UNIX file permissions. When you run "ng4ex", it tries to copy an NCL script into the directory where you currently are, and then run it.
There are some directories that you are not allowed to write files to unless you are a "super user" or have special administrative purposes, and my guess is that you tried to run "ng4ex" from one of these directories.
Try running the command from your home directory instead:
cd
ng4ex gsun01n -clean
The "cd" command without any arguments should cd to your home directory by default.
--Mary
On May 19, 2014, at 11:37 PM, Ning Li <ning.li at auckland.ac.nz> wrote:
> Dear NCl users,
> I am very new to NCL and would like to install NCL on my MAC laptop.
> It seems I have done the downloading and setting environment variable parts successfully, but
> when I run ng4ex gsun01n -clean (the example on NCL website) to see if the installation is completed.
> what is returned by bash is:
> NCAR Graphics NCL Example <gsun01n>
> ...[omitted]
> ...
> Copy gsun01n.ncl
> cp: ./gsun01n.ncl: Permission denied
>
> Running NCL...
> gsun01n.ncl: No such file or directory.
>
> ncl failed.
> I am not familiar with command lines at all so I suspect I've done something wrong.
> Below is the environment variable and system information if that helps to understand what
> is going on..
> export NCARG_ROOT=/Users/Crystal/usr/local/ncl-6.2.0
> export PATH=$NCARG_ROOT/bin:$PATH
> The 'ncl-6.2.0' directory contains 3 folders: 'bin','include' and 'lib'.
>
> The version of NCL I downloaded is 'ncl_ncarg-6.2.0.MacOS_10.8_64bit_nodap_gcc471.tar' and I
> am able to unzip the tarfile. The Mac version is 10.8.5.
>
> I am really hoping to get NCL installed as it seems to have excellent functionality for climate analysis!
>
> Thank you all
>
> Crystal (Ning) LI
>
> PhD candidate
> School of Environment
> The University of Auckland
> _______________________________________________
> 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