<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    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 class="moz-cite-prefix">Am 27.09.21 um 23:38 schrieb Xin Wen
      via ncl-install:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAHHvpsk2dY+4KYrwdfHO1JENuQcBd1YPv+ayjh=-+hPyD=Yq_g@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <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)">
</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 class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
<a class="moz-txt-link-freetext" href="https://mailman.ucar.edu/mailman/listinfo/ncl-install">https://mailman.ucar.edu/mailman/listinfo/ncl-install</a></pre>
    </blockquote>
    <br>
  </body>
</html>