Teaching Parallel and Distributed Computing Concepts Using OpenMPI and Java

Teaching Parallel and Distributed Computing Concepts Using OpenMPI and Java
复制标题

DOI:
10.1109/hipcw54834.2021.00008
复制
发表时间:
2021-12
期刊:
2021 IEEE 28th International Conference on High Performance Computing, Data and Analytics Workshop (HiPCW)
影响因子:
--
通讯作者:
Joel C. Adams
Joel C. Adams
中科院分区:
其他
文献类型:
--
作者:
Joel C. Adams

文献摘要

被引文献

相似文献

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概念提供了一种新的方法。
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.