Install libmumps-scotch-5.1.2 by entering the following commands in the terminal:
sudo apt update sudo apt install libmumps-scotch-5.1.2
Direct linear systems solver - Scotch-version shared libraries
MUMPS implements a direct solver for large sparse linear systems, with a particular focus on symmetric positive definite matrices. It can operate on distributed matrices e.g. over a cluster. It has Fortran and C interfaces, and can interface with ordering tools such as Scotch. . This package is built the MUMPS libseq dummy sequential MPI library with scotch support. Unless you know that you specifically need this, then you almost certainly want the libmumps-5.1.2 package.