<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <pre wrap="">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.1
export NCARG_USRRESFILE=$NCARG_ROOT/hluresfile
export MY_TMP=/scratch/y98/[your-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 class="moz-txt-link-freetext" href="http://www.archer.ac.uk/about-archer/software/modcatalogue/ncl/">http://www.archer.ac.uk/about-archer/software/modcatalogue/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>
    <br>
    <div class="moz-cite-prefix">On 20/08/2016 12:44 AM, Mary Haley
      wrote:<br>
    </div>
    <blockquote
cite="mid:CACNN_CLHY1jX5Jmz-VXz+SA2QPSuptezStWyBgKW_MT0APzkQg@mail.gmail.com"
      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">&lt;<a moz-do-not-send="true"
              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'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 class="h5">
                  <div>On Aug 18, 2016, at 11:36 AM, French, Robert D.
                    &lt;<a moz-do-not-send="true"
                      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 moz-do-not-send="true"
                      href="http://mailman.ucar.edu/mailman/listinfo/ncl-install"
                      target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-install</a></span><br>
                </div>
              </blockquote>
            </div>
            <br>
            ______________________________<wbr>_________________<br>
            ncl-install mailing list<br>
            List instructions, subscriber options, unsubscribe:<br>
            <a moz-do-not-send="true"
              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>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
<a class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/ncl-install">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Dr. Jatin Kala
Lecturer in Atmospheric Science
Murdoch University,Perth, Western Australia
Tel: (+618) 9360 6297
<a class="moz-txt-link-freetext" href="http://www.jatinkala.com/">http://www.jatinkala.com/</a>

</pre>
  </body>
</html>