<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Dear&nbsp; COULIBALY&nbsp;&nbsp; AMADOU,<br>
    <br>
    You may want to test and see if your variables are actually being
    set correctly.<br>
    <br>
    About setting environment variables:<br>
    1. They can be OS dependent and/or shell dependent - which OS and
    shell script language are you using?<br>
    <br>
    2. After you issue the "setenv" commands (whichever one you are
    using),<br>
    you can check to see if they were accepted correctly:<br>
    <br>
    You can issue a command like:<br>
    <b>env&nbsp;&nbsp;&nbsp;</b>&nbsp;&nbsp;&nbsp;&nbsp; (which should give you the list of currently set
    environment variables)<br>
    You can also issue a command like:<br>
    <b>cd&nbsp;&nbsp; $NCARG_ROOT</b>&nbsp;&nbsp;&nbsp;&nbsp; ( the $ forces the shell to use the
    value of the variable)<br>
    <br>
    3. Previously set variables may be interfering with <b>your</b>
    variable - depending upon what other variables<br>
    were set and the <b>ORDER</b> in which they are invoked. You may
    want to look at $PATH and see what else is set.<br>
    Also, you cannot have an infinitely long PATH - if it is too long,
    the variables at the end of the PATH may be ignored.<br>
    <br>
    4. Directory and file permissions may be causing a problem.<br>
    You may want to check the permissions and ownership of the :<br>
    executeable files<br>
    <b>NCARG_ROOT</b> directories <br>
    upper level directories<br>
    <br>
    <br>
    Mary Jane Saddington<br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 11/7/2014 9:59 AM, Amadou Coulibaly
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAFAUDHsw_KEt7YJ39QoAyj5FqMGq9iV7E-nN8-GFjj+rgyTj_w@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <div dir="ltr">
        <div class="gmail_default" style="font-family:courier
          new,monospace;font-size:small">Hi KEVIN,<br>
          <br>
        </div>
        <div class="gmail_default" style="font-family:courier
          new,monospace;font-size:small">When I used the command "cd
          /usr/bin and ls -l ncl" I got this:<br>
          -rwxr-xr-x 1 root root 5063552 Sep&nbsp; 8 11:25 <span
            style="color:rgb(255,153,0)">ncl</span><br>
          <br>
        </div>
        <div class="gmail_default" style="font-family:courier
          new,monospace;font-size:small">Should I bring both ncl and
          NCARG_ROOT to /usr/local/ncl_ncarg?<br>
          <br>
          Best<br>
        </div>
        <div class="gmail_default" style="font-family:courier
          new,monospace;font-size:small"><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On 7 November 2014 14:23, HAVENER,
          KEVIN F GS-12 USAF AFWA 14 WS/WXED <span dir="ltr">&lt;<a
              moz-do-not-send="true"
              href="mailto:kevin.havener@us.af.mil" target="_blank">kevin.havener@us.af.mil</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Perhaps
            your ncl is symlinked from somewhere else to /usr/bin.<br>
            <br>
            Cd to /usr/bin and "ls -l ncl".&nbsp; You may see something (fore
            example) like ncl -&gt; /usr/local/ncl_ncarg-6.2.0/bin/ncl<br>
            <br>
            In which case try setting your NCARG_ROOT to
            /usr/local/ncl_ncarg or whatever directory ncl is symlinked
            to.<br>
            <span class="HOEnZb"><font color="#888888"><br>
                Kevin Havener<br>
              </font></span>
            <div class="HOEnZb">
              <div class="h5"><br>
                -----Original Message-----<br>
                From: <a moz-do-not-send="true"
                  href="mailto:ncl-talk-bounces@ucar.edu">ncl-talk-bounces@ucar.edu</a>
                [mailto:<a moz-do-not-send="true"
                  href="mailto:ncl-talk-bounces@ucar.edu">ncl-talk-bounces@ucar.edu</a>]
                On Behalf Of Amadou Coulibaly<br>
                Sent: Friday, November 07, 2014 9:06 AM<br>
                To: <a moz-do-not-send="true"
                  href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
                Subject: [ncl-talk] Ubuntu14.10 "setenv" package
                installation issue<br>
                <br>
                <br>
                <br>
                Dear NCL users,<br>
                <br>
                <br>
                I still have the same problem when I tried to run ncl
                script, I got this error message:<br>
                <br>
                fatal:Could not open
                ($NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl)<br>
                fatal:error at line 1 in file test1.ncl fatal:syntax
                error: line -1 before or near<br>
                <br>
                <br>
                According to one of David's suggestions, I used the
                following command: "which ncl" and I got this:
                /usr/bin/ncl<br>
                <br>
                <br>
                But when I tried to use the command "export
                NCARG_ROOT=/usr" or "NCARG_ROOT=/usr ; export
                NCARG_ROOT"<br>
                <br>
                <br>
                And after that I tried to run my ncl script, I still
                have the same error messages above in red colour.<br>
                <br>
                <br>
                How to solve this problem?--<br>
                <br>
                <br>
                Best regards<br>
                <br>
                &nbsp;COULIBALY&nbsp; &nbsp;AMADOU<br>
                PhD&nbsp; Student&nbsp; on&nbsp; West&nbsp; African&nbsp; Climate&nbsp; System (WACS)<br>
                FUTA - Federal&nbsp; University&nbsp; of&nbsp; Technology of Akure,
                Nigeria<br>
                <br>
                <br>
                Visiting Student - University of Cologne, Germany<br>
                Institute of Geophysics and Meteorology<br>
                <br>
                Pohligstr. 3 / Office 3.102<br>
                D-50969 K&ouml;ln<br>
                <br>
                <br>
                Project: WASCAL (West African Science Service Centre on
                Climate Change and Adapted Land Use)<br>
                Phone:(+234) 810 795 2836 /(+223) 65 67 27 57 /(+226) 64
                57 37 27 /+49 15218352574<br>
                <br>
                <br>
                E-mail: <a moz-do-not-send="true"
                  href="mailto:mpapin24@gmail.com">mpapin24@gmail.com</a>
                / <a moz-do-not-send="true"
                  href="mailto:coulibalya68@yahoo.com">coulibalya68@yahoo.com</a><br>
                <br>
                "The time is always right to do right": Nelson Mandela<br>
                <br>
                "Character is like a tree and reputation like a shadow.&nbsp;
                The shadow is what we think of it; the tree is the real
                thing" : Abraham Lincoln<br>
                <br>
                "Do what you can, with what you have, where you are"
                Theodore Roosevelt<br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <br>
        -- <br>
        <div class="gmail_signature">
          <div dir="ltr"><b
              style="font-size:small;font-family:tahoma,sans-serif"><font
                color="#000066">&nbsp;</font><font color="#000066">COULIBALY
                &nbsp;&nbsp;</font><font color="#000066">AMADOU &nbsp;&nbsp;</font></b><br>
            <span
              style="color:rgb(0,0,102);font-family:tahoma,sans-serif;font-size:small">PhD&nbsp;
              Student &nbsp;on&nbsp; West&nbsp; African&nbsp; Climate&nbsp; System (WACS)</span><br>
            <font style="font-size:small;font-family:tahoma,sans-serif"
              color="#0000ff">FUTA</font><font
              style="font-size:small;font-family:tahoma,sans-serif"
              color="#000066"> -&nbsp;</font><font
              style="font-size:small;font-family:tahoma,sans-serif"
              color="#0000ff">F</font><font
              style="font-size:small;font-family:tahoma,sans-serif"
              color="#000066">ederal&nbsp; </font><font
              style="font-size:small;font-family:tahoma,sans-serif"
              color="#0000ff">U</font><font
              style="font-size:small;font-family:tahoma,sans-serif"
              color="#000066">niversity&nbsp; of&nbsp; </font><font
              style="font-size:small;font-family:tahoma,sans-serif"
              color="#0000ff">T</font><font
              style="font-size:small;font-family:tahoma,sans-serif"
              color="#000066">echnology of&nbsp;</font><font
              style="font-size:small;font-family:tahoma,sans-serif"
              color="#0000ff">A</font><font
              style="font-size:small;font-family:tahoma,sans-serif"
              color="#000066">kure, Nigeria</font>
            <div><font face="tahoma, sans-serif" color="#000066"><br>
              </font>
              <div><span style="color:rgb(76,17,48)"><span
                    style="font-family:arial,helvetica,sans-serif"><i
                      style="font-weight:bold">Visiting Student - </i></span><i
                    style="font-weight:bold"><span
                      style="font-family:arial,helvetica,sans-serif"><i><font
                          size="1"><span style="font-size:13px">University
                            of Cologne, Germany</span></font></i></span><br>
                  </i><i><span
                      style="font-family:arial,helvetica,sans-serif">Institute
                      of Geophysics and Meteorology</span></i><span
                    style="font-family:arial,helvetica,sans-serif"><br>
                  </span></span>
                <div
