<div dir="ltr">I wish I'd seen this. We're running NCL on a Cray system. Using the stock binary for x86_64, we can run it on the login node, and using aprun, it can be run in batch jobs on the compute nodes. I'll try to watch for these, a bit more closely, in the future.<div><br></div><div>Welcome back, Mary!</div><div>gerry</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 27, 2015 at 5:52 PM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</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 class="gmail_default" style="font-size:small">Hi Jatin,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Glad you figured it out. Sorry we didn't respond sooner, but I've been out of the office, and I'm not sure anybody else knew the answer.<br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I've filed a bug report on this (NCL-2256). It sounds like it's simply failing because it's trying to look in a home directory, which doesn't exist.</div><span class="HOEnZb"><font color="#888888"><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></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 21, 2015 at 9:47 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">
Hi Mary,<br>
Just FYI, we have found a solution to this problem.<br>
Compiling from source was not necessary. Turns out that to run ncl
on Cray machines, you need the following:<br>
<pre><code>export NCARG_USRRESFILE=$NCARG_ROOT/hluresfile
export MY_TMP=/scratch/y98/julia/tmp
TMPDIR=$MY_TMP aprun -n 1 $NCARG_ROOT/bin/ncl script.ncl</code></pre>
Not explicitly defining NCAR_USRRESFILE caused the seg fault. <br>
We got this info from another group which runs ncl on a Cray
machine:<br>
<a href="http://www.archer.ac.uk/about-archer/software/modcatalogue/ncl/" target="_blank">http://www.archer.ac.uk/about-archer/software/modcatalogue/ncl/</a><br>
<br>
This did the trick for us. Might be worth putting this link on NCL
install web-page if anyone else is running ncl on Cray machines via
aprun.<br>
<br>
Cheers,<br>
Jatin<div><div><br>
<br>
<br>
<div>On 7/04/2015 10:03 pm, Mary Haley
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-size:small">Hi,</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">I don't know
what the "aprun" utility is so I can't help you there.</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">Are you able
to just run NCL without any scripts? You can try:</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small"> ncl -V</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">to see if it
will echo the version number.</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">You can
probably compile from source code if the Cray if you have
access to good gcc/gfortran compilers. However, if it's truly
Linux, then one of our precompiled Linux binaries should
work. Did you try any of the Debian or RedHat ones?</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>
<div class="gmail_quote">On Mon, Apr 6, 2015 at 8:14 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">Hi,<br>
Does anyone have experience running ncl on a Cray
supercomputer, using<br>
the aprun utility?<br>
<br>
Some machine details:<br>
jatinkala@magnus-2:~> uname -a<br>
Linux magnus-2 3.0.101-0.46-default #1 SMP Wed Dec 17
11:04:10 UTC 2014<br>
(8356111) x86_64 x86_64 x86_64 GNU/Linux<br>
<br>
jatinkala@magnus-2:~> cat /etc/*-release<br>
SUSE Linux Enterprise Server 11 (x86_64)<br>
VERSION = 11<br>
PATCHLEVEL = 3<br>
Cluster Manager v6.1<br>
slave<br>
LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64"<br>
<br>
I installed the SL pre-compiled binary:<br>
ncl_ncarg-6.2.1.Linux_SL6.5_x86_64_nodap_gcc447.tar.g<br>
<br>
A simple print("hello") program is giving us a segmentation
fault.....<br>
<br>
I'm still waiting on the sys admins, but in your opinion,
does it look<br>
like we will have to build from source using the Cray C and
Fortran<br>
compilers?<br>
<br>
Cheers,<br>
Jatin<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>
</blockquote>
</div>
<br>
</div>
</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>
</blockquote></div><br></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" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Gerry Creager<div>NSSL/CIMMS</div><div>405.325.6371</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>