v0.14.0 |
We prefer to use the scripts provided below to install user version or developer version of MoFEM with Spack as a package manager.
We do recommend you to use the scripts below for installation; however, if you would like to read about different ways to install MoFEM, you can have a look at Installation with Spack (Advanced)
User version of MoFEM installation provides only binary files (not the source codes) that allow users to run analyses in MoFEM straightaway. You may wish follow these steps for installation that will include binary (executable) files of Basic User Module and Fracture Module
install_mofem_user.sh
elasticity
program fracture_mechanics
program Developer version of MoFEM installation provides you with highest flexibility with all the source codes. You can experiment the codes, create your own module, and always stay up-to-date to the latest developement of MoFEM. You may wish to follow these steps for installation that will include source code and executables of Core Library, Basic User Module, and Fracture Module with both release and debug build types
install_mofem_developer.sh
Test run elasticity
program
where abcd1234
in um-build-RelWithDebInfo-abcd1234
is the package hash and can different every time you install MoFEM.
fracture_mechanics
program For developer, you may wish to have a look at these two tutorials to compile codes and add new module in MoFEM