<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <div class="moz-cite-prefix">On 31/8/2018 10:21 AM, Matthew Knepley
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAMYG4G=vVgKPPBQRjuMMSY797wc4DRLLKm3HRWMXJECzyTOFFg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <div dir="ltr">
        <div class="gmail_quote">
          <div dir="ltr">On Thu, Aug 30, 2018 at 10:17 PM TAY wee-beng
            <<a href="mailto:zonexo@gmail.com" moz-do-not-send="true">zonexo@gmail.com</a>>
            wrote:<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
            <br>
            Due to my increase grid size, I have to go 64bit. I compiled
            the 64bit <br>
            PETSc w/o error. However, when I tried to compile my code
            using the <br>
            64bit PETSc, I got the error below. May I know why is this
            so?<br>
            <br>
            What changes should I make?<br>
          </blockquote>
          <div><br>
          </div>
          <div>Is it possible that you did not declare some inputs as
            PetscInt, so the interface check is failing?</div>
          <div><br>
          </div>
          <div>   Matt</div>
        </div>
      </div>
    </blockquote>
    Hi,<br>
    <br>
    I'm using the standard <br>
    <br>
    integer ::<br>
    <br>
    real(8) ::<br>
    <br>
    for some variables. For some others relating to PETSc, I use
    PetscInt.<br>
    <br>
    Should I change all to PetscInt and PetscReal?<br>
    <br>
    Currently, I use real(8) for all real values. If I change all to
    PetscReal, will PetscReal be real or real(8) by default?<br>
    <br>
    Thanks!<br>
    <blockquote type="cite"
cite="mid:CAMYG4G=vVgKPPBQRjuMMSY797wc4DRLLKm3HRWMXJECzyTOFFg@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_quote">
          <div> </div>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <br>
            [tsltaywb@nus02 ibm3d_IIB_mpi]$ make -f makefile_2018<br>
/app/intel/xe2018/compilers_and_libraries_2018.0.128/linux/mpi/intel64/bin/mpif90
            <br>
            -g -ip -ipo -O3 -c -fPIC  -save kinefunc.F90<br>
/app/intel/xe2018/compilers_and_libraries_2018.0.128/linux/mpi/intel64/bin/mpif90
            <br>
            -g -ip -ipo -O3 -c -fPIC  -save  -w <br>
-I/home/users/nus/tsltaywb/propeller/lib/petsc-3.9.3_intel_2018_64bit_rel/include
            <br>
-I/app/intel/xe2018/compilers_and_libraries_2018.0.128/linux/mpi/intel64/include
            <br>
            global.F90<br>
            global.F90(979): error #6285: There is no matching specific
            subroutine <br>
            for this generic subroutine call.   [DMDACREATE3D]<br>
            call <br>
DMDACreate3d(MPI_COMM_WORLD,DM_BOUNDARY_NONE,DM_BOUNDARY_NONE,DM_BOUNDARY_NONE,DMDA_STENCIL_STAR,size_x,size_y,&<br>
            -----^<br>
            global.F90(989): error #6285: There is no matching specific
            subroutine <br>
            for this generic subroutine call.   [DMDACREATE3D]<br>
                 call <br>
DMDACreate3d(MPI_COMM_WORLD,DM_BOUNDARY_NONE,DM_BOUNDARY_NONE,DM_BOUNDARY_NONE,DMDA_STENCIL_STAR,size_x,size_y,&<br>
            ---------^<br>
            global.F90(997): error #6285: There is no matching specific
            subroutine <br>
            for this generic subroutine call.   [DMDACREATE3D]<br>
                 call <br>
DMDACreate3d(MPI_COMM_WORLD,DM_BOUNDARY_NONE,DM_BOUNDARY_NONE,DM_BOUNDARY_NONE,DMDA_STENCIL_STAR,size_x,size_y,&<br>
            ---------^<br>
            global.F90(1005): error #6285: There is no matching specific
            subroutine <br>
            for this generic subroutine call.   [DMDACREATE3D]<br>
                 call <br>
DMDACreate3d(MPI_COMM_WORLD,DM_BOUNDARY_NONE,DM_BOUNDARY_NONE,DM_BOUNDARY_NONE,DMDA_STENCIL_STAR,size_x,size_y,&<br>
            ---------^<br>
            global.F90(1013): error #6285: There is no matching specific
            subroutine <br>
            for this generic subroutine call.   [DMDACREATE3D]<br>
                 call <br>
DMDACreate3d(MPI_COMM_WORLD,DM_BOUNDARY_NONE,DM_BOUNDARY_NONE,DM_BOUNDARY_NONE,DMDA_STENCIL_STAR,size_x,size_y,&<br>
            ---------^<br>
            global.F90(1021): error #6285: There is no matching specific
            subroutine <br>
            for this generic subroutine call.   [DMDACREATE3D]<br>
                 call <br>
DMDACreate3d(MPI_COMM_WORLD,DM_BOUNDARY_NONE,DM_BOUNDARY_NONE,DM_BOUNDARY_NONE,DMDA_STENCIL_STAR,size_x,size_y,&<br>
            ---------^<br>
            global.F90(1029): error #6285: There is no matching specific
            subroutine <br>
            for this generic subroutine call.   [DMDACREATE3D]<br>
                 call <br>
DMDACreate3d(MPI_COMM_WORLD,DM_BOUNDARY_NONE,DM_BOUNDARY_NONE,DM_BOUNDARY_NONE,DMDA_STENCIL_STAR,size_x,size_y,&<br>
            ---------^<br>
            compilation aborted for global.F90 (code 1)<br>
            <br>
            -- <br>
            Thank you very much.<br>
            <br>
            Yours sincerely,<br>
            <br>
            ================================================<br>
            TAY Wee-Beng (Zheng Weiming) 郑伟明<br>
            Personal research webpage: <a
              href="http://tayweebeng.wixsite.com/website"
              rel="noreferrer" target="_blank" moz-do-not-send="true">http://tayweebeng.wixsite.com/website</a><br>
            Youtube research showcase: <a
              href="https://www.youtube.com/channel/UC72ZHtvQNMpNs2uRTSToiLA"
              rel="noreferrer" target="_blank" moz-do-not-send="true">https://www.youtube.com/channel/UC72ZHtvQNMpNs2uRTSToiLA</a><br>
            linkedin: <a href="http://www.linkedin.com/in/tay-weebeng"
              rel="noreferrer" target="_blank" moz-do-not-send="true">www.linkedin.com/in/tay-weebeng</a><br>
            ================================================<br>
            <br>
          </blockquote>
        </div>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div dir="ltr" class="gmail_signature"
          data-smartmail="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/%7Eknepley/"
                        target="_blank" moz-do-not-send="true">https://www.cse.buffalo.edu/~knepley/</a><br>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>