<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi folks,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The <span style="white-space:pre-wrap">NCARG_USRRESFILE is only needed if you are trying to run NCL from login that doesn't have a home directory. The problem is that NCL tries to open the file "~/.hluresfile" and it fails if there is no home directory on the system.</span></div><div class="gmail_default" style="font-size:small"><span style="white-space:pre-wrap"><br></span></div><div class="gmail_default" style="font-size:small"><span style="white-space:pre-wrap">You can create a dummy file, calling it whatever you want, and then you can put it wherever you want (I suggest somewhere under $NCARG_ROOT), and then set NCARG_USRRESFILE to point to the the full path to the file. I.E.?</span></div><div class="gmail_default" style="font-size:small"><span style="white-space:pre-wrap"><br></span></div><div class="gmail_default" style="font-size:small"><span style="white-space:pre-wrap">export </span><span style="white-space:pre-wrap">NCARG_USRRESFILE $NCARG_ROOT/lib/ncdarg/<wbr>hluresfile_dummy</span></div><div class="gmail_default" style="font-size:small"><span style="white-space:pre-wrap"><br></span></div><div class="gmail_default" style="font-size:small"><span style="white-space:pre-wrap">[This should be fixed in the next release of NCL.]</span></div><div class="gmail_default" style="font-size:small"><span style="white-space:pre-wrap"><br></span></div><div class="gmail_default" style="font-size:small"><span style="white-space:pre-wrap">--Mary</span></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 22, 2016 at 7:26 AM, Gerry Creager - NOAA Affiliate <span dir="ltr"><<a href="mailto:gerry.creager@noaa.gov" target="_blank">gerry.creager@noaa.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Which version of Cray hardware (and software, if you're familiar)? In general, I make sure the users have the path set to include the NCL binaries, and NCARG_ROOT set, and it just works. This is on an XE6 with CLE5.2.<br><br></div>We've been pretty successful for over 2 years now.<br><br></div><div>ROBERT: is this in the XC40? <br></div><div><br></div>gerry<br></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On Sun, Aug 21, 2016 at 8:37 PM, Jatin Kala <span dir="ltr"><<a href="mailto:jatin.kala.jk@gmail.com" target="_blank">jatin.kala.jk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<pre>Hi,
I had some trouble getting ncl (pre compiled binary) to work on a Cray system before. Here is a snippet of the email from the sys admin:
####
export NCARG_ROOT=/group/y98/ncl-6.2.<wbr>1
export NCARG_USRRESFILE=$NCARG_ROOT/h<wbr>luresfile
export MY_TMP=/scratch/y98/[your-user<wbr>-id]/tmp
TMPDIR=$MY_TMP aprun -n 1 $NCARG_ROOT/bin/ncl plot_entropy_examples.ncl
The key here is that the environment variable NCARG_USRRESFILE must be set.
This is causing the SEGV observed earlier. The file need not exist, or may be empty,
but the environment variable must be set.
I recommend you create a temporary directory and specify MY_TMP as above. By
default, temporary files are written to /tmp, which on Magnus is actually memory.
This can create problems if you have large temporary files.
####
See also:
<a href="http://www.archer.ac.uk/about-archer/software/modcatalogue/ncl/" target="_blank">http://www.archer.ac.uk/about-<wbr>archer/software/modcatalogue/n<wbr>cl/</a>
Hope this helps. We did manage to get ncl to work on this cray machine without having to build from source.
Cheers,
Jatin
</pre><div><div>
<br>
<div>On 20/08/2016 12:44 AM, Mary Haley
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-size:small">Hi Robert
(and Gerry),</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">As Gerry
stated, you might be able to use precompiled binaries, if this
is a LINUX system.</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">But, if you
want to build from source code, then I can try to help you
with that. What I will need is the full output from when you
ran "make Everything" so I can see if there are some errors
that need to be addressed.</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 Thu, Aug 18, 2016 at 12:12 PM, <span dir="ltr"><<a href="mailto:gerry.creager@noaa.gov" target="_blank">gerry.creager@noaa.gov</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="auto">
<div>I've successfully used the binaries, as-is, on an
XE6. Should work on CS and XC hardware just fine. What
problem are you having?</div>
<div><br>
</div>
<div>Gerry<br>
<br>
</div>
<div>
<div>
<div>On Aug 18, 2016, at 11:36 AM, French, Robert D.
<<a href="mailto:frenchrd@ornl.gov" target="_blank">frenchrd@ornl.gov</a>>
wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<p>Hello friends!</p>
<p><br>
</p>
<p>Has anyone had any luck building ncl for SLES11
or Cray systems? I have been going back and
forth between trying to build ncl from source
(which is indeed as hard as the docs claim it
is) and trying to get the CentOS 7 and RHEL 6
binaries to work correctly on SLES11. I think I
can power through it and get *something* to
work, but if anyone has thoughts or suggestions
(or wild guesses) I would be very grateful for
your input.
<br>
</p>
<p><br>
</p>
<p>Thank you so much,<br>
</p>
<p><br>
</p>
<div>
<div name="divtagdefaultwrapper">
-Robert French<br>
National Center for Computational Sciences<br>
Oak Ridge National Laboratory<br>
</div>
</div>
</div>
</blockquote>
</div>
</div>
<blockquote type="cite">
<div><span>______________________________<wbr>_________________</span><br>
<span>ncl-install mailing list</span><br>
<span>List instructions, subscriber options,
unsubscribe:</span><br>
<span><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-install</a></span><br>
</div>
</blockquote>
</div>
<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/mailma<wbr>n/listinfo/ncl-install</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>______________________________<wbr>_________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-install</a>
</pre>
</blockquote>
<br>
</div></div><span><font color="#888888"><pre cols="72">--
Dr. Jatin Kala
Lecturer in Atmospheric Science
Murdoch University,Perth, Western Australia
Tel: <a href="tel:%28%2B618%29%209360%206297" value="+61893606297" target="_blank">(+618) 9360 6297</a>
<a href="http://www.jatinkala.com/" target="_blank">http://www.jatinkala.com/</a>
</pre>
</font></span></div>
<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/mailma<wbr>n/listinfo/ncl-install</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br></div></div><div data-smartmail="gmail_signature"><div dir="ltr">Gerry Creager<div>NSSL/CIMMS</div><div><a href="tel:405.325.6371" value="+14053256371" target="_blank">405.325.6371</a></div><div>++++++++++++++++++++++</div><div><div>“Big whorls have little whorls,</div><div>That feed on their velocity; </div><div>And little whorls have lesser whorls, </div><div>And so on to viscosity.” </div><div>Lewis Fry Richardson (1881-1953)</div></div></div></div>
</div>
<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/mailma<wbr>n/listinfo/ncl-install</a><br>
<br></blockquote></div><br></div></div>