Hello, I am trying to use DMMeshCreateMeshFromAdjacency in a Fortran code. I get undefined reference error. I include the following file in my program #include "finclude/petsc.h90"
I see that fortran interface to DMMeshCreateMeshFromAdjacency is defined only in finclude/ftn-auto/petscdmmesh.h90 I am not able to figure out if PETSC_USE_FORTRAN_INTERFACES is defined. I did not compile the code. I am runing the code on TACC stampede. I tried adding #define PETSC_USE_FORTRAN_INTERFACES 1 in my program before the petsc inlcude line but i still get error. 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130302/c53cf8ad/attachment.html>