# What is the relationship between this code and libmesh?

**URL:** <https://community.freefem.org/t/what-is-the-relationship-between-this-code-and-libmesh/2231>\
**Category:** General Discussion\
**Created:** [January 19, 2023, 11:48pm UTC](https://community.freefem.org/t/what-is-the-relationship-between-this-code-and-libmesh/2231 "2023-01-19T23:48:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![marchywka](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@marchywka](https://community.freefem.org/u/marchywka)\
**Post date:** [January 19, 2023, 11:48pm UTC](https://community.freefem.org/t/what-is-the-relationship-between-this-code-and-libmesh/2231/1 "2023-01-19T23:48:41Z")

</div>

I had to get the complex petsc to install which was quite a task and I noticed  
libmesh is contained in the 3rd party stuff. I had played with this before  
to learn some FEM and thought it was an alrternative that I may revert  
to later. Does this use libmesh for the real work? lol.  
Thanks.

find -name “_libmesh_”  
./src/femlib/libmeshb7.c  
./src/femlib/.deps/libmeshb7.Po  
./src/femlib/libmeshb7.h  
./src/femlib/libmeshb7.o  
./src/libMesh/libmeshb7.c  
./src/libMesh/.deps/libmeshb7.Po  
./src/libMesh/libmeshb7.h  
./src/libMesh/libmeshb7.o  
./3rdparty/ff-petsc/petsc-3.18.2/config/BuildSystem/config/packages/ **pycache** /libmesh.cpython-35.pyc  
./3rdparty/ff-petsc/petsc-3.18.2/config/BuildSystem/config/packages/libmesh.py  
./3rdparty/include/libMesh/libmeshb7.h  
./3rdparty/mshmet/src/objects/libmeshb7.o  
./3rdparty/mshmet/src/sourceslib/libmeshb7.c  
./3rdparty/mshmet/src/sourceslib/libmeshb7.h  
./3rdparty/yams/freeyams.2012.02.05/sources/libmesh3.c  
./3rdparty/yams/freeyams.2012.02.05/sources/libmesh3.h  
./3rdparty/yams/freeyams.2012.02.05/objects/libmesh3.o  
./3rdparty/yams/freeyams.2012.02.05/sourceslib/libmesh3.c  
./3rdparty/yams/freeyams.2012.02.05/sourceslib/libmesh3.h  
./plugin/seq/include/libmeshb7.h

---

<div class="post-metadata">

**Author:** ![prj](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@prj](https://community.freefem.org/u/prj)\
**Post date:** [January 20, 2023, 6:27am UTC](https://community.freefem.org/t/what-is-the-relationship-between-this-code-and-libmesh/2231/2 "2023-01-20T06:27:15Z")

</div>

This is [GitHub - LoicMarechal/libMeshb: A library to handle the \*.meshb file format.](https://github.com/LoicMarechal/libMeshb), not [https://libmesh.github.io](https://libmesh.github.io), just look at the files…

---

<div class="post-metadata">

**Author:** ![marchywka](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@marchywka](https://community.freefem.org/u/marchywka)\
**Post date:** [January 20, 2023, 9:10am UTC](https://community.freefem.org/t/what-is-the-relationship-between-this-code-and-libmesh/2231/3 "2023-01-20T09:10:38Z")

</div>

Oh, sorry I’ve been looking at too much code… : ) I thought that was libmesh as in this lol,

[https://libmesh.github.io/](https://libmesh.github.io/)

Thanks.

---

<div class="post-metadata">

**Author:** ![marchywka](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@marchywka](https://community.freefem.org/u/marchywka)\
**Post date:** [January 20, 2023, 2:58pm UTC](https://community.freefem.org/t/what-is-the-relationship-between-this-code-and-libmesh/2231/4 "2023-01-20T14:58:36Z")

</div>

It does look like there is a libmesh included somewhere but I’ll  
need to look later. My cmake was too old and everyone seems to have  
a  
different MPI - ihave openmpi and mpic++ and probably others…  
It looks like it is passing most build tests again but still not out of the woods 🙂
