[petsc-users] error: ‘DMSetSection’ was not declared in this scope

Ling Zou Ling.Zou at inl.gov
Wed Oct 10 11:41:51 CDT 2018


BTW, if I move the source file to:

petsc-3.10.2/src/dm/impls/plex/examples/tutorials


Using the makefile there, it compiles just fine.


Ling

________________________________
From: petsc-users <petsc-users-bounces at mcs.anl.gov> on behalf of Ling Zou <Ling.Zou at inl.gov>
Sent: Wednesday, October 10, 2018 10:35:37 AM
To: PETSc users list
Subject: [petsc-users] error: ‘DMSetSection’ was not declared in this scope


Hi All,


I am starting playing with DMPlex, but get this error:


error: ‘DMSetSection’ was not declared in this scope


However, other DMPlex basic functions work just fine, e.g.,

DMPlexCreateFluentFromFile

DMPlexCheckSymmetry

DMPlexCheckSkeleton

DMPlexCheckFaces

DMPlexGetChart

DMPlexGetHeightStratum


Is this function somewhat special?


PS: I am using cmake, and followed Jed's FindPETSc.cmake at https://github.com/jedbrown/cmake-modules/blob/master/FindPETSc.cmake<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_jedbrown_cmake-2Dmodules_blob_master_FindPETSc.cmake&d=DwMF-g&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=kuHHom1yjd94zUrBWecnYg&m=wpRJMLiF6hRbwE2a_dsAXp55Rw-IkQ-HAOQwTBee_cU&s=sOlqf87CtrvIcZleo9WzSyUDpHYbuat53hrtySkIzIo&e=>


Ling

[https://avatars1.githubusercontent.com/u/3303?s=400&v=4]<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_jedbrown_cmake-2Dmodules_blob_master_FindPETSc.cmake&d=DwMF-g&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=kuHHom1yjd94zUrBWecnYg&m=wpRJMLiF6hRbwE2a_dsAXp55Rw-IkQ-HAOQwTBee_cU&s=sOlqf87CtrvIcZleo9WzSyUDpHYbuat53hrtySkIzIo&e=>

jedbrown/cmake-modules - GitHub<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_jedbrown_cmake-2Dmodules_blob_master_FindPETSc.cmake&d=DwMF-g&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=kuHHom1yjd94zUrBWecnYg&m=wpRJMLiF6hRbwE2a_dsAXp55Rw-IkQ-HAOQwTBee_cU&s=sOlqf87CtrvIcZleo9WzSyUDpHYbuat53hrtySkIzIo&e=>
github.com
CMake modules for some scientific libraries. Contribute to jedbrown/cmake-modules development by creating an account on GitHub.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20181010/d3bc4a1a/attachment.html>


More information about the petsc-users mailing list