Teaching Parallel and Distributed Computing Concepts Using OpenMPI and Java

Joel C. Adams
{"title":"Teaching Parallel and Distributed Computing Concepts Using OpenMPI and Java","authors":"Joel C. Adams","doi":"10.1109/HiPCW54834.2021.00008","DOIUrl":null,"url":null,"abstract":"The ACM/IEEE CS 2013 curriculum recommendations state that every undergraduate CS major should learn about parallel and distributed computing (PDC). One way to accomplish this is to teach students about the Message Passing Interface (MPI), a platform that is commonly used on modern supercomputers and Beowulf clusters, but can also be used on a Network of Workstations (NoW), or a multicore laptop or desktop. MPI incorporates many PDC concepts and can serve as a platform for hands-on learning activities in which students must apply those concepts. The MPI standard defines language bindings for Fortran and C/C++, but many university instructors lack expertise in these languages, preventing them from using MPI in their courses. OpenMPI is a free implementation of the MPI standard that also provides Java bindings for MPI. This paper describes how to install OpenMPI with these Java bindings; to illustrate the use of these bindings, the paper also presents several patternlets-minimalist example programs-that show how to implement PDC design patterns using OpenMPI and Java. This provides a new means of introducing students to PDC concepts.","PeriodicalId":227669,"journal":{"name":"2021 IEEE 28th International Conference on High Performance Computing, Data and Analytics Workshop (HiPCW)","volume":"28 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 IEEE 28th International Conference on High Performance Computing, Data and Analytics Workshop (HiPCW)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/HiPCW54834.2021.00008","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

The ACM/IEEE CS 2013 curriculum recommendations state that every undergraduate CS major should learn about parallel and distributed computing (PDC). One way to accomplish this is to teach students about the Message Passing Interface (MPI), a platform that is commonly used on modern supercomputers and Beowulf clusters, but can also be used on a Network of Workstations (NoW), or a multicore laptop or desktop. MPI incorporates many PDC concepts and can serve as a platform for hands-on learning activities in which students must apply those concepts. The MPI standard defines language bindings for Fortran and C/C++, but many university instructors lack expertise in these languages, preventing them from using MPI in their courses. OpenMPI is a free implementation of the MPI standard that also provides Java bindings for MPI. This paper describes how to install OpenMPI with these Java bindings; to illustrate the use of these bindings, the paper also presents several patternlets-minimalist example programs-that show how to implement PDC design patterns using OpenMPI and Java. This provides a new means of introducing students to PDC concepts.
利用OpenMPI和Java讲授并行和分布式计算概念
ACM/IEEE CS 2013课程建议指出,每个CS专业的本科生都应该学习并行和分布式计算(PDC)。实现这一目标的一种方法是向学生讲授消息传递接口(MPI),这是一种通常用于现代超级计算机和Beowulf集群的平台,但也可以用于工作站网络(NoW)、多核笔记本电脑或台式机。MPI结合了许多PDC概念,可以作为实践学习活动的平台,学生必须在这些活动中应用这些概念。MPI标准为Fortran和C/ c++定义了语言绑定,但许多大学教师缺乏这些语言的专业知识,这使他们无法在课程中使用MPI。OpenMPI是MPI标准的免费实现,它还为MPI提供了Java绑定。本文描述了如何使用这些Java绑定安装OpenMPI;为了说明这些绑定的使用,本文还介绍了几个模式集(极简示例程序),它们展示了如何使用OpenMPI和Java实现PDC设计模式。这为学生介绍PDC概念提供了一种新的方法。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信