<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
If you use tcsh you have to set the environment variable in a
different way 😉<br>
<br>
setenv NCARG_ROOT /Users/home/local/ncl-6.6.2<br>
<br>
-Karin<br>
<br>
<div class="moz-cite-prefix">Am 28.09.21 um 19:17 schrieb Xin Wen:<br>
</div>
<blockquote type="cite"
cite="mid:CAHHvpsk1uUPr9C+iS=FU9yUSekDc+r8Vv+g9wUwsXmNOSXoqQQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi Karin,
<div><br>
</div>
<div>Thanks for your reply, I was able to install ncl in another
directory. However, when I tried to set the environment, I put
the command </div>
<div>'<span
style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);font-family:Menlo;font-size:11px">NCAR_ROOT=/Users/home/local/ncl-6.6.2</span>' </div>
<div>using terminal t-csh in the directory in which ncl was
installed, it returns that command not found. </div>
<div><br>
</div>
<div>Xin</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Karin Meier-Fleischer via
ncl-install <<a href="mailto:ncl-install@mailman.ucar.edu"
moz-do-not-send="true">ncl-install@mailman.ucar.edu</a>>
于2021年9月28日周二 上午2:12写道:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div> Hi Xin,<br>
<br>
the directory /usr is owned by root and it seems to be that
you do not have root permission.<br>
<br>
You can install NCL in another directory for example<br>
<br>
mkdir $HOME/local/ncl-6.6.2<br>
<br>
At least you have to set the NCARG_ROOT environment variable
to this directory<br>
<br>
export NCARG_ROOT=$HOME/local/ncl-6.6.2<br>
<br>
Ciao,<br>
Karin<br>
<br>
<div>Am 27.09.21 um 23:38 schrieb Xin Wen via ncl-install:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I'm trying to install NCL on my MacOS. By now, I
already finished steps of :</div>
<div>
<ul style="margin:0px 0px
5px;padding:0px;list-style-position:inside;color:rgb(0,0,0);font-family:verdana,sans-serif;font-size:13.3333px">
<li style="margin:0px;padding:0px 0px 0px
25px;font-size:10pt;line-height:12pt;color:rgb(51,51,51)">Install
XQuartz</li>
<li style="margin:0px;padding:0px 0px 0px
25px;font-size:10pt;line-height:12pt;color:rgb(51,51,51)">Install
gcc and gfortran</li>
<li style="margin:0px;padding:0px 0px 0px
25px;font-size:10pt;line-height:12pt;color:rgb(51,51,51)">Go
to list of available NCL binaries on the Climate
Data Gateway</li>
<li style="margin:0px;padding:0px 0px 0px
25px;font-size:10pt;line-height:12pt;color:rgb(51,51,51)">Choose
and download the right NCL binary for your MacOSX
system </li>
</ul>
<font face="verdana, sans-serif" color="#333333"><span
style="font-size:13.3333px">When I try to install
NCL from a downloaded binary, it recommends the
following two command lines on the website.</span></font></div>
<div>
<pre style="white-space:pre-wrap;margin-top:0px;margin-bottom:0px;padding:0px;font-size:13.3333px;line-height:12pt;font-family:courier;border-style:solid;border-width:0px 0px 15px;border-color:transparent;color:rgb(0,0,0)"> mkdir /usr/local/ncl-6.6.2
tar -zxf ~/Downloads/ncl_ncarg-6.6.2-MacOS_10.13_64bit_gnu730.tar.gz -C /usr/local/ncl-6.6.2</pre>
<pre style="white-space:pre-wrap;margin-top:0px;margin-bottom:0px;padding:0px;font-size:13.3333px;line-height:12pt;border-style:solid;border-width:0px 0px 15px;border-color:transparent;color:rgb(0,0,0)"><font face="verdana, sans-serif">However, this 'mkdir /usr/local/ncl-6.6.2' permission was denied. Could you please help me with this? </font></pre>
<pre style="white-space:pre-wrap;margin-top:0px;margin-bottom:0px;padding:0px;font-size:13.3333px;line-height:12pt;border-style:solid;border-width:0px 0px 15px;border-color:transparent;color:rgb(0,0,0)"><font face="verdana, sans-serif">BTW, my gfortran version is 'GNU Fortran (GCC) 10.2.0', and gcc version is 'gcc (GCC) 10.2.0'</font></pre>
<pre style="white-space:pre-wrap;margin-top:0px;margin-bottom:0px;padding:0px;font-size:13.3333px;line-height:12pt;border-style:solid;border-width:0px 0px 15px;border-color:transparent;color:rgb(0,0,0)"><font face="verdana, sans-serif">Best regards,</font></pre>
<pre style="white-space:pre-wrap;margin-top:0px;margin-bottom:0px;padding:0px;font-size:13.3333px;line-height:12pt;border-style:solid;border-width:0px 0px 15px;border-color:transparent;color:rgb(0,0,0)"><font face="verdana, sans-serif">Xin</font></pre>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank" moz-do-not-send="true">https://mailman.ucar.edu/mailman/listinfo/ncl-install</a></pre>
</blockquote>
<br>
</div>
_______________________________________________<br>
ncl-install mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a
href="https://mailman.ucar.edu/mailman/listinfo/ncl-install"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://mailman.ucar.edu/mailman/listinfo/ncl-install</a></blockquote>
</div>
</blockquote>
<br>
</body>
</html>