Mumps

Linux

Using standard Debian packages

For sequential version, install package libmumps-seq-dev. For parallel version, install libmumps-dev (this will require some changes in Hermes CMake configuration). In Ubuntu, you can use the Synaptic package manager for that, or type:

sudo apt-get install libmumps-seq-dev

for the sequential version and

sudo apt-get install libmumps-dev

for the parallel one.

Now go to the directory with Hermes. Create the file CMake.vars with the following line (or append to the existing one):

set(WITH_MUMPS YES)

Finally execute:

rm CMakeCache.txt
cmake .
make

Find more about Using MUMPS in Hermes.

Windows MSVC

Installation of MUMPS using MSVC is rather easy:

  • preparation
  • installation
    • copy the downloaded BLAS library to ‘bin’ and ‘lib’ dependencies directory respectively. Please not that the name of the static library (static part of the dynamic library) should be either blas.lib, or libblas.lib
    • unzip MUMPS and WinMUMPS
    • execute “python winmumps_generator.py” from WinMUMPS providing the options needed (type -h for help)
    • this will generate several C++ project files (.vcxproj) and several Fortran project files (.vfproj)
    • open one of them and add the rest to the solution
    • build the solution in your desired configuration (Win32 or x64, Debug or Release)
    • this will place the libraries into MUMPS_4.10.0libDebugWin32(or alternatively for other configurations)
    • copy those to ‘lib’ dependencies directory
    • copy the contents of MUMPS_4.10.0includeto ‘include’ dependencies directory

Mac OS

Help needed!

Using MUMPS in Hermes

After the installation has been completed, you may select SOLVER_MUMPS as the matrix solver for your finite element problem, as detailed in the Poisson tutorial (in tutorial found on Hermes website), or use it just to solve a standalone matrix problem Ax = b.

Table Of Contents

Previous topic

Installation of Matrix Solvers

Next topic

PETSc