Hi, I see that some of the examples using gamg are in petsc 3.2, but I can't figure out how to run them:
galerkin:tutorials bourdin$ ./ex54 [0]PETSC ERROR: --------------------- Error Message ------------------------------------ [0]PETSC ERROR: Unknown type. Check for miss-spelling or missing external package needed for type seehttp://www.mcs.anl.gov/petsc/petsc-as/documentation/installation.html#external! [0]PETSC ERROR: Unable to find requested PC type gamg! [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: Petsc Release Version 3.2.0, Patch 5, unknown [0]PETSC ERROR: See docs/changes/index.html for recent updates. [0]PETSC ERROR: See docs/faq.html for hints about trouble shooting. [0]PETSC ERROR: See docs/index.html for manual pages. [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: ./ex54 on a Darwin-in named galerkin.math.lsu.edu by bourdin Fri Jan 6 09:02:11 2012 [0]PETSC ERROR: Libraries linked from /opt/HPC/petsc-3.2/Darwin-intel11.1-g/lib [0]PETSC ERROR: Configure run at Thu Jan 5 07:52:24 2012 [0]PETSC ERROR: Configure options --CC=icc --CFLAGS=-Wno-unused --CXX=icpc --FC=ifort --download-hdf5=1 --download-mpich=1 --download-sowing=1 --with-blas-lapack-dir=/opt/intel/Compiler/11.1/091/Frameworks/mkl --with-cmake=cmake --with-debugging=1 --with-pic --with-shared-libraries=1 --with-vendor-compilers=intel --with-x11=1 [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: PCSetType() line 67 in /opt/HPC/petsc-3.2/src/ksp/pc/interface/pcset.c [0]PETSC ERROR: main() line 137 in src/ksp/ksp/examples/tutorials/ex54.c application called MPI_Abort(MPI_COMM_WORLD, 86) - process 0 [unset]: aborting job: application called MPI_Abort(MPI_COMM_WORLD, 86) - process 0 Has gamg made its way into 3.2? If so, is there a magic trick to use it? Blaise -- Department of Mathematics and Center for Computation & Technology Louisiana State University, Baton Rouge, LA 70803, USA Tel. +1 (225) 578 1612, Fax +1 (225) 578 4276 http://www.math.lsu.edu/~bourdin