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

Henri Casanova, Arnaud Legrand, Martin Quinson, Frederic Suter

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

5 Scopus citations

Abstract

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.

Original languageEnglish
Title of host publicationProceedings of EduHPC 2018
Subtitle of host publicationWorkshop on Education for High-Performance Computing, Held in conjunction with SC 2018: The International Conference for High Performance Computing, Networking, Storage and Analysis
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages21-30
Number of pages10
ISBN (Electronic)9781728101903
DOIs
StatePublished - Jul 2 2018
Externally publishedYes
Event2018 IEEE/ACM Workshop on Education for High-Performance Computing, EduHPC 2018 - Dallas, United States
Duration: Nov 12 2018 → …

Publication series

NameProceedings of EduHPC 2018: Workshop on Education for High-Performance Computing, Held in conjunction with SC 2018: The International Conference for High Performance Computing, Networking, Storage and Analysis

Conference

Conference2018 IEEE/ACM Workshop on Education for High-Performance Computing, EduHPC 2018
Country/TerritoryUnited States
CityDallas
Period11/12/18 → …

Funding

Some of the experiments in this work were carried out on the Grid’5000 experimental testbed, supported by a sci- entific interest group hosted by Inria and including CNRS, RENATER, and other Universities and organizations (see https://www.grid5000.fr). Part of this work was supported through the HAC SPECIS Inria Project Laboratory. Part of this work was supported by NSF under contracts #1642369 and #1642335, and by CNRS under grant #PICS07239.

FundersFunder number
National Science Foundation1642369, 1642335
Centre National de la Recherche Scientifique07239

    Keywords

    • High-Performance-Computing-Education
    • Message-Passing-Interface
    • Parallel-Computing-Education
    • Simulation

    Fingerprint

    Dive into the research topics of 'SMPI Courseware: Teaching Distributed-Memory Computing with MPI in Simulation'. Together they form a unique fingerprint.

    Cite this