<div dir="ltr"><div class="gmail_default" style="font-size:small">Robyn,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">It looks like you have two installations of NCL on your system: an older version installed to /usr that was likely installed by "yum" or "apt-get", and one installed to /opt/ncl-6.4.0.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The older installation likely caused the environment variable NCARG_NCARG to be set to /usr/share/ncarg, which you no longer want.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">To fix this, make sure that NCARG_ROOT is the *only* NCARG_XXXX environment variable you are setting. You can verify this by typing from a terminal window:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><font face="monospace, monospace">env | grep NCARG</font></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If you see something like this:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><font face="monospace, monospace">NCARG_NCARG=/usr/share/ncarg</font></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">then edit whatever .xxxx file in your home directory is setting this, and remove the setting or comment it out. If there are any other ones other than NCARG_ROOT, then comment or remove these as well.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Then, log out and log back in to see if you can now run the "ng4ex xy01n -clean" command.</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><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 15, 2017 at 1:30 PM, Robyn B Landers <span dir="ltr"><<a href="mailto:rblanders@uwaterloo.ca" target="_blank">rblanders@uwaterloo.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I'm new here. I just installed NCARG 6.4.0 from prebuilt bundle for RHEL 7.<br>
I appear to be experiencing the same problem as reported by Sam McClatchie<br>
in October with the subject<br>
"possible directory error in ncl-6.4.0 test script?"<br>
In that thread, he reports that the suggested ng4ex test fails to run.<br>
In response, a suggestion for tracking down the cause was to run the ultimate<br>
net effect of that test, which is<br>
<br>
ncl $NCARG_ROOT/lib/ncarg/nclex/<wbr>xyplot/xy01n.ncl<br>
<br>
After that suggestion, I did not see any further traffic in the thread<br>
in the November and December archives.<br>
<br>
When I do that ncl command, it works and I get a graph.<br>
<br>
When I run it using ng4ex, as suggested as an installation check, it fails<br>
because it can't find resfiles. You can see the path problems below:<br>
<br>
[root@bow ncl-6.4.0]# echo $NCARG_ROOT<br>
/opt/ncl-6.4.0<br>
<br>
[root@bow ncl-6.4.0]# echo $PATH<br>
/usr/lib64/qt-3.3/bin:/usr/<wbr>local/sbin:/usr/local/bin:/<wbr>usr/sbin:/usr/bin:/usr/diags/<wbr>bin:/root/bin:/opt/ncl-6.4.0/<wbr>bin<br>
<br>
[root@bow ncl-6.4.0]# ncargpath root<br>
/opt/ncl-6.4.0<br>
<br>
[root@bow ncl-6.4.0]# ncargpath resfiles<br>
/usr/share/ncarg/resfiles<br>
<br>
<br>
Robyn Landers<br>
University of Waterloo<br>
<br>
______________________________<wbr>_________________<br>
ncl-install mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-install</a><br>
</blockquote></div><br></div>