[petsc-dev] Fortran Interface DMPlexCreateLabel

Matthew Knepley knepley at gmail.com
Thu Mar 7 19:28:09 CST 2013


On Thu, Mar 7, 2013 at 6:59 PM, Dharmendar Reddy <dharmareddy84 at gmail.com>wrote:

> got it. So i do not have to directly create label, If i
> DMPlexSetLabelValue, it will create the label if it does not exist.Am i
> right ? is this always the way to use it?


Yep, this is the easy way. DMPlexCreateLabel() can be used to make
sure that every process creates the label, even if no points are in it.

   Matt


> On Thu, Mar 7, 2013 at 5:26 PM, Dharmendar Reddy <dharmareddy84 at gmail.com>wrote:
>
>> Hello,
>>         When i call DMPlexCreateLabel from my fortran code, i get the
>> following error:
>>
>> petscDMTest.o: In function `MAIN__':
>> petscDMTest.F90:(.text+0x11be): undefined reference to
>> `dmplexcreatelabel_'
>> make: [testDMMesh] Error 1 (ignored)
>>
>> Is the Fortran interface missing ?
>>
>> Thanks
>> Reddy
>>
>> --
>> -----------------------------------------------------
>> 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
>>
>
>
>
> --
> -----------------------------------------------------
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130307/f04b0353/attachment.html>


More information about the petsc-dev mailing list