4.3.1.1. CMake
Purpose
Cmake is a build system that manages the dependencies of the Fortran and C code.
Compatibility
DAMASK requires CMake
version 3.10 or later.
Installation
There are at least 3 ways how to install CMake.
Distribution package
CMake is generally available as a package on Unix-based operating systems.
However, it is important to have a recent version that supports Fortran submodules.
Ubuntu 18.04 packages
Automated installation by PETSc
PETSc offers the possibility to download, configure, and install CMake.
See the
PETSc manual for further instructions.
Download the bianries
The binaries are for download on
cmake.org.
Make sure that the downloaded binary is used by PETSc, e.g. by putting it into the $PATH variable or by explicitly telling PETSc where it is located.