How To Install libsuperlu-dist8 on Debian 12

Learn how to install libsuperlu-dist8 on Debian 12 with this tutorial. libsuperlu-dist8 is Highly distributed solution of sparse linear equations

Introduction

In this tutorial we learn how to install libsuperlu-dist8 on Debian 12.

What is libsuperlu-dist8

libsuperlu-dist8 is:

SuperLU is a general purpose library for the direct solution of large, sparse, nonsymmetric systems of linear equations. The library is written in C and is callable from either C or Fortran program. It uses MPI, OpenMP and CUDA to support various forms of parallelism. It supports both real and complex datatypes, both single and double precision, and 64-bit integer indexing. The library routines performs an LU decomposition with partial pivoting and triangular system solves through forward and back substitution. The LU factorization routines can handle non-square matrices but the triangular solves are performed only for square matrices. The matrix columns may be preordered (before factorization) either through library or user supplied routines. This preordering for sparsity is completely separate from the factorization. Working precision iterative refinement subroutines are provided for improved backward stability. Routines are also provided to equilibrate the system, estimate the condition number, calculate the relative backward error, and estimate error bounds for the refined solutions.

SuperLU_DIST implements the algorithms for distributed memory, targetting highly parallel distributed memory hybrid systems. The numerical factorization routines are already implemented for hybrid systems with multiple GPUs. Further work will be needed to implement the other phases of the algorithms on the hybrid systems and to enhance strong scaling to extreme scale.

The main library is libsuperlu_dist.so but a fortran wrapper library is also provided as libsuperlu_dist_fortran.so

This package provides the superlu-dist and superlu_dist_fortran shared libraries.

There are three methods to install libsuperlu-dist8 on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libsuperlu-dist8 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libsuperlu-dist8 using apt-get by running the following command:

sudo apt-get -y install libsuperlu-dist8

Install libsuperlu-dist8 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libsuperlu-dist8 using apt by running the following command:

sudo apt -y install libsuperlu-dist8

Install libsuperlu-dist8 Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libsuperlu-dist8 using aptitude by running the following command:

sudo aptitude -y install libsuperlu-dist8

How To Uninstall libsuperlu-dist8 on Debian 12

To uninstall only the libsuperlu-dist8 package we can use the following command:

sudo apt-get remove libsuperlu-dist8

Uninstall libsuperlu-dist8 And Its Dependencies

To uninstall libsuperlu-dist8 and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libsuperlu-dist8

Remove libsuperlu-dist8 Configurations and Data

To remove libsuperlu-dist8 configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libsuperlu-dist8

Remove libsuperlu-dist8 configuration, data, and all of its dependencies

We can use the following command to remove libsuperlu-dist8 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libsuperlu-dist8

Dependencies

libsuperlu-dist8 have the following dependencies:

References

Summary

In this tutorial we learn how to install libsuperlu-dist8 package on Debian 12 using different package management tools: apt, apt-get and aptitude.