Teaching parallel programming using Java

Aamir Shafi, Aleem Akhtar, Ansar Javed, David Bryan Carpenter

Research output: Chapter in Book/Report/Conference proceedingConference contribution


This paper presents an overview of the "Applied Parallel Computing" course taught to final year Software Engineering undergraduate students in Spring 2014 at NUST, Pakistan. The main objective of the course was to introduce practical parallel programming tools and techniques for shared and distributed memory concurrent systems. A unique aspect of the course was that Java was used as the principle programming language. The course was divided into three sections. The first section covered parallel programming techniques for shared memory systems including multicore and Symmetric Multi-Processor (SMP) systems. In this section, Java threads API was taught as a viable programming model for such systems. The second section was dedicated to parallel programming tools meant for distributed memory systems including clusters and network of computers. We used MPJ Express---a Java MPI library---for conducting programming assignments and lab work for this section. The third and the final section introduced advanced topics including the MapReduce programming model using Hadoop and the General Purpose Computing on Graphics Processing Units (GPGPU).
Original languageEnglish
Title of host publicationEduHPC '14 Proceedings of the Workshop on Education for High-Performance Computing
Place of PublicationPiscataway
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Print)9781479970216
Publication statusPublished - 2014
Event2014 Workshop on Education for High Performance Computing (EduHPC) - Louisiana, New Orleans, United States
Duration: 16 Nov 201416 Nov 2014


Workshop2014 Workshop on Education for High Performance Computing (EduHPC)
Country/TerritoryUnited States
CityNew Orleans


Dive into the research topics of 'Teaching parallel programming using Java'. Together they form a unique fingerprint.

Cite this