# An error occurs when I want to access the mesh information directly

**URL:** <https://precice.discourse.group/t/an-error-occurs-when-i-want-to-access-the-mesh-information-directly/1386>\
**Category:** Using preCICE\
**Tags:** immersed-boundary, direct-mesh-access, fortran\
**Created:** [April 24, 2023, 5:35am UTC](https://precice.discourse.group/t/an-error-occurs-when-i-want-to-access-the-mesh-information-directly/1386 "2023-04-24T05:35:52Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![wufanxiaozi](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/wufanxiaozi/32/1643_2.png) [@wufanxiaozi](https://precice.discourse.group/u/wufanxiaozi)\
**Post date:** [April 24, 2023, 5:55am UTC](https://precice.discourse.group/t/an-error-occurs-when-i-want-to-access-the-mesh-information-directly/1386/2 "2023-04-24T05:55:15Z")

</div>

No error is reported for other precice’s subroutine used, but when using this function，I received an error “undefined reference to `precicef\_get\_mesh\_vertices\_and\_ids\_'”

---

_[View the full topic](https://precice.discourse.group/t/an-error-occurs-when-i-want-to-access-the-mesh-information-directly/1386)._
