[petsc-users] Problems running ex12.c

Matthew Knepley knepley at gmail.com
Thu Jan 16 15:31:44 CST 2014


On Thu, Jan 16, 2014 at 3:11 PM, Jones,Martin Alexander <
MAJones2 at mdanderson.org> wrote:

>  Now I went to the directory where ex12.c sits and just did a ‘make
> ex12.c’ with the following error if this helps?  :
>
>
>
> mjonesa at maeda:~/PETSc/petsc-3.4.3/src/snes/examples/tutorials$ make ex12.c
>
> /home/mjonesa/PETSc/petsc-3.4.3/conf/variables:108:
> /home/mjonesa/PETSc/petsc-3.4.3/linux-gnu-cxx-debug/conf/petscvariables: No
> such file or directory
>
> /home/mjonesa/PETSc/petsc-3.4.3/conf/rules:962:
> /home/mjonesa/PETSc/petsc-3.4.3/linux-gnu-cxx-debug/conf/petscrules: No
> such file or directory
>
> make: *** No rule to make target
> `/home/mjonesa/PETSc/petsc-3.4.3/linux-gnu-cxx-debug/conf/petscrules'.
> Stop.
>

1) You would type 'make ex12'

2) Either you PETSC_DIR (/home/mjonesa/PETSc/petsc-3.4.3) or PETSC_ARCH (
linux-gnu-cxx-debug) environment variables
    do not match what you built. Please send configure.log and make.log

3) Since it was only recently added, if you want to use the FEM
functionality, you must use the development version:

   http://www.mcs.anl.gov/petsc/developers/index.html

  Thanks,

      Matt


>
>
> *From:* Matthew Knepley [mailto:knepley at gmail.com]
> *Sent:* Thursday, January 16, 2014 2:48 PM
> *To:* Jones,Martin Alexander
> *Cc:* petsc-users at mcs.anl.gov
> *Subject:* Re: [petsc-users] Problems running ex12.c
>
>
>
> On Thu, Jan 16, 2014 at 2:35 PM, Jones,Martin Alexander <
> MAJones2 at mdanderson.org> wrote:
>
> Hello To Whom it Concerns,
>
>
>
> I am trying to run the tutorial ex12.c by running 'bin/pythonscripts/PetscGenerateFEMQuadrature.py
> dim order dim 1 laplacian dim order dim 1 boundary
> src/snes/examples/tutorials/ex12.h'
> but getting the following error:
>
>
>
> $ bin/pythonscripts/PetscGenerateFEMQuadrature.py dim order dim 1
> laplacian dim order dim 1 boundary src/snes/examples/tutorials/ex12.h
> Traceback (most recent call last):
>   File "bin/pythonscripts/PetscGenerateFEMQuadrature.py", line 15, in
> <module>
>     from FIAT.reference_element import default_simplex
> ImportError: No module named FIAT.reference_element
>
>
> I have removed the requirement of generating the header file (its now all
> handled in C). I thought
>
> I changed the documentation everywhere (including the latest tutorial
> slides). Can you try running
>
> with 'master' (or 'next'), and point me toward the old docs?
>
>
>
>   Thanks,
>
>
>
>     Matt
>
>
>
> --
> 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
>



-- 
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/20140116/19202988/attachment.html>


More information about the petsc-users mailing list