<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Sam,<div class=""><br class=""></div><div class="">Your configuration appears to be correct. Please note that setting NCARG_RANGS is only necessary if the <font face="Menlo" class="">lib/ncarg/database/rangs</font> directory is in a non-standard location relative to NCARG_ROOT; in your case, it seems that setting NCARG_RANGS should not be necessary, although having it set should not cause any problems.</div><div class=""><br class=""></div><div class="">The ng4ex script is not essential to running NCL and is frequently used to test a variety of NCL scripts to determine if a new NCL binary built from source has all of its features enabled. Could you please run “ncl $NCARG_ROOT/lib/ncarg/nclex/xyplot/xy01n.ncl” to try running this example directly? That should tell us if the issue is in the ng4ex script or in NCL itself.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Kevin</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Oct 29, 2017, at 1:46 PM, Sam McClatchie <<a href="mailto:smcclatchie@fishocean.info" class="">smcclatchie@fishocean.info</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" class="">
<div text="#000000" bgcolor="#FFFFFF" class=""><p class="">Hello Mary</p><p class="">I moved the zipped NCL binary to a new directory called
/usr/share/ncl-6.4.0 <br class="">
</p><p class="">and unzipped the archive using: <br class="">
</p><p class="">tar -zxvf ncl_ncarg-6.4.0-Debian8.6_64bit_gnu492.tar.gz.</p><p class="">Three subdirectories were created under /usr/share/ncl-6.4.0
called ./bin, ./share, and ./lib.</p><p class="">I modified the ~/.bashrc by adding:</p><p class=""># settings for NCL smcc 28 Oct/2017<br class="">
export NCARG_ROOT=/usr/share/ncl-6.4.0<br class="">
export PATH=$NCARG_ROOT/bin:$PATH<br class="">
export LD_LIBRARY_PATH=/lib/x86_64-linux-gnu/libssl.so.1.0.0<br class="">
export NCARG_RANGS=/usr/share/ncl-6.4.0/lib/ncarg/database/rangs</p><p class="">This is a new computer that has no previous NCL install.</p><p class="">Here are the results of the commands that you asked me to run:</p><p class="">smcc@jaguar:~$ which ncl<br class="">
/usr/share/ncl-6.4.0/bin/ncl<br class="">
smcc@jaguar:~$ env | grep NCARG<br class="">
NCARG_ROOT=/usr/share/ncl-6.4.0<br class="">
NCARG_RANGS=/usr/share/ncl-6.4.0/lib/ncarg/database/rangs<br class="">
smcc@jaguar:~$ ncargpath lib<br class="">
/usr/share/ncl-6.4.0/lib<br class="">
smcc@jaguar:~$ ncargpath ncarg<br class="">
/usr/share/ncl-6.4.0/lib/ncarg<br class="">
</p><p class="">These all look ok, don't they?</p><p class="">Best fishes</p><p class="">Sam<br class="">
</p><p class=""><br class="">
</p>
<br class="">
<div class="moz-cite-prefix">On 10/29/2017 08:05 AM, Mary Haley
wrote:<br class="">
</div>
<blockquote type="cite" cite="mid:CACNN_C+tgKYyZRE-76=zvJSj_YfZ8sCGNSSzdBGe4MB_q7ZOKg@mail.gmail.com" class="">
<div dir="ltr" class="">
<div class="gmail_default" style="font-size:small">Hi Sam,</div>
<div class="gmail_default" style="font-size:small"><br class="">
</div>
<div class="gmail_default" style="font-size:small">There's
definitely something off here.</div>
<div class="gmail_default" style="font-size:small"><br class="">
</div>
<div class="gmail_default" style="font-size:small">From your
description, it sounds like you downloaded the gzipped tarfile
from the ESG and then probably extracted it somewhere.</div>
<div class="gmail_default" style="font-size:small"><br class="">
</div>
<div class="gmail_default" style="font-size:small">Can you tell
me how and where you extracted the files from the gzipped
tarfile? Also, what does the following report (from the UNIX
command line):</div>
<div class="gmail_default" style="font-size:small"><br class="">
</div>
<div class="gmail_default" style="font-size:small">which ncl</div>
<div class="gmail_default" style="font-size:small">env | grep
NCARG</div>
<div class="gmail_default" style="font-size:small">ncargpath lib</div>
<div class="gmail_default" style="font-size:small">ncargpath
ncarg</div>
<div class="gmail_default" style="font-size:small"><br class="">
</div>
<div class="gmail_default" style="font-size:small">In general,
when you install NCL, you should only need to set the
NCARG_ROOT environment variable. The above commands will tell
me if any other NCARG_XXXX environment variables are being
set. If you have any old environment variables left over from
a previous installation, then you may need to change them, or
not set them at all.</div>
<div class="gmail_default" style="font-size:small"><br class="">
</div>
<div class="gmail_default" style="font-size:small">--Mary</div>
<div class="gmail_default" style="font-size:small"><br class="">
</div>
<div class="gmail_default" style="font-size:small"><span style="font-size:12.8px" class=""><br class="">
</span></div>
<div class="gmail_default" style="font-size:small"><span style="font-size:12.8px" class=""><br class="">
</span></div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Sat, Oct 28, 2017 at 2:53 PM, Sam
McClatchie <span dir="ltr" class=""><<a href="mailto:smcclatchie@fishocean.info" target="_blank" moz-do-not-send="true" class="">smcclatchie@fishocean.info</a>></span>
wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF" class=""><p class="">Hi</p><p class="">I've just installed NCL-6.4.0 on ubuntu 17.10 using the
opendap enabled archive ncl_ncarg-6.4.0-Debian8.6_<wbr class="">64bit_gnu492.tar.gz.</p><p class="">Everything seems to be working fine, e.g.</p>
ng4ex NUG_xy_plot NUG_panel_plot<br class=""><p class="">runs and produces the plots, and the opendap test
script returns the expected output. However, I detect
what may be a small error in one of the tests on this
page <a class="m_-3277629988020654520moz-txt-link-rfc2396E" href="http://www.ncl.ucar.edu/Download/install.shtml" target="_blank" moz-do-not-send="true"><http://www.ncl.ucar.edu/<wbr class="">Download/install.shtml></a>:</p><p style="margin:10px 0px
20px;padding:0px;color:rgb(51,51,51);font-family:verdana,sans-serif;font-weight:400;font-size:13.3333px;line-height:12pt;font-variant-ligatures:normal;font-variant-caps:normal;font-style:normal;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial" class="">You
can quickly test if NCL is installed properly by typing:</p>
<pre style="margin: 0px; padding: 0px; font-size: 13.3333px; line-height: 12pt; font-family: courier; border-style: solid; border-width: 0px 0px 15px; border-color: transparent; text-indent: 0px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: left; text-transform: none; word-spacing: 0px; background-color: rgb(255, 255, 255);" class=""> ng4ex xy01n -clean</pre>
smcc@jaguar:~$ ng4ex xy01n -clean<br class="">
<br class="">
NCAR Graphics NCL Example <xy01n><br class="">
<br class="">
Segmentation fault<br class="">
Copying xy01n.ncl<br class="">
cp: cannot stat '/usr/share/ncl-6.4.0/lib/<wbr class="">ncarg/nclex//xy01n.ncl':
No such file or directory<br class="">
<br class="">
Running NCL...<br class="">
xy01n.ncl: No such file or directory.<br class="">
<br class="">
ncl failed.<br class="">
<br class="">
I notice there is a // in the file location. When I look
for the example file:<br class="">
<br class="">
smcc@jaguar:~$ locate xy01n.ncl<br class="">
/usr/share/ncl-6.4.0/lib/<wbr class="">ncarg/nclex/xyplot/xy01n.ncl<br class="">
<br class="">
Is there a missing subdirectory in the call to the example
file?<br class="">
<br class="">
Best fishes<br class="">
Sam<br class="">
<br class="">
<br class="">
<div class="m_-3277629988020654520moz-signature">-- <br class="">
Sam McClatchie (Fisheries oceanographer, SWFSC, NOAA)<br class="">
& Elena Turin (Internal controls accountant, UCSD)<br class="">
work: SWFSC, 8901 La Jolla Shores Drive, La Jolla, CA
92037-1509, USA<br class="">
home: 12723 Salmon River Rd, San Diego, CA 92129, USA<br class="">
cell: <a href="tel:%28858%29%20752-8495" value="+18587528495" target="_blank" moz-do-not-send="true" class="">858 752 8495</a><br class="">
<span style="text-decoration:underline" class=""><a href="http://www.fishocean.info/" target="_blank" moz-do-not-send="true" class="">Research home page</a></span><br class="">
<span id="cid:part5.221A01E4.44C80CBE@fishocean.info"><meditation_small.jpg></span><br class="">
<br class="">
"The time has come", the tui said,<br class="">
"to talk of many things:<br class="">
Of songs - and ferns - and flowering flax,<br class="">
of Pukekos and dreams ..."<br class="">
<br class="">
(not Lewis Carroll) </div>
</div>
<br class="">
______________________________<wbr class="">_________________<br class="">
ncl-install mailing list<br class="">
List instructions, subscriber options, unsubscribe:<br class="">
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" rel="noreferrer" target="_blank" moz-do-not-send="true" class="">http://mailman.ucar.edu/<wbr class="">mailman/listinfo/ncl-install</a><br class="">
<br class="">
</blockquote>
</div>
<br class="">
</div>
</blockquote>
<br class="">
<div class="moz-signature">-- <br class="">
<meta content="text/html; charset=utf-8" http-equiv="content-type" class="">
<title class="">email signature</title>
Sam McClatchie (Fisheries oceanographer, SWFSC, NOAA)<br class="">
& Elena Turin (Internal controls accountant, UCSD)<br class="">
work: SWFSC, 8901 La Jolla Shores Drive, La Jolla, CA 92037-1509,
USA<br class="">
home: 12723 Salmon River Rd, San Diego, CA 92129, USA<br class="">
cell: 858 752 8495<br class="">
<span style="text-decoration: underline;" class=""><a href="http://www.fishocean.info/" class="">Research home page</a></span><br class="">
<span id="cid:part5.221A01E4.44C80CBE@fishocean.info"><meditation_small.jpg></span><br class="">
<br class="">
"The time has come", the tui said,<br class="">
"to talk of many things:<br class="">
Of songs - and ferns - and flowering flax,<br class="">
of Pukekos and dreams ..."<br class="">
<br class="">
(not Lewis Carroll)
</div>
</div>
_______________________________________________<br class="">ncl-install mailing list<br class="">List instructions, subscriber options, unsubscribe:<br class=""><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" class="">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br class=""></div></blockquote></div><br class=""></div></body></html>