style="letter-spacing:normal;text-transform:none;white-space:normal;word-spacing:0px"><span
                    style="color:rgb(76,17,48)"><span
                      style="font-family:arial,helvetica,sans-serif"><font
                        size="1">Pohligstr. 3 / Office 3.102</font></span></span></div>
                <div
style="letter-spacing:normal;text-transform:none;white-space:normal;word-spacing:0px"><span
                    style="color:rgb(76,17,48)"><span
                      style="font-family:arial,helvetica,sans-serif"><font
                        size="1">D-50969 K&ouml;ln</font></span></span></div>
              </div>
            </div>
            <div style="color:rgb(80,0,80)"><i
                style="color:rgb(34,34,34);font-family:'bookman old
                style','new york',times,serif"><font size="1"><span
                    style="color:rgb(0,0,127)"><span
                      style="font-size:13px"><br>
                    </span></span></font></i></div>
            <span
              style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)"><u>Project</u>:
            </span><font
              style="font-size:small;font-family:tahoma,sans-serif"
              color="#0000ff">WASCAL</font><span
              style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)">
              (</span><font
              style="font-size:small;font-family:tahoma,sans-serif"
              color="#0000ff">W</font><span
              style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)">est
            </span><font
              style="font-size:small;font-family:tahoma,sans-serif"
              color="#0000ff">A</font><span
              style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)">frican
            </span><font
              style="font-size:small;font-family:tahoma,sans-serif"
              color="#0000ff">S</font><span
              style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)">cience
            </span><font
              style="font-size:small;font-family:tahoma,sans-serif"
              color="#0000ff">S</font><span
              style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)">ervice
            </span><font
              style="font-size:small;font-family:tahoma,sans-serif"
              color="#0000ff">C</font><span
              style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)">entre
              on </span><font
              style="font-size:small;font-family:tahoma,sans-serif"
              color="#0000ff">C</font><span
              style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)">limate
            </span><font
              style="font-size:small;font-family:tahoma,sans-serif"
              color="#0000ff">C</font><span
              style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)">hange
              and </span><font
              style="font-size:small;font-family:tahoma,sans-serif"
              color="#0000ff">A</font><span
              style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)">dapted
            </span><font
              style="font-size:small;font-family:tahoma,sans-serif"
              color="#0000ff">L</font><span
              style="font-size:small;font-family:tahoma,sans-serif;color:rgb(0,0,102)">and
              Use)&nbsp;</span><br>
            <font
              style="font-family:tahoma,sans-serif;font-size:small;color:rgb(0,0,102)"
              color="#000066">Phone:(+234) 810 795 2836&nbsp;</font><font
              style="font-family:tahoma,sans-serif;font-size:small"
              color="#ff0000">/</font><font
              style="font-family:tahoma,sans-serif;font-size:small;color:rgb(0,0,102)"
              color="#000066">(+223) 65 67 27 57&nbsp;</font><font
              style="font-family:tahoma,sans-serif;font-size:small"
              color="#ff0000">/</font><font
              style="font-family:tahoma,sans-serif;font-size:small;color:rgb(0,0,102)"
              color="#000066">(+226) 64 57 37 27 </font><font
              style="font-size:small;font-family:tahoma,sans-serif"
              color="#000066"><span style="color:rgb(34,34,34)"></span><font
                color="#ff0000">/</font></font><font
              style="font-family:tahoma,sans-serif;font-size:small;color:rgb(0,0,102)"
              color="#000066">+49 15218352574<br>
            </font>
            <div>
              <div style="text-align:left"><font
                  style="font-size:small;font-family:tahoma,sans-serif"
                  color="#000066"><font color="#000066">E-mail:&nbsp;</font><a
                    moz-do-not-send="true"
                    href="mailto:mpapin24@gmail.com"
                    style="color:rgb(0,0,255)" target="_blank">mpapin24@gmail.com</a><span
                    style="color:rgb(34,34,34)">&nbsp;</span><font
                    color="#ff0000">/&nbsp;</font><span
                    style="color:rgb(0,0,255)"><a moz-do-not-send="true"
                      href="mailto:coulibalya68@yahoo.com"
                      target="_blank">coulibalya68@yahoo.com</a>&nbsp;</span></font></div>
            </div>
            <div><font face="verdana,sans-serif">
                <p><font color="#ff9900">"<i>The time is always right to
                      do right": <b>Nelson Mandela</b></i></font></p>
                <p><i><font color="#ff9900">"Character is like a tree
                      and reputation like a shadow.&nbsp; The shadow is what
                      we think of it; the tree is the real thing" : <b>Abraham
                        Lincoln</b></font></i></p>
                <p><i><font color="#ff9900">"Do what you can, with what
                      you have, where you are" <b>Theodore Roosevelt</b></font></i></p>
              </font>
              <p><b><font color="#000066"><i>&nbsp;</i></font></b></p>
              <p><b><font size="4" color="#000066">&nbsp;</font></b></p>
              <div>&nbsp;</div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
<a class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>