<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Please, reply to the mailing list to keep others up to date.<br>
<br>
I hope you mean the .hluresfile file ;)<br>
<br>
You have to add the bin directory to the PATH environment variable -
read <a class="moz-txt-link-freetext" href="https://www.ncl.ucar.edu/Download/install_from_binary.shtml">https://www.ncl.ucar.edu/Download/install_from_binary.shtml</a><br>
You can find all information what is need in the documentation.<br>
<br>
"...<br>
Given your UNIX shell and using "/usr/local/ncl-6.6.2" as an example
path, here's which "dot" file to edit and what lines to add (use a
UNIX editor to make the changes):<br>
<p>
<b>csh/tcsh</b> (the file might be ".cshrc" or ".tcshrc"):
</p>
<p>
</p>
<pre> setenv NCARG_ROOT /usr/local/ncl-6.6.2
setenv PATH $NCARG_ROOT/bin:$PATH
..."
</pre>
-Karin<br>
<br>
<div class="moz-cite-prefix">Am 28.09.21 um 19:43 schrieb Xin Wen:<br>
</div>
<blockquote type="cite"
cite="mid:CAHHvpsm7OfqmwGJG0SWRg=SZ7_Cs+e8Z5Bhigcx8hAaqiHsA5Q@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">This command works!!! now the '<span
style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);font-family:Menlo;font-size:11px">env
| grep NCARG</span>' shows that
<p class="gmail-p1"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
class="gmail-s1"
style="font-variant-ligatures:no-common-ligatures">NCARG_ROOT=/Users/home/local/ncl-6.6.2</span></p>
<p class="gmail-p1"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
class="gmail-s1"
style="font-variant-ligatures:no-common-ligatures"><br>
</span></p>
<p class="gmail-p1"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
class="gmail-s1"
style="font-variant-ligatures:no-common-ligatures">However,
the ncl still does not work. I already add '.bluresfile' in
my home directory.</span></p>
<p class="gmail-p1"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
class="gmail-s1"
style="font-variant-ligatures:no-common-ligatures"><br>
</span></p>
<p class="gmail-p1"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
class="gmail-s1"
style="font-variant-ligatures:no-common-ligatures">Xin</span></p>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Karin Meier-Fleischer <<a
href="mailto:meier-fleischer@dkrz.de" moz-do-not-send="true">meier-fleischer@dkrz.de</a>>
于2021年9月28日周二 下午12:31写道:<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> 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>Am 28.09.21 um 19:17 schrieb Xin Wen:<br>
</div>
<blockquote type="cite">
<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"
target="_blank" 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>
</div>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>