NOTE: Scotch 7.0 added the native ability to build with CMake, so this project is archived.
Building Scotch as a CMake ExternalProject for easier use in CMake projects on Linux and MacOS. Windows has platform-specific issues, so it is probably easier to use Scotch via Windows Subsystem for Linux.
The CMake script uses GNU Make to build Scotch.
As with most CMake projects:
cmake -B build
cmake --build build
Since this project consumes Scotch as an
ExternalProject,
Scotch is downloaded, built, and tested on the cmake --build
command.
Binary artifacts (test executables) are created under "build/".
- bin: test exectuables
- include: *.h headers
- lib: esmumps, scotch, scotcherr, scotcherrexist, scotchmetis
A C99 compiler.
The names of these packages vary slightly depending on Linux distro. On Ubuntu:
apt install gcc cmake make
assuming Homebrew is used:
brew install gcc cmake make