<div dir="ltr"><div><div>Which version of Cray hardware (and software, if you&#39;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&#39;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"><br><div class="gmail_quote">On Sun, Aug 21, 2016 at 8:37 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">
    <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/<wbr>hluresfile
export MY_TMP=/scratch/y98/[your-<wbr>user-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/<wbr>ncl/</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 class="h5">
    <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 &quot;make Everything&quot; 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">&lt;<a href="mailto:gerry.creager@noaa.gov" target="_blank">gerry.creager@noaa.gov</a>&gt;</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&#39;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.
                    &lt;<a href="mailto:frenchrd@ornl.gov" target="_blank">frenchrd@ornl.gov</a>&gt;
                    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/<wbr>mailman/listinfo/ncl-install</a>
</pre>
    </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>

<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>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="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>