<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Thanks Dr. Brown, <br>
          What I did are:<br>
      hg pull -u: under /petsc-dev<br>
      hg update<br>
      make all test<br>
      <br>
      what else should I do? how can I check the PETSc version in my
      computer?<br>
      <br>
      thanks,<br>
      Alan<br>
    </div>
    <blockquote
cite="mid:CAM9tzS=_4_kRnJX+1fjO77wRX72DW=nZRhGKdLaEpWtQPVz_qA@mail.gmail.com"
      type="cite">On Mon, Nov 26, 2012 at 2:16 AM, Zhenglun (Alan) Wei <span
        dir="ltr"><<a moz-do-not-send="true"
          href="mailto:zhenglun.wei@gmail.com" target="_blank">zhenglun.wei@gmail.com</a>></span>
      wrote:<br>
      <div class="gmail_extra">
        <div class="gmail_quote">
          <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">Dear
            folks,<br>
                Here are some problems when I'm using the new PETSc and
            tried to run src/ksp/ksp/example/tutorial/ex45.c<br>
            1, when I compile it, it says that 'DMSetInitialGuess' can
            not be found. So, I commented it out; however, this command
            still appears in <a moz-do-not-send="true"
href="http://www.mcs.anl.gov/petsc/petsc-current/src/ksp/ksp/examples/tutorials/ex45.c.html"
              target="_blank">http://www.mcs.anl.gov/petsc/petsc-current/src/ksp/ksp/examples/tutorials/ex45.c.html</a>.
            Therefore, I wonder if my PETSc has not been updated
            correctly.<br>
          </blockquote>
          <div><br>
          </div>
          <div>You still don't have a current clone of petsc-dev. The
            HTML file is from the release version, in which that
            function was deprecated but still present. Look at the
            petsc-dev docs if that's what you're using.</div>
          <div> </div>
          <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">2,
            in old version code, I implemented a post-processing code
            using:<br>
              ierr = DMDAGetCoordinateDA(da, &cda);<br>
              ierr = DMDAGetGhostedCoordinates(da, &gc);<br>
              ierr = DMDAVecGetArray(cda, gc, &coors);<br>
                in order to get the locations of 'coors' stored in 'DM
            da'. However, the current version seems does not have
            'DMDAGetCoordinateDA' and 'DMDAGetGhostedCoordinates'. Then,
            what should I do to get the 'coors'? Specifically, what
            should I do to get 'Vec gc'.<br>
          </blockquote>
          <div><br>
          </div>
          <div>These routines were promoted.</div>
          <div><br>
          </div>
          <div><a moz-do-not-send="true"
              href="http://www.mcs.anl.gov/petsc/documentation/changes/dev.html">http://www.mcs.anl.gov/petsc/documentation/changes/dev.html</a><br>
          </div>
          <div> </div>
          <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"><br>
            thanks,<br>
            Alan<br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>