libMesh is an open source finite element library that MOOSE heavily relies on. Because of this tight dependency, a version of libMesh that has been vetted by the MOOSE team is distributed directly with MOOSE. From time to time the MOOSE team will send notices out (using the moose-users mailing list) telling you that libMesh has been changed you need to rebuild it as detailed below.

First, Update MOOSE

To update your copy of MOOSE:

  • If you are using the SVN repository from INL then just go to the trunk directory do svn up
  • If you are using a clone of the official MOOSE repository (idaholab/moose) from GitHub go into your moose directory and run git pull --rebase origin master
  • If you are using a Fork of MOOSE from GitHub then run git pull --rebase upstream devel

Update libMesh

After you have updated MOOSE go into the "moose" directory (if you're not there already) and run:


Dealing with an update failure when using the GitHub repo

If your connection gets interrupted or fails in any way, you might receive errors when running the script a subsequent time. If this occurs, simply remove the libmesh directory an run the script once more. DO NOT delete your libmesh directory if you are using the internal SVN repository.

rm -rf libmesh

libMesh Documentation

The libMesh documentation can be found here

See also