Ask help for PETSc

Matthew Knepley knepley at
Mon Sep 15 14:31:49 CDT 2008

On Mon, Sep 15, 2008 at 1:39 PM, Chen, Changjun <cjchen at> wrote:
> Hi Sir,
>     My name is Changjun Chen. I am a postdoc in Michigan State University. Recently I use your perfect software PETSc. It is very good. But I still have one problem. I need your help.
>     It is about the size of final executable. When I compile it, it is over 60 MB. This is too large. Maybe it have all the linear equation solvers.  but among them, I only need one method, for example JACOBI method, I do not need others.
>     So how could I compile the codes that only contains this method?

It has all the debugging information. You can shrink it using the UNIX
'strip' utility or by
reconfiguring with --with-debugging=0.


>     Thanks
> Sincerely,
> Changjun
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which
their experiments lead.
-- Norbert Wiener

More information about the petsc-users mailing list