<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&#39;t respond sooner, but I&#39;ve been out of the office, and I&#39;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&#39;ve filed a bug report on this (NCL-2256).  It sounds like it&#39;s simply failing because it&#39;s trying to look in a home directory, which doesn&#39;t exist.</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 Tue, Jul 21, 2015 at 9:47 PM, Jatin Kala <span dir="ltr">&lt;<a href="mailto:jatin.kala.jk@gmail.com" target="_blank">jatin.kala.jk@gmail.com</a>&gt;</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 class="h5"><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&#39;t know
          what the &quot;aprun&quot; utility is so I can&#39;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&#39;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">&lt;<a href="mailto:jatin.kala.jk@gmail.com" target="_blank">jatin.kala.jk@gmail.com</a>&gt;</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:~&gt; 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:~&gt; 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=&quot;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&quot;<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(&quot;hello&quot;) program is giving us a segmentation
            fault.....<br>
            <br>
            I&#39;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 class="HOEnZb"><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>