[petsc-users] petsc-users Digest, Vol 13, Issue 28

Jed Brown jed at 59A2.org
Thu Jan 21 14:24:45 CST 2010


On Thu, 21 Jan 2010 14:11:16 -0600, Matthew Knepley <knepley at gmail.com> wrote:
> Well, when you call PetscInitialize(), in Fortran, it is reading the
> command line arguments. You, of course, do not have to use them, but
> they are there.

Note that you can also specify options in ~/.petscrc, $PWD/petscrc, and
in a user-defined file.  I highly recommend providing a way for your
users to get runtime options to PETSc, it's never beneficial to
hard-code the whole solution process.

Jed


More information about the petsc-users mailing list