[petsc-users] FIAT Error

Dharmendar Reddy dharmareddy84 at gmail.com
Mon Apr 8 08:56:56 CDT 2013


Thanks. I figured out.


On Mon, Apr 8, 2013 at 8:55 AM, Matthew Knepley <knepley at gmail.com> wrote:

> On Mon, Apr 8, 2013 at 8:44 AM, Dharmendar Reddy <dharmareddy84 at gmail.com>wrote:
>
>> do you mean PetscGenerateFEMQuadrature.py will be moved to C ? using
>> FIAT internally ?
>>
>
> Yes.
>
>
>> What should be the dim and order for P2-P1 on triangle
>>
>> i am trying to generate ex62.h
>>
>>  58:   This code can be generated using 'bin/pythonscripts/PetscGenerateFEMQuadrature.py dim order dim 1 laplacian dim order 1 1 gradient src/snes/examples/tutorials/ex62.h'
>>
>>
> You can always look in builder.py. I run the tests using it.
>
> bin/pythonscripts/PetscGenerateFEMQuadrature.py 2 2 2 1 laplacian 2 1 1 1 gradient src/snes/examples/tutorials/ex62.h
>
>    Matt
>
>
>> On Mon, Apr 8, 2013 at 8:35 AM, Matthew Knepley <knepley at gmail.com>wrote:
>>
>>> On Mon, Apr 8, 2013 at 8:33 AM, Dharmendar Reddy <
>>> dharmareddy84 at gmail.com> wrote:
>>>
>>>> Hello,
>>>>         I am getting a FIAT related error. I am using branch
>>>> knepley/pylith. Am i missing something ?
>>>>
>>>
>>> You need your Python path pointing to the installation:
>>>
>>>   export
>>> PYTHONPATH=${PYTHONPATH}:${PETSC_DIR}/${PETSC_ARCH}/lib:${PETSC_DIR}/${PETSC_ARCH}/lib/python2.6/site-packages
>>>
>>> We are planning to move all this functionality to C soon.
>>>
>>>    Matt
>>>
>>>
>>>>
>>>> login3$ $PETSC_DIR/bin/pythonscripts/PetscGenerateFEMQuadrature.py dim
>>>> order dim 1 lapla
>>>> cian dim order 1 1 gradient ex62.h
>>>> Traceback (most recent call last):
>>>>   File
>>>> "/home1/00924/Reddy135/LocalApps/petsc/bin/pythonscripts/PetscGenerateFEMQuadratur
>>>> e.py", line 15, in <module>
>>>>     from FIAT.reference_element import default_simplex
>>>> ImportError: No module named FIAT.reference_element
>>>>
>>>>
>>>> I have used the following configOpts
>>>> configOpts_Opt= --with-debugging=0 \
>>>>             --with-petsc-arch=${PETSC_ARCH_Opt} \
>>>>             --with-petsc-dir=${PETSC_DIR} \
>>>>             --with-mpi-dir=${mpiDir} \
>>>>             --with-scalar-type=real \
>>>>             --with-blas-lapack-dir=${lapackDIR} \
>>>>             --with-clanguage=cxx \
>>>>             --download-boost=1 \
>>>>             --download-umfpack=1 \
>>>>             --download-superlu_dist=1 \
>>>>             --download-metis=1 \
>>>>             --download-parmetis=1 \
>>>>             --download-mumps=1 \
>>>>             --download-scalapack=1 \
>>>>             --download-blacs=1\
>>>>             --download-triangle=1 \
>>>>             --download-ctetgen=1 \
>>>>             --download-chaco=1 \
>>>>             --download-scientificpython \
>>>>             --download-fiat \
>>>>             --download-generator
>>>> --
>>>> -----------------------------------------------------
>>>> Dharmendar Reddy Palle
>>>> Graduate Student
>>>> Microelectronics Research center,
>>>> University of Texas at Austin,
>>>> 10100 Burnet Road, Bldg. 160
>>>> MER 2.608F, TX 78758-4445
>>>> e-mail: dharmareddy84 at gmail.com
>>>> Phone: +1-512-350-9082
>>>> United States of America.
>>>> Homepage: https://webspace.utexas.edu/~dpr342
>>>>
>>>
>>>
>>>
>>> --
>>> 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
>>>
>>
>>
>>
>> --
>> -----------------------------------------------------
>> Dharmendar Reddy Palle
>> Graduate Student
>> Microelectronics Research center,
>> University of Texas at Austin,
>> 10100 Burnet Road, Bldg. 160
>> MER 2.608F, TX 78758-4445
>> e-mail: dharmareddy84 at gmail.com
>> Phone: +1-512-350-9082
>> United States of America.
>> Homepage: https://webspace.utexas.edu/~dpr342
>>
>
>
>
> --
> 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
>



-- 
-----------------------------------------------------
Dharmendar Reddy Palle
Graduate Student
Microelectronics Research center,
University of Texas at Austin,
10100 Burnet Road, Bldg. 160
MER 2.608F, TX 78758-4445
e-mail: dharmareddy84 at gmail.com
Phone: +1-512-350-9082
United States of America.
Homepage: https://webspace.utexas.edu/~dpr342
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130408/621461da/attachment-0001.html>


More information about the petsc-users mailing list