<div dir="ltr"><div class="gmail_default" style="font-size:small">Ehsan,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You can try editing $NCARG_ROOT/bin/ncargf77 with a UNIX editor and removing the reference to &quot;-liconv&quot;.  It probably is not needed on your system.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">By the way, I don&#39;t know if I already mentioned this, but if you just plan to use NCL, then it is not required that the &quot;ncargex&quot; command works. This command is for testing codes written in Fortran or C.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Sep 6, 2014 at 1:55 AM, Ehsan Taghizadeh <span dir="ltr">&lt;<a href="mailto:ehsantaghizadeh@yahoo.com" target="_blank">ehsantaghizadeh@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:12pt"><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal">Mary, <br></div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal">Thanks a lot for your help. I put &quot;export&quot; commands in .bashrc file, and &quot;ng4ex&quot; command work correctly. However about &quot;ncargex&quot; command I have problem. Following are commands and their results. Could I fix &quot;ncargex&quot; command?<br><span></span></div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><span><br></span></div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><span>[root@localhost ~]# ncargex cpex08 -clean<br><br>NCAR Graphics Fortran  Example &lt;cpex08&gt;<br><br>  Copying cpex08.f<br><br>  Copying cpexcc.f<br><br>Compiling and linking...<br>gfortran -fPIC -fno-second-underscore -fno-range-check -fopenmp -O -o cpex08 cpexcc.f cpex08.f -L/usr/local/ncl-6.2.0/lib -L/usr/X11R6/lib64 -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lcairo -lfontconfig -lpixman-1
 -lfreetype -lexpat -lpng -lz -liconv -lXrender -lbz2<br>/usr/bin/ld: cannot find -liconv<br>collect2: ld returned 1 exit status<br><br>The compile and link failed.<br></span></div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><br><span></span></div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><span>[root@localhost ~]# ncargex <br>usage: ncargex [options] [example names]<br><br> Options:<br><br> To invoke various classes
 of examples:<br>   [-A] [-E] [-F] [-P] [-T] [-U] [-ngmath] [-class] [-ps] [-x11]<br><br> To invoke various utilities:<br>   [-areas] [-autograph] [-bivar] [-colconv] [-conpack]     <br>   [-conpackt] [-conran_family] [-conrec_family] [-csagrid] <br>   [-cssgrid] [-dashline] [-dashpack] [-dsgrid] [-ezmap]    <br>   [-field_flow] [-fitgrid] [-gflash] [-gks] [-gridall]     <br>   [-halftone] [-histogram] [-isosrfhr] [-isosurface]       <br>   [-labelbar] [-natgrid] [-ngmisc] [-plotchar]             <br>   [-polypack] [-pwrite_family]
 [-scrolled_title]           <br>   [-seter] [-shgrid] [-softfill] [-spps] [-streamlines]    <br>   [-surface] [-threed] [-vaspackt][-vectors] [-wmap]       <br>   [-misc]                                                  <br><br> Other options:<br>   [-W workstation_type] [-n] [-clean] [-onebyone] names<br><br>See &lt;man ncargex&gt; for explanation of options.<br><br>Sincerely</span></div><span class="HOEnZb"><font color="#888888"><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><span>Ehsan<br></span></div></font></span><div><div class="h5"> <div><br><br></div><div style="display:block"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:12pt"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:12pt"> <div dir="ltr"> <font face="Arial"> On Friday, September 5, 2014 11:09 PM, Mary Haley &lt;<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>&gt; wrote:<br> </font> </div>  <br><br> <div><div><div><div dir="ltr"><div style="font-size:small">Eshan,</div><div style="font-size:small"><br clear="none"></div><div style="font-size:small">Try using the &quot;export&quot; commands, and put them in your .bashrc file. If this doesn&#39;t work you can try the .bash_profile file.</div><div style="font-size:small"><br clear="none"></div><div style="font-size:small">--Mary</div><div style="font-size:small"><br clear="none"></div></div><div><br clear="none"><br clear="none"><div>On Thu, Sep 4, 2014 at 9:29 PM, Ehsan Taghizadeh <span dir="ltr">&lt;<a rel="nofollow" shape="rect" href="mailto:ehsantaghizadeh@yahoo.com" target="_blank">ehsantaghizadeh@yahoo.com</a>&gt;</span> wrote:<br clear="none"><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:12pt"><div><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:12pt"><span></span><div><span>After &quot;ls -a&quot; cammand, I see following files all together:</span></div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><span>&quot;.cshrc&quot;, &quot;tcshrc&quot;,</span><span></span>
 &quot;.bashrc&quot;, &quot;.bash_profile&quot;&#39;. However I couldn&#39;t see &quot;.profile&quot;.</div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal">For &quot;setenv&quot; command, I faced &quot;command not found&quot;.<br clear="none">However I tested following commands, separately:<br clear="none">

<div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal"><span style="font-size:10.0pt"><span>              </span></span><span style="font-size:10.0pt"><span>    </span>export NCARG_ROOT=/usr/local/ncl-6.2.0</span></div>

