<div dir="ltr"><div dir="ltr">On Mon, Feb 5, 2024 at 8:48 AM TAY Wee Beng <<a href="mailto:zonexo@gmail.com">zonexo@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <p>Hi all,</p>
    <p>Not in my code, nor in PETSc.<br>
    </p>
    <div></div></div></blockquote><div>I would try this. Of course, it would be best to see where exactly the overflow is happening.</div><div><br></div><div>   THanks,</div><div><br></div><div>     Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div>On 5/2/2024 8:21 pm, Matthew Knepley
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div dir="ltr">On Mon, Feb 5, 2024 at 4:29 AM TAY Wee Beng <<a href="mailto:zonexo@gmail.com" target="_blank">zonexo@gmail.com</a>>
          wrote:<br>
        </div>
        <div class="gmail_quote">
          <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
            <br>
            I have a code which uses PETSc and it was working fine.
            However, I <br>
            haven't used the code for a while and now we've migrated to
            a new cray <br>
            cluster so the compilers have been updated. I'm using gnu
            fortran.<br>
            <br>
            When running the code now, I got the error:<br>
            <br>
            Error termination. Backtrace:<br>
            At line 294 of file <br>
/home/users/nus/tsltaywb/myprojects/ibm2d_high_Re_staggered_coef/PETSc_solvers.F90<br>
            Fortran runtime error: Index '-17591876251192' of dimension
            1 of array <br>
            'ppv' below lower bound of 1<br>
            <br>
            I have attached my makefile. Wonder what I should change to
            prevent the <br>
            above error.<br>
          </blockquote>
          <div><br>
          </div>
          <div>This looks like an integer overflow error. DId you
            configure with 64-bit ints?</div>
          <div><br>
          </div>
          <div>   Thanks,</div>
          <div><br>
          </div>
          <div>      Matt</div>
          <div> </div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
            Compiler should be v11.2<br>
            <br>
            -- <br>
            Thank you very much.<br>
            <br>
            Yours sincerely,<br>
            <br>
            ================================================<br>
            TAY Wee-Beng 郑伟明 (Zheng Weiming)<br>
            ================================================<br>
            <br>
          </blockquote>
        </div>
        <br clear="all">
        <div><br>
        </div>
        <span class="gmail_signature_prefix">-- </span><br>
        <div dir="ltr" class="gmail_signature">
          <div dir="ltr">
            <div>
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div>What most experimenters take for granted before
                      they begin their experiments is infinitely more
                      interesting than any results to which their
                      experiments lead.<br>
                      -- Norbert Wiener</div>
                    <div><br>
                    </div>
                    <div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <div>-- <br>
      <p></p>
      Thank you very much.<br>
      <br>
      Yours sincerely,<br>
      <br>
      ================================================<br>
      TAY Wee-Beng 郑伟明 (Zheng Weiming)<br>
      ================================================<br>
      <p><br>
      </p>
    </div>
  </div>

</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>