<div dir="ltr"><div class="gmail_default" style="font-size:small">Eshan,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Try using the "export" commands, and put them in your .bashrc file. If this doesn't work you can try the .bash_profile file.</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><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 4, 2014 at 9:29 PM, Ehsan Taghizadeh <span dir="ltr"><<a href="mailto:ehsantaghizadeh@yahoo.com" target="_blank">ehsantaghizadeh@yahoo.com</a>></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><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:12pt"><span class=""><div><span>After "ls -a" 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>".cshrc", "tcshrc",</span><span></span> ".bashrc", ".bash_profile"'. However I couldn't see ".profile".</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 "setenv" command, I faced "command not found".<br>However I tested following commands, separately:<br>
<div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Times New Roman","serif";color:#984806"><span> </span></span><span style="font-size:10.0pt;font-family:"Times New Roman","serif";color:#984806"><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;font-family:"Times New Roman","serif";color:#984806"><span> </span></span><span style="font-size:10.0pt;font-family:"Times New Roman","serif";color:#984806"><span> </span>export PATH=$NCARG_ROOT/bin:$PATH</span></div>then logging out and logging back in, also<br>
<div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Times New Roman","serif""><span> </span></span><span style="font-size:10.0pt;font-family:"Times New Roman","serif""><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;font-family:"Times New Roman","serif""><span> </span></span><span style="font-size:10.0pt;font-family:"Times New Roman","serif""><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;font-family:"Times New Roman","serif""><span> </span></span><span style="font-size:10.0pt;font-family:"Times New Roman","serif""><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;font-family:"Times New Roman","serif";background-color:transparent;font-style:normal"><span style="font-size:10.0pt;font-family:"Times New Roman","serif""><span> </span></span><span style="font-size:10.0pt;font-family:"Times New Roman","serif""><span> </span>export PATH</span></div>
again logging out and logging back in.<br>Yet after "ncargex cpex08 -clean" I faced "bash: ncargex: command not found"<br>and after "ng4ex gsun01n -clean" I faced "bash: ng4ex: command not found".<br><br>Sincerely<br>Ehsan Taghizadeh<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"><span><br clear="none"></span></div> <div><br><br></div></span><div><div class="h5"><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 <<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>> 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 "Set the NCARG_ROOT and PATH environment variables to point to where the software was installed" 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 ".*", because I don'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 ".profile".</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"><<a rel="nofollow" shape="rect" href="mailto:ehsantaghizadeh@yahoo.com" target="_blank">ehsantaghizadeh@yahoo.com</a>></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: "/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)"</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: "/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"</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 "<span style="border-collapse:separate;color:rgb(0,0,0);font-family:'Times New Roman';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>" 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 <<a rel="nofollow" shape="rect" href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>> 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'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 "apt-get" command was just an example. It looks like you should be using "yum" 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"><<a rel="nofollow" shape="rect" href="mailto:ehsantaghizadeh@yahoo.com" target="_blank">ehsantaghizadeh@yahoo.com</a>></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 ".hluresfile" file)<br clear="none">
<br clear="none">However I have problem with step 5 (Test your NCL/NCARG installation)<br clear="none">
About 'ncargex' and 'ng4ex' I faced "command not found"<br clear="none">About 'yum install tcsh' I faced :<br clear="none">"Package
tcsh-6.17-24.el6.x86_64 already installed and latest version<br clear="none">Nothing to do"<br clear="none"><br clear="none">About 'sudo apt-get install csh' I faced :<br clear="none">"sudo: apt-get: command not found"<br clear="none">
<br clear="none">I think I have bash.<br clear="none">
<br clear="none">In summary I couldn'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><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>