[petsc-users] How to correctly run snes/ex62.c?

Matthew Knepley knepley at gmail.com
Mon Jul 16 06:28:37 CDT 2012


On Mon, Jul 16, 2012 at 1:14 AM, fdkong <fd.kong at siat.ac.cn> wrote:

> Hi guys,
>
> How to correctly run snes/ex62.c with DMcomplex? Could you please give a
> script sample (e.g. mpiexec -np 2 ./ex62 and what ?) ?  And, could you
> please explain scripts "bin/pythonscripts/PetscGenerateFEMQuadrature.py dim
> order dim 1 laplacian dim order 1 1 gradient"?
>

The full set of tests for ex62 is in $PETSC_DIR/config/builder.py:215. If
you use the Python build:

  python2.7 ./config/builder2.py build

you can run them all

  python2.7 ./config/builder2.py check src/snes/examples/tutorials/ex62.c

or just one

  python2.7 ./config/builder2.py check src/snes/examples/tutorials/ex62.c
--testnum=0

and there is documentation for the options with --help.
The PetscGenerateFEMQuadrature.py script
generates headers which contain the evaluation of the basis functions and
derivatives at the quadrature
points.

    Matt


> Regards,
> **
> ------------------
> Fande Kong
> ShenZhen Institutes of Advanced Technology
> Chinese Academy of Sciences
> **
>
>



-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120716/c28c96c9/attachment.html>


More information about the petsc-users mailing list