[petsc-users] testing scalability for ksp/ex22.c

Jed Brown jedbrown at mcs.anl.gov
Fri Feb 24 10:39:56 CST 2012


On Fri, Feb 24, 2012 at 09:54, Francis Poulin <fpoulin at uwaterloo.ca> wrote:

> I am now running v3.2p6 and working with ksp/ex45.c, as suggested.
>

Great.


>
> When I try running ex22 like Jed suggested it works fine.
>
> When I try running ex45 like Barry suggested it runs but it does not seem
> to recognize two options.
>
> WARNING! There are options you set that were not used!
> WARNING! could be spelling mistake, etc!
> Option left: name:-mg_levels_ksp_type value: richardson
> Option left: name:-mg_levels_pc_type value: sor
>

Use these, it will run the same method and sizes as the options I gave for
ex22 before.

mpiexec.hydra -n 2 ./ex45 -da_grid_x 5 -da_grid_y 5 -da_grid_z 5 -da_refine
5 -ksp_monitor -pc_type mg -mg_levels_ksp_type richardson
-mg_levels_pc_type sor -log_summary


>
> Also, I am getting an message saying that it is running it with the
> debugger and I should rerun ./configure to turn it off and it will run 2 or
> 3 times faster.  Does that mean that the installation always uses the
> debugger or never uses it?  I thought I would like it keep it for testing,
> assuming i figure out how it works, but then turn it off for serious runs.
>

Configure --with-debugging=0.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120224/47cf0082/attachment.htm>


More information about the petsc-users mailing list