Navigation and service

Usage of MUMPS on JUWELS

MUMPS version 5.1.2 has been installed on JUWELS with Intel compiler and ParastationMPI, IntelMPI, and OpenMPI and with GCC and ParaStationMPI and OpenMPI

MUMPS version 5.3.1 is available in Stages/Devel-2019. To access that version say

ml use $OTHERSTAGES
ml load Stages/Devel-2019a

To use the MUMPS library you have to say

module load intel-para [Intel IntelMPI] [GCC ParaStationMPI]
module load MUMPS/5.1.2

The object files of MUMPS are stored in four different libraries:

LibraryPrecision
libsmumps.asingle precision real
libdmumps.adouble precision real
libcmumps.a single precision complex
libzmumps.adouble precision complex

To compile and link (for example) the single precision real FORTRAN example the following steps are necessary:

module load intel-para
module load MUMPS/5.1.2
cp $MUMPS_ROOT/examples/ssimpletest.F .
cp $MUMPS_ROOT/examples/Make* .
make s

To compile and link the C example for double precision real the following steps are necessary:

module load intel-para
module load MUMPS/5.1.2
cp $MUMPS_ROOT/examples/c_example.c .
cp $MUMPS_ROOT/examples/dsimpletest.F .
cp $MUMPS_ROOT/examples/Make* .
make d

You then can run the examples either interactively when you accessed an interactive partition or submit a batch job containing the following lines:

#!/bin/bash -x
#SBATCH --nodes=1
#SBATCH --ntasks=4
#SBATCH --time=00:10:00
#SBATCH --partition=batch

srun -n 4 ./ssimpletest
srun -n 4 ./c_example