<div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal"><span style="font-size:10.0pt"><span>              </span></span><span style="font-size:10.0pt"><span>    </span>export PATH=$NCARG_ROOT/bin:$PATH</span></div>then logging out and logging back in, also<br clear="none">

<div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal"><span style="font-size:10.0pt"><span>              </span></span><span style="font-size:10.0pt"><span>    </span>NCARG_ROOT=/usr/local/ncl-6.2.0</span></div>

<div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal"><span style="font-size:10.0pt"><span>              </span></span><span style="font-size:10.0pt"><span>    </span>PATH=$NCARG_ROOT/bin:$PATH</span></div>

<div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal"><span style="font-size:10.0pt"><span>              </span></span><span style="font-size:10.0pt"><span>    </span>export NCARG_ROOT</span></div>

<div style="margin-bottom:0.0001pt;line-height:normal;color:rgb(0,0,0);font-size:13.3333px"><span style="font-size:10.0pt"><span>              </span></span><span style="font-size:10.0pt"><span>    </span>export PATH</span></div>

again logging out and logging back in.<br clear="none">Yet after &quot;ncargex cpex08 -clean&quot; I faced &quot;bash: ncargex: command not found&quot;<br clear="none">and after &quot;ng4ex gsun01n -clean&quot; I faced &quot;bash: ng4ex: command not found&quot;.<br clear="none"><br clear="none">Sincerely<br clear="none">Ehsan Taghizadeh<br clear="none"></div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><span><br clear="none"></span></div> <div><br clear="none"><br clear="none"></div><div><div><div><div style="display:block"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:12pt"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:12pt"> <div dir="ltr"> <font face="Arial"> On Thursday, September 4, 2014 11:34 PM, Mary Haley &lt;<a rel="nofollow" shape="rect" href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>&gt; wrote:<br clear="none"> </font> </div>  <br clear="none"><br clear="none"> <div><div><div><div dir="ltr"><div style="font-size:small">Please respond back to <a rel="nofollow" shape="rect" href="mailto:ncl-install@ucar.edu" target="_blank">ncl-install@ucar.edu</a> on all follow-up email, because I may not
 always be available for personal email questions.</div>
<div style="font-size:small"><br clear="none"></div><div style="font-size:small">It looks to me like the &quot;Set the NCARG_ROOT and PATH environment variables to point to where the software was installed&quot; instructions were not followed properly.</div>
<div style="font-size:small"><br clear="none"></div><div><a rel="nofollow" shape="rect" href="http://www.ncl.ucar.edu/Download/install.shtml#SetNCARG_ROOT" target="_blank">http://www.ncl.ucar.edu/Download/install.shtml#SetNCARG_ROOT</a><br clear="none">
</div><div><br clear="none"></div><div>Please read the instructions again, which explain the different shells (bourne shell, C shell), and which possible files you might need to edit. That is what I meant by &quot;.*&quot;, because I don&#39;t know what the file is called on your system.</div>
<div><br clear="none"></div><div>If you are dealing with bash, then the file is probably &quot;.profile&quot;.</div><div><br clear="none"></div><div>
--Mary</div></div><div><div><br clear="none"><br clear="none"><div>On Thu, Sep 4, 2014 at 12:14 PM, Ehsan Taghizadeh <span dir="ltr">&lt;<a rel="nofollow" shape="rect" href="mailto:ehsantaghizadeh@yahoo.com" target="_blank">ehsantaghizadeh@yahoo.com</a>&gt;</span> wrote:<br clear="none">
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:12pt">
<div><div><span>Mary,</span></div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><span>Thanks for your reply.</span></div>
<div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><span>1. I </span>logging out and logging back in (also restart linux).</div>
<div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal">2.
 I use Cent OS and via virtual machine (if it is important)</div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal">
3. I used your commands. Following are their results:</div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal">
   env | grep NCARG</div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal">result: nothing was displayed.</div>
<div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal">   which ncl</div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal">
result: &quot;/usr/bin/which: no ncl in (/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/opt/pgi/linux86-64/11.7/bin:/usr/local/bin:/usr/local/include:/usr/local/lib:/usr/local/include/jasper:/root/bin:/opt/pgi/linux86-64/11.7/bin:/usr/local/bin:/usr/local/include:/usr/local/lib:/usr/local/include/jasper)&quot;</div>
<div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><br clear="none"></div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal">
    echo $PATH</div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal">result: &quot;/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/opt/pgi/linux86-64/11.7/bin:/usr/local/bin:/usr/local/include:/usr/local/lib:/usr/local/include/jasper:/root/bin:/opt/pgi/linux86-64/11.7/bin:/usr/local/bin:/usr/local/include:/usr/local/lib:/usr/local/include/jasper&quot;</div>
<div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><br clear="none"></div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal">
4. You told about .* file. Could you tell me which .* file? (NCARG_ROOT or PATH or other)</div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal">
<br clear="none"></div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal">5. In site at &quot;<span style="border-collapse:separate;color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:16px"><span style="color:rgb(51,51,51);font-family:verdana,sans-serif;font-size:13px;line-height:16px;text-align:left"><b style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">Test your NCL/NCARG installation</b></span></span>&quot; section was written csh must be installed for those commands! What about bash? (However I think I have csh,
 tcsh, and bash. I just want to know)</div>
<div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><br clear="none"></div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal">
6. Doea only two export commands are
 install commands?<br clear="none"></div><div style="color:rgb(51,51,51);font-size:13px;font-family:verdana,sans-serif;background-color:transparent;font-style:normal"><br clear="none"></div><div style="color:rgb(51,51,51);font-size:13px;font-family:verdana,sans-serif;background-color:transparent;font-style:normal">
Sincerely</div><div style="color:rgb(51,51,51);font-size:13px;font-family:verdana,sans-serif;background-color:transparent;font-style:normal">Ehsan</div><div><br clear="none"><br clear="none"></div></div><div style="display:block"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:12pt">
 <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:12pt"><div> <div dir="ltr"> <font face="Arial"> On Thursday, September 4, 2014
 8:54 PM, Mary Haley &lt;<a rel="nofollow" shape="rect" href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>&gt; wrote:<br clear="none"> </font> </div>  <br clear="none"><br clear="none"> </div><div><div><div><div><div><div dir="ltr"><div style="font-size:small">Ehsan,</div>
<div style="font-size:small"><br clear="none"></div><div style="font-size:small">Did you try logging out and logging back in?  You need to do this after you edit any .* files to add the NCARG_ROOT and make the change to PATH.</div>

<div style="font-size:small"><br clear="none"></div><div style="font-size:small">If you did logout and login again, and it&#39;s still not working, then I need more information. If you can type the following on the UNIX command, it will help:<br clear="none">

<br clear="none"></div><div style="font-size:small">env | grep NCARG</div><div style="font-size:small">which ncl</div><div style="font-size:small">echo $PATH</div><div style="font-size:small">
<br clear="none"></div><div style="font-size:small">The &quot;apt-get&quot; command was just an example. It looks like you should be using &quot;yum&quot; instead.</div><div style="font-size:small">
<br clear="none"></div><div style="font-size:small">--Mary</div><div style="font-size:small"><br clear="none"></div><div style="font-size:small"><br clear="none"></div></div><div>
<br clear="none"><br clear="none"><div>On Thu, Sep 4, 2014 at 6:44 AM, Ehsan Taghizadeh <span dir="ltr">&lt;<a rel="nofollow" shape="rect" href="mailto:ehsantaghizadeh@yahoo.com" target="_blank">ehsantaghizadeh@yahoo.com</a>&gt;</span> wrote:<br clear="none">
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:12pt"><div>Hi,<br clear="none">I saw below link to install ncl:<br clear="none">
<a rel="nofollow" shape="rect" href="http://www.ncl.ucar.edu/Download/install.shtml" target="_blank">http://www.ncl.ucar.edu/Download/install.shtml</a><br clear="none">
<br clear="none">I did step 1 (Extract the file) and 2 (Set the NCARG_ROOT and PATH environment variables)<br clear="none">I ignored step 3 (Set the DISPLAY environment variable)<br clear="none">I did step 4 (Put a &quot;.hluresfile&quot; file)<br clear="none">
<br clear="none">However I have problem with step 5 (Test your NCL/NCARG installation)<br clear="none">
About &#39;ncargex&#39; and &#39;ng4ex&#39; I faced &quot;command not found&quot;<br clear="none">About &#39;yum install tcsh&#39; I faced :<br clear="none">&quot;Package
 tcsh-6.17-24.el6.x86_64 already installed and latest version<br clear="none">Nothing to do&quot;<br clear="none"><br clear="none">About &#39;sudo apt-get install csh&#39; I faced :<br clear="none">&quot;sudo: apt-get: command not found&quot;<br clear="none">
<br clear="none">I think I have bash.<br clear="none">
<br clear="none">In summary I couldn&#39;t found that ncl has been installed (properly) or not.<br clear="none"><br clear="none">Sincerely<span><font color="#888888"><br clear="none">Ehsan Taghizadeh</font></span></div><div>
<br clear="none"></div></div></div></div><br clear="none">_______________________________________________<br clear="none">

ncl-install mailing list<br clear="none">
List instructions, subscriber options, unsubscribe:<br clear="none">
<a rel="nofollow" shape="rect" href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br clear="none">
<br clear="none"></blockquote></div><br clear="none"></div></div></div><br clear="none"><br clear="none"></div>  </div></div></div> </div>  </div> </div></div></blockquote></div><br clear="none"></div></div></div></div><br clear="none"><br clear="none"></div>  </div> </div>  </div></div> </div></div></div></div></div></div></div></div><br clear="none">_______________________________________________<br clear="none">
ncl-install mailing list<br clear="none">
List instructions, subscriber options, unsubscribe:<br clear="none">
<a rel="nofollow" shape="rect" href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br clear="none">
<br clear="none"></blockquote></div><br clear="none"></div></div></div><br><br></div>  </div> </div>  </div> </div></div></div></div><br>_______________________________________________<br>
ncl-install mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br>
<br></blockquote></div><br></div>