[petsc-dev] not finding --downloaded Generator for snes ex31

Matthew Knepley knepley at gmail.com
Fri Nov 15 14:46:41 CST 2013


On Fri, Nov 15, 2013 at 2:14 PM, Geoffrey Irving <irving at naml.us> wrote:

> I'm trying to run some of the other FE examples, and am hitting the
> following error.  As configure.log shows, --download-generator
> succeeded.  Should I need a pythonpath tweak to get this to work?
>

ex31 is broken (I hope to fix it sometime, but that may be a pipe dream
since
Dave May's code supersede's it). So is ex72. Generator is not needed since
we added PetscFE, although I could still imagine using some of it to
generate
OpenCL kernels.

   Matt


> Thanks,
> Geoffrey
>
> ---------------------------------------------------------------------
>
> (irving/snes-ex12-cleanup) cayley:petsc% ./config/builder2.py check
> src/snes/examples/tutorials/ex31.c
> Namespace(args=[], files=['src/snes/examples/tutorials/ex31.c'],
> func=<function check at 0x104ce60>, replace=False, retain=False,
> testnum=None)
> Running 10 tests
> Traceback (most recent call last):
>   File "./bin/pythonscripts/PetscGenerateFEMQuadrature.py", line 20, in
> <module>
>     generator.setup()
>   File "/home/irving/petsc/config/PETSc/FEM.py", line 867, in setup
>     raise RuntimeError('Unable to find Generator package!\nReconfigure
> PETSc using --download-generator.')
> RuntimeError: Unable to find Generator package!
> Reconfigure PETSc using --download-generator.
> ./bin/pythonscripts/PetscGenerateFEMQuadrature.py 2 2 2 1 laplacian 2
> 1 1 1 gradient 2 1 1 1 identity src/snes/examples/tutorials/ex31.h
> Building ['/home/irving/petsc/src/snes/examples/tutorials/ex31.c']
> ERROR IN C COMPILE ******************************
>
> src/snes/examples/tutorials/ex31.c:62:18: fatal error: ex31.h: No such
> file or directory                               compilation
> terminated.
>
>
>              ('ERROR: Missing object file', 'ex31.o')
> TEST BUILD FAILED (check example.log for details)
>



-- 
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-dev/attachments/20131115/03fe60e6/attachment.html>


More information about the petsc-dev mailing list