<html>
  <head>
    <meta content="text/html; charset=gbk" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 29.10.2012 13:49, w_ang_temp wrote:<br>
    </div>
    <blockquote
      cite="mid:611bda2d.10ae0.13aac91f0d5.Coremail.w_ang_temp@163.com"
      type="cite">
      <div style="line-height: 1.7; color: rgb(0, 0, 0); font-size:
        14px; font-family: arial;">
        <div>Hello, Jed</div>
        <div>    I use the command:</div>
        <div>    mpiexec -n 4 ./ex4f -ksp_type cgs -pc_type gamg
          -pc_gamg_agg_nsmooths 1  -ksp_rtol 1.0e-15
          -ksp_converged_reason</div>
        <div>    The error is as follows:<br>
          [0]PETSC ERROR: --------------------- Error Message
          ------------------------------------<br>
          [0]PETSC ERROR: Unknown type. Check for miss-spelling or
          missing external package needed for type<br>
 seehttp://www.mcs.anl.gov/petsc/petsc-as/documentation/installation.html#external!<br>
          [0]PETSC ERROR: Unable to find requested PC type gamg!<br>
          [0]PETSC ERROR:
          ------------------------------------------------------------------------<br>
          <big><b>[0]PETSC ERROR: Petsc Release Version 3.2.0, Patch 7,
              Thu Mar 15 09:30:51 CDT 2012 </b></big><br>
        </div>
      </div>
    </blockquote>
    <br>
    <p>You should use petsc-3.3-p3.</p>
    <br>
    <br>
    <blockquote
      cite="mid:611bda2d.10ae0.13aac91f0d5.Coremail.w_ang_temp@163.com"
      type="cite">
      <div
        style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">
        <div>[0]PETSC ERROR: See docs/changes/index.html for recent
          updates.<br>
          [0]PETSC ERROR: See docs/faq.html for hints about trouble
          shooting.<br>
          [0]PETSC ERROR: See docs/index.html for manual pages.<br>
          [0]PETSC ERROR:
          ------------------------------------------------------------------------<br>
          [0]PETSC ERROR: ./ex4f on a arch-linu named ubuntu by geo Mon
          Oct 29 05:40:13 2012<br>
          [0]PETSC ERROR: Libraries linked from /home
          /geo/soft/petsc/petsc-3.2-p7/arch-linux2-c-opt/lib<br>
          [0]PETSC ERROR: Configure run at Mon Jul  2 20:33:17 2012<br>
          [0]PETSC ERROR: Configure options
          --with-mpi-dir=/home/geo/soft/mpich2
          --download-f-blas-lapack=1 --with-x=1 --with-debugging=0
          --download-parmetis --download-mumps --download-scalapack
          --download-blacs<br>
          [0]PETSC ERROR:
          ------------------------------------------------------------------------<br>
          [0]PETSC ERROR: PCSetType() line 67 in
          src/ksp/pc/interface/pcset.c<br>
          [0]PETSC ERROR: PCSetFromOptions() line 184 in
          src/ksp/pc/interface/pcset.c<br>
          [0]PETSC ERROR: KSPSetFromOptions() line 286 in
          src/ksp/ksp/interface/itcl.c</div>
        <div>     When I use 'mpiexec -n 4 ./ex4f -ksp_type cgs -pc_type
          sor -ksp_rtol 1.0e-15 -ksp_converged_reason', it is ok. So</div>
        <div>what is the possible reason?</div>
        <div>     Thanks.</div>
        <div>                                                    Jim</div>
      </div>
      <br>
      <span title="neteasefooter"><span id="netease_mail_footer"></span></span>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Regards,
Alexander</pre>
  </body>
</html>