SMPI Courseware: Teaching Distributed-Memory Computing with MPI in Simulation - Archive ouverte HAL
Communication Dans Un Congrès Année : 2018

SMPI Courseware: Teaching Distributed-Memory Computing with MPI in Simulation

Henri Casanova
  • Fonction : Auteur
Arnaud Legrand
  • Fonction : Auteur
Martin Quinson

Résumé

It is typical in High Performance Computing (HPC) courses to give students access to HPC platforms so that they can benefit from hands-on learning opportunities. Using such platforms, however, comes with logistical and pedagogical challenges. For instance, a logistical challenge is that access to representative platforms must be granted to students, which can be difficult for some institutions or course modalities; and a pedagogical challenge is that hands-on learning opportunities are constrained by the configurations of these platforms. A way to address these challenges is to instead simulate program executions on arbitrary HPC platform configurations. In this work we focus on simulation in the specific context of distributed-memory computing and MPI programming education. While using simulation in this context has been explored in previous works, our approach offers two crucial advantages. First, students write standard MPI programs and can both debug and analyze the performance of their programs in simulation mode. Second, large-scale executions can be simulated in short amounts of time on a single standard laptop computer. This is possible thanks to SMPI, an MPI simulator provided as part of SimGrid. After detailing the challenges involved when using HPC platforms for HPC education and providing background information about SMPI, we present SMPI Courseware. SMPI Courseware is a set of in-simulation assignments that can be incorporated into HPC courses to provide students with hands-on experience for distributed-memory computing and MPI programming learning objectives. We describe some these assignments, highlighting how simulation with SMPI enhances the student learning experience.
Fichier non déposé

Dates et versions

hal-04480028 , version 1 (27-02-2024)

Identifiants

Citer

Henri Casanova, Arnaud Legrand, Martin Quinson, Frederic Suter. SMPI Courseware: Teaching Distributed-Memory Computing with MPI in Simulation. EduHPC-18 - Workshop on Education for High-Performance Computing, Nov 2018, Dallas, United States. ⟨10.1109/eduhpc.2018.00006⟩. ⟨hal-04480028⟩
9 Consultations
0 Téléchargements

Altmetric

Partager

More