Parallelization of the Knapsack Problem as an Introductory Experience in Parallel Computing

David Toth, Michael Crawford
2013 The Journal of Computational Science Education  
As part of a parallel computing course where undergraduate students learned parallel computing techniques and got to run their programs on a supercomputer, one student designed and implemented a sequential algorithm and two versions of a parallel algorithm to solve the knapsack problem. Performance tests of the programs were conducted on the Ranger supercomputer. The performance of the sequential and parallel implementations was compared to determine speedup and efficiency. We observed 82%-86%
more » ... fficiency for the MPI version and 89% efficiency for the OpenMP version for sufficiently large inputs to the problem. Additionally, we discuss both the student and faculty member's reflections about the experience.
doi:10.22369/issn.2153-4136/4/1/6 fatcat:i5mv7fashnc5rjtkzrt2rpdk6a