changed 3 years ago
Linked with GitHub

MUMPS on Rackham - hybrid, no tools

Version: 2022.08.11

https://github.com/scivision/mumps

Installation/compiling

# Modules
module load gcc/11.2.0 openmpi/4.1.2 cmake/3.22.2

# Git clone
git clone https://github.com/scivision/mumps.git
cd mumps

# Compiling Scalapack
cmake -S scripts -B scripts/build -DCMAKE_INSTALL_PREFIX=/crex/USER/RT-support/RT-2022.08.11-257809-MUMPS/libs
cmake --build scripts/build

# Compiling MUMPS
cmake -Dopenmp=true -DCMAKE_INSTALL_PREFIX=/crex/USER/RT-support/RT-2022.08.11-257809-MUMPS/libs -DCMAKE_PREFIX_PATH=/crex/USER/RT-support/RT-2022.08.11-257809-MUMPS/libs -B build
# --target install necessary to install the files
cmake --build build --target install

Last lines output

...
[ 98%] Linking Fortran static library ../../../libdmumps.a
[ 98%] Built target dmumps
Scanning dependencies of target mumpscfg
[ 99%] Building Fortran object test/CMakeFiles/mumpscfg.dir/test_mumps.f90.o
[ 99%] Linking Fortran executable mumpscfg
[ 99%] Built target mumpscfg
Scanning dependencies of target s_simple
[ 99%] Building Fortran object test/CMakeFiles/s_simple.dir/s_simple.f90.o
[ 99%] Linking Fortran executable s_simple
[ 99%] Built target s_simple
Scanning dependencies of target d_simple
[100%] Building Fortran object test/CMakeFiles/d_simple.dir/d_simple.f90.o
[100%] Linking Fortran executable d_simple
[100%] Built target d_simple
[100%] Building C object test/CMakeFiles/Csimple.dir/simple.c.o
[100%] Linking C executable Csimple
[100%] Built target Csimple

Install the project...   
-- Install configuration: "Release"             
-- Installing: /crex/USER/RT-support/RT-2022.08.11-257809-MUMPS/libs/cmake/FindLAPACK.cmake                                                          
-- Installing: /crex/USER/RT-support/RT-2022.08.11-257809-MUMPS/libs/cmake/FindSCALAPACK.cmake
-- Installing: /crex/USER/RT-support/RT-2022.08.11-257809-MUMPS/libs/cmake/FindMETIS.cmake
-- Installing: /crex/USER/RT-support/RT-2022.08.11-257809-MUMPS/libs/cmake/FindScotch.cmake
-- Installing: /crex/USER/RT-support/RT-2022.08.11-257809-MUMPS/libs/cmake/FindMUMPS.cmake
-- Installing: /crex/USER/RT-support/RT-2022.08.11-257809-MUMPS/libs/lib64/libpord.a
-- Installing: /crex/USER/RT-support/RT-2022.08.11-257809-MUMPS/libs/lib64/libmumps_common.a
-- Installing: /crex/USER/RT-support/RT-2022.08.11-257809-MUMPS/libs/lib64/libsmumps.a
-- Installing: /crex/USER/RT-support/RT-2022.08.11-257809-MUMPS/libs/include/smumps_c.h
-- Installing: /crex/USER/RT-support/RT-2022.08.11-257809-MUMPS/libs/include/smumps_root.h
-- Installing: /crex/USER/RT-support/RT-2022.08.11-257809-MUMPS/libs/include/smumps_struc.h
-- Installing: /crex/USER/RT-support/RT-2022.08.11-257809-MUMPS/libs/include/mumps_int_def.h
-- Installing: /crex/USER/RT-support/RT-2022.08.11-257809-MUMPS/libs/lib64/libdmumps.a
-- Installing: /crex/USER/RT-support/RT-2022.08.11-257809-MUMPS/libs/include/dmumps_c.h
-- Installing: /crex/USER/RT-support/RT-2022.08.11-257809-MUMPS/libs/include/dmumps_root.h
-- Installing: /crex/USER/RT-support/RT-2022.08.11-257809-MUMPS/libs/include/dmumps_struc.h
-- Up-to-date: /crex/USER/RT-support/RT-2022.08.11-257809-MUMPS/libs/include/mumps_int_def.h
-- Installing: /crex/USER/RT-support/RT-2022.08.11-257809-MUMPS/libs/include/mumps_c_types.h
-- Installing: /crex/USER/RT-support/RT-2022.08.11-257809-MUMPS/libs/include/mumps_compat.h
-- Installing: /crex/USER/RT-support/RT-2022.08.11-257809-MUMPS/libs/cmake/MUMPS-targets.cmake
-- Installing: /crex/USER/RT-support/RT-2022.08.11-257809-MUMPS/libs/cmake/MUMPS-targets-release.cmake
-- Installing: /crex/USER/RT-support/RT-2022.08.11-257809-MUMPS/libs/cmake/MUMPSConfig.cmake
-- Installing: /crex/USER/RT-support/RT-2022.08.11-257809-MUMPS/libs/cmake/MUMPSConfigVersion.cmake
-- Installing: /crex/USER/RT-support/RT-2022.08.11-257809-MUMPS/libs/share/docs/MUMPS/README.md
-- Installing: /crex/USER/RT-support/RT-2022.08.11-257809-MUMPS/libs/share/docs/MUMPS/LICENSE

:tada:

tree RT-support/RT-2022.08.11-257809-MUMPS/libs

├── cmake
│   ├── FindLAPACK.cmake
│   ├── FindMETIS.cmake
│   ├── FindMUMPS.cmake
│   ├── FindSCALAPACK.cmake
│   ├── FindScotch.cmake
│   ├── LAPACKConfig.cmake
│   ├── LAPACKConfigVersion.cmake
│   ├── LAPACK-targets.cmake
│   ├── LAPACK-targets-release.cmake
│   ├── MUMPSConfig.cmake
│   ├── MUMPSConfigVersion.cmake
│   ├── MUMPS-targets.cmake
│   ├── MUMPS-targets-release.cmake
│   ├── SCALAPACKConfig.cmake
│   ├── SCALAPACKConfigVersion.cmake
│   ├── SCALAPACK-targets.cmake
│   └── SCALAPACK-targets-release.cmake
├── include
│   ├── dmumps_c.h
│   ├── dmumps_root.h
│   ├── dmumps_struc.h
│   ├── mumps_compat.h
│   ├── mumps_c_types.h
│   ├── mumps_int_def.h
│   ├── smumps_c.h
│   ├── smumps_root.h
│   └── smumps_struc.h
├── lib64
│   ├── libblacs.a
│   ├── libblas.a
│   ├── libdmumps.a
│   ├── liblapack.a
│   ├── libmumps_common.a
│   ├── libpord.a
│   ├── libscalapack.a
│   └── libsmumps.a
└── share
    └── docs
        ├── LAPACK
        │   ├── LICENSE
        │   └── README.md
        ├── MUMPS
        │   ├── LICENSE
        │   └── README.md
        └── SCALAPACK
            ├── LICENSE
            └── README.md

Contacts:


tags: UPPMAX, SNIC, MUMPS
Select a repo