<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi Mary and Rick,<br>
      <br>
      I use a copy of WRAPIT that comes with NCL-6.0.0 : It's not a
      personal version.<br>
      <br>
      Many thanks for your help, I will try to follow your advice.<br>
      David<br>
      <br>
      <div class="moz-signature"><br>
        <table style="font-family:arial narrow;font-size:12px"
          width="390" border="0" cellpadding="0" cellspacing="0">
          <tbody>
            <tr valign="top">
              <th rowspan="4" valign="middle" width="90" align="left"><br>
              </th>
              <td valign="top" width="300" align="left"><br>
              </td>
            </tr>
            <tr valign="top" height="3">
              <td valign="top" width="300" align="left"><br>
              </td>
            </tr>
            <tr valign="top">
              <td valign="top" width="300" align="left"><a
                  href="http://www.numtech.fr"></a><br>
              </td>
            </tr>
            <tr valign="top" height="3">
              <td valign="top" width="300" align="left"><img
                  src="cid:part2.09070009.09050302@numtech.fr"></td>
            </tr>
          </tbody>
        </table>
      </div>
      Le 11/02/2015 19:10, Mary Haley a écrit :<br>
    </div>
    <blockquote
cite="mid:CACNN_CLBOggJ7AfXBXG4MMfZkyN8F2tMEjcPCH9R93R6jskRug@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_default" style="font-size:small">Rick and
          David,</div>
        <div class="gmail_default" style="font-size:small"><br>
        </div>
        <div class="gmail_default" style="font-size:small">One thing I
          forgot to mention, try doing a "WRAPIT -m64" instead of just
          "WRAPIT":</div>
        <div class="gmail_default" style="font-size:small"><br>
        </div>
        <div class="gmail_default" style="font-size:small">
          <div class="gmail_default">WRAPIT -m64 ex.f</div>
          <div><br>
          </div>
          <div>This will force the compiler to use "-m64" when it
            compiles, which ensures you get the 64-bit ints that Rick
            mentioned.  Really, though, depending on which compiler you
            have, "-m64" should already be the default.</div>
          <div><br>
          </div>
          <div>If you continue to have problems, then for further
            debugging purposes please use "-d" on the WRAPIT line to get
            some debug output and then send that to us:</div>
          <div><br>
          </div>
          <div>WRAPIT -d -m64 ex.f</div>
          <div><br>
          </div>
          <div>--Mary</div>
          <div><br>
          </div>
        </div>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Wed, Feb 11, 2015 at 11:02 AM,
            Rick Brownrigg <span dir="ltr">&lt;<a
                moz-do-not-send="true" href="mailto:brownrig@ucar.edu"
                target="_blank">brownrig@ucar.edu</a>&gt;</span> wrote:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
              <div dir="ltr">
                <div>
                  <div>
                    <div>Hi David,<br>
                      <br>
                    </div>
                    I have not been able to duplicate this problem, as I
                    don't have ready access to NCL 6.0.0.  I get link
                    errors with NCL 6.1.0, and it works fine for me with
                    NCL 6.2.x  What's curious about the error you are
                    receiving is it claims to expect <b>140733193388033</b>
                    elements while only being passed 1.  That large
                    number is 0x7fff00000001 in hex. This has the
                    appearance that some part of the code thinks its
                    dealing with a 64-bit int, and another part is
                    dealing with a 32-bit int.  <br>
                    <br>
                    I don't suppose you are able to upgrade to the
                    latest NCL, v. 6.2.1 and see if that takes care of
                    your problem?<br>
                    <br>
                  </div>
                  Wish I had a better answer....<span class=""><font
                      color="#888888"><br>
                    </font></span></div>
                <span class=""><font color="#888888">Rick<br>
                    <br>
                  </font></span></div>
              <div class="gmail_extra"><br>
                <div class="gmail_quote"><span class="">On Tue, Feb 10,
                    2015 at 3:58 AM, David Poulet <span dir="ltr">&lt;<a
                        moz-do-not-send="true"
                        href="mailto:poulet@numtech.fr" target="_blank">poulet@numtech.fr</a>&gt;</span>
                    wrote:<br>
                  </span>
                  <blockquote class="gmail_quote" style="margin:0px 0px
                    0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
                    <div>
                      <div class="h5">
                        <div text="#000000" bgcolor="#FFFFFF"> Hi,<br>
                          <br>
                          I used the test from "Troubleshooting WRAPIT"
                          (<a moz-do-not-send="true"
href="https://www.ncl.ucar.edu/Document/Tools/WRAPIT.shtml#TroubleShooting"
                            target="_blank">https://www.ncl.ucar.edu/Document/Tools/WRAPIT.shtml#TroubleShooting</a>).

                          <br>
                          <br>
                          "./WRAPIT ex.f" produce the following output :<br>
                          <br>
                              WRAPIT Version: 110125<br>
                              COMPILING ex.f<br>
                              LINKING<br>
                              END WRAPIT<br>
                          <br>
                          <br>
                          But "./ncl_6.0 ex.ncl " returns :<br>
                          <br>
                               Copyright (C) 1995-2011 - All Rights
                          Reserved<br>
                               University Corporation for Atmospheric
                          Research<br>
                               NCAR Command Language Version 6.0.0<br>
                               The use of this software is governed by a
                          License Agreement.<br>
                               See <a moz-do-not-send="true"
                            href="http://www.ncl.ucar.edu/"
                            target="_blank">http://www.ncl.ucar.edu/</a>
                          for more details.<br>
                              (0)     before i = 5<br>
                              (0)     before x = 1.3<br>
                          <b>    fatal:Number of elements of dimension
                            (0) of argument (0) is (1) in function (ex),
                            expected (140733193388033) elements</b><b><br>
                          </b><b>    fatal:Execute: Error occurred at or
                            near line 8 in file ex.ncl</b><br>
                          <br>
                          <br>
                          The result for "uname -a" is :<br>
                          <br>
                              Linux metdataUS 2.6.18-308.8.1.el5 #1 SMP
                          Tue May 29 14:57:25 EDT 2012 x86_64 x86_64
                          x86_64 GNU/Linux<br>
                          <br>
                          <br>
                          I get similar errors when I use my own ncl
                          scripts with WRAPIT. Could you please say me
                          how to fix this problem ?<br>
                          <br>
                          Thanks for your help<br>
                          Best regards<span><font color="#888888"><br>
                              David<br>
                              <br>
                              <br>
                              <div>-- 
                                <table style="font-family:'arial
                                  narrow';font-size:12px" width="390"
                                  border="0" cellpadding="0"
                                  cellspacing="0">
                                  <tbody>
                                    <tr valign="top">
                                      <th rowspan="4" valign="middle"
                                        width="90" align="left"><br>
                                      </th>
                                      <td valign="top" width="300"
                                        align="left"><br>
                                      </td>
                                    </tr>
                                    <tr valign="top" height="3">
                                      <td valign="top" width="300"
                                        align="left"><br>
                                      </td>
                                    </tr>
                                    <tr valign="top">
                                      <td valign="top" width="300"
                                        align="left"><br>
                                      </td>
                                    </tr>
                                    <tr valign="top" height="3">
                                      <td valign="top" width="300"
                                        align="left"><img
                                          src="cid:part7.02070104.09060904@numtech.fr"></td>
                                    </tr>
                                  </tbody>
                                </table>
                              </div>
                            </font></span></div>
                        <br>
                      </div>
                    </div>
                    <span class="">_______________________________________________<br>
                      ncl-talk mailing list<br>
                      List instructions, subscriber options,
                      unsubscribe:<br>
                      <a moz-do-not-send="true"
                        href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk"
                        target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
                      <br>
                    </span></blockquote>
                </div>
                <br>
              </div>
              <br>
              _______________________________________________<br>
              ncl-talk mailing list<br>
              List instructions, subscriber options, unsubscribe:<br>
              <a moz-do-not-send="true"
                href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk"
                target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
              <br>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>