[petsc-users] Solving Poisson equation with multigrid

Jed Brown jedbrown at mcs.anl.gov
Fri May 31 16:57:07 CDT 2013


Michele Rosso <mrosso at uci.edu> writes:

> Hi,
>
> I confirm that
>
>          -pc_type gamg  -pc_mg_cycle_type v  -pc_gamg_agg_nsmooths 1
>
> produces the correct shift in PETSc 3.4.
> So my problem is solved.   I will upgrade to 3.4 in my productive 
> machine installation.
> It is a Cray machine (Blue Waters). Assuming I want to use the Cray 
> compiler, which options should I use for ./configure
> for the installation.

Or the Intel compiler or GCC.  PETSc should run at similar speed with
any.  IIRC, Cray recommends the Intel compiler on their machines with
Intel CPUs.  There are examples in config/examples/.


More information about the petsc-users mailing list