 # Catalogue des formations en calcul SAISIE
API

## Introduction to ScaLAPACK and MAGMA libraries 08 Jui - 09 Jui 2020 Paris, France Cours/TP

Cette formation fait partie du calendrier PATC France
Cadre de la formation : How to go to Idris: http://www.idris.fr/eng/info/contacts/alleridris-eng.html Registration to all PATC courses is free.

### Mots Clefs

• Analyse numérique
• Calcul Scientifique
• Fortran
• GPU
• HPC
• Langage C
• MAGMA
• MPI
• ScaLAPACK
• Simulation numérique

### Orateurs

Simplice Donfack, Karim Hasnaoui

### Objectifs

The aim of this course is to introduced the basic usages of the ScaLAPACK and MAGMA libraries

### Contenu

ScaLAPACK :

The ScaLAPACK (Scalable Linear Algebra PACKage) is a library for high-performance dense linear algebra based on routines for distributed-memory message passing computers. It is mostly based on a subset of LAPACK (Linear Algebra PACKage) and BLAS (Basic Linear Algebra Subprograms) routines redesigned for distributed memory MIMD parallel computers where all the MPI communications are handled by routines provided by the BLACS (Basic Linear Algebra Communication Subprograms) library.
The lecture will be mostly based on how to use the PBLAS (Parallel BLAS) and ScaLAPACK libraries for linear algebra problems in HPC:
- General introduction about the PBLAS and ScaLAPACK libraries
- Main ideas how to decompose the linear algebra problems in parallel programming
- Examples of basic operations with PBLAS : vector-vector, vector-matrix and matrix-matrix operations
- Examples of basic operations with ScaLAPACK : inversion and diagonalization
- Main problem based on calculating an exponentiation of a matrix

MAGMA:

In the second part of the course, we present MAGMA (Matrix Algebra on GPU and Multicore Architectures) , a dense linear algebra library similar to LAPACK but for hybrid/heterogeneous architectures. We start by presenting basic concepts of GPU architecture and giving an overview of communication schemes between CPUs and GPUs. Then, we briefly present hybrid CPU/GPU programming models using the CUDA language. Finally, we present MAGMA and how it can be used to easily and efficiently accelerate scientific codes, particularly those already using BLAS and LAPACK.

Trainers:
- Donfack Simplice (MAGMA)
- Hasnaoui Karim (ScaLAPACK)

### Prérequis

C or C++ and Fortran programming.
Notions of linear algebra, as well as notions of MPI, would be an asset.

### Entités contributrices

• IDRIS
• Maison de la Simulation

### Contacts

Contact principal : Karim Hasnaoui

Autres contacts : Karim Hasnaoui

Mèl de contact : patc@maisondelasimulation.fr