[petsc-users] snes ex62.c header file

Matthew Knepley knepley at gmail.com
Thu Sep 27 06:49:14 CDT 2012


On Thu, Sep 27, 2012 at 7:46 AM, Klaij, Christiaan <C.Klaij at marin.nl> wrote:

> If I understand correctly, the first step to running SNES ex62.c is to
> create the header file, however:
>
> $ $PETSC_DIR/bin/pythonscripts/PetscGenerateFEMQuadrature.py dim order dim
> 1 laplacian dim order 1 1 gradient
> $PETSC_DIR/src/snes/examples/tutorials/ex62.h
> Traceback (most recent call last):
>   File
> "/home/CKlaij/ReFRESCO/Dev/trunk/Libs/build/petsc-3.3-p3/bin/pythonscripts/PetscGenerateFEMQuadrature.py",
> line 12, in <module>
>     from FIAT.reference_element import default_simplex
> ImportError: No module named FIAT.reference_element

In order to run the tests, you must configure with

  # For finite element support
  --download-scientificpython --download-fiat --download-generator
  # For unstructured mesh generation and partitioning
  --download-triangle --with-ctetgen --download-chaco

and you can run the tests using the new Python build system

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

or do it manually as you are doing.

   Matt

dr. ir. Christiaan Klaij
> CFD Researcher
> Research & Development
> E mailto:C.Klaij at marin.nl
> T +31 317 49 33 44
>
> MARIN
> 2, Haagsteeg, P.O. Box 28, 6700 AA Wageningen, The Netherlands
> T +31 317 49 39 11, F +31 317 49 32 45, I www.marin.nl
>
>


-- 
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/20120927/201f0598/attachment.html>


More information about the petsc-users mailing list