scivision / scotch-cmake

Access / autobuild Scotch as CMake ExternalProject

Home Page:https://gitlab.inria.fr/scotch/scotch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scotch CMake build

NOTE: Scotch 7.0 added the native ability to build with CMake, so this project is archived.


ci

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.

Usage

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.

Artifacts

Binary artifacts (test executables) are created under "build/".

  • bin: test exectuables
  • include: *.h headers
  • lib: esmumps, scotch, scotcherr, scotcherrexist, scotchmetis

Prereqs

A C99 compiler.

Linux

The names of these packages vary slightly depending on Linux distro. On Ubuntu:

apt install gcc cmake make

MacOS

assuming Homebrew is used:

brew install gcc cmake make

About

Access / autobuild Scotch as CMake ExternalProject

https://gitlab.inria.fr/scotch/scotch


Languages

Language:CMake 90.3%Language:Makefile 4.0%Language:Fortran 3.7%Language:C 2.1%