arrow
返回

Teaching distributed memory programming from mental models

delete2018-08-01
delete0
PRE
AI
V
Victor Eijkhout *
DOI:10.1016/j.jpdc.2018.02.029delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Distributed memory programming, typically through the MPI library, is the de facto standard for programming large scale parallelism, with up to millions of individual processes. Its dominant paradigm of Single Program Multiple Data (SPMD) programming is different from threaded and multicore parallelism, to an extent that students have a hard time switching models. In contrast to threaded programming, which allows for a view of the execution with central control and a central repository of data, SPMD programming has a symmetric model where all processes are active all the time, with none privileged, and where data is distributed. This model is counterintuitive to the novice parallel programmer, so care needs to be taken how to instill the proper 'mental model'. Adoption of an incorrect mental model leads to broken or inefficient code. We identify problems with the currently common way of teaching MPI, and propose a structuring of MPI courses that is geared to explicit reinforcing the symmetric model. Additionally, we advocate starting from realistic scenarios, rather than writing artificial code just to exercise newly-learned routines. (C) 2018 Published by Elsevier Inc.
Keyword:
Parallel programming
Teaching parallel programming
Distributed memory
Mental models
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

Journal of Parallel and Distributed Computing 封面图
Journal of Parallel and Distributed Computing
IF:
4
论文数:
3.8K
被引数:
4.8K

机构

U
university of texas system
学者数:
18.5W
论文数: 15.6W
被引数: 210
引用论文

引用论文

Is serum bilirubin associated with the severity of Guillain–Barré syndrome?
err2017-12-01
err0
PREAI
errXiaohong Li; Wenchao Li; Xiang Shi; Lijun Mo; Yuzhen Luo; Liuqun Qin; Zheng Yang; Wuning Mo
err分享
err收藏
err分享
err收藏