<div dir="ltr">Hi Karin,<div><br></div><div>Thanks for this detailed explanation. Now I am able to set the environment and path to the right directory.</div><div><br></div><div>When I test the ncl with ncl , it shows that </div><div>'<span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);font-family:Menlo;font-size:11px">dyld: Library not loaded: /usr/local/lib/libgfortran.4.dylib</span></div>






<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"><span class="gmail-Apple-converted-space">  </span>Referenced from: /Users/home/local/ncl-6.6.2/bin/ncl</span></p>
<div><span class="gmail-Apple-converted-space" style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);font-family:Menlo;font-size:11px">  </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);font-family:Menlo;font-size:11px">Reason: image not found</span>'</div><div><br></div><div>However, I checked my gcc version and gfortran version are up to date</div><div>





<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">gcc (GCC) 10.2.0</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">





</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">GNU Fortran (GCC) 10.2.0</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">Best regards</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></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Karin Meier-Fleischer <<a href="mailto:meier-fleischer@dkrz.de">meier-fleischer@dkrz.de</a>> 于2021年9月29日周三 上午2:43写道:<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>
    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 href="https://www.ncl.ucar.edu/Download/install_from_binary.shtml" target="_blank">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>Am 28.09.21 um 19:43 schrieb Xin Wen:<br>
    </div>
    <blockquote type="cite">
      
      <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 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 style="font-variant-ligatures:no-common-ligatures">NCARG_ROOT=/Users/home/local/ncl-6.6.2</span></p>
        <p 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 style="font-variant-ligatures:no-common-ligatures"><br>
          </span></p>
        <p 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 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 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 style="font-variant-ligatures:no-common-ligatures"><br>
          </span></p>
        <p 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 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" target="_blank">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">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">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">https://mailman.ucar.edu/mailman/listinfo/ncl-install</a></blockquote>
              </div>
            </blockquote>
            <br>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </div>

</blockquote></div>