Parallel Programming (EN 601.320/420/620)
Syllabus in standard CS/JHU/ABET format. The material on this page mirrors that information.
This course prepares the programmer to tackle the massive data sets and huge problem size of modern scientific, cloud, and enterprise computing. Students taking this course will abandon the comfort of serial algorithmic thinking and learn to harness the power of cutting-edge software and hardware technologies. The issue of parallelism spans many architectural levels. Even “single server” systems must parallelize computation in order to exploit the inherent parallelism of recent multi-core processors and many-core accelerators. The course will examine different forms of parallelism in four sections. These are: (1) massive data-parallel computations with Dask, Hadoop! and Spark; (2) programming compute clusters with MPI; (3) shared memory parallelism with threads and OpenMP; and, (4) GPU parallel programming with machine learning toolkits. The course is designed to be suitable for second-year undergraduate CS majors and undergraduate and graduate students from other science and engineering disciplines that have prior programming experience. [Systems]
- Intermediate Programming (EN 601.120 or the equivalent)
- Data Structures (EN 601.226 or the equivalent)
- Computer Systems Fundamentals (EN 601.333 or the equivalent)
Students are responsible for all material and announcements on this course Web page and Piazza.
The guidelines of Johns Hopkins’ undergraduate ethics policy and graduate student conduct policy apply to all activities associated with this course. Additionally, students are subject to the Computer Science Academic Integrity Code.
Students are are encouraged to consult with each other and even collaborate on all programming assignments. This means that students may look at each other’s code, pair program, and even help each other debug. However, each assignment also involves questions that analyze the assignment and connect the program to course concepts. The answers to these questions must be prepared independently by each student and must be work that is solely their own.
MW 4:30 pm - 5:30 pm, Zoom link can be found in Blackboard.
Randal Burns, email@example.com, http://www.cs.jhu.edu/~randal/
- Office Hours:
Head Course Assistant
Katarina Mayer, firstname.lastname@example.org
- Office Hours:
- Wednesdays 5:30-7:30 pm, https://wse.zoom.us/j/91785569709
- by appointment (available to accommodate different timezones)
Brian Choi, email@example.com
- Office Hours:
- Fridays 1:00-3:00 pm, https://wse.zoom.us/j/94929090471
- Srishti Dhamija, firstname.lastname@example.org
- Mondays 5:30-7:00 pm, https://JHUBlueJays.zoom.us/j/97992626382
- Shriya Kaneriy, email@example.com
- Tuesdays 12:00-1:00 pm, https://JHUBlueJays.zoom.us/j/6501081353
- Matthew Brotman, firstname.lastname@example.org
- Tuesdays 1:30-3:00 pm, https://wse.zoom.us/j/454491108
- Meghana Madhyastha, email@example.com
- Thursdays 2:30-4:00 pm, https://wse.zoom.us/j/98415602566
Specific Outcomes for this course are that
- Take a computational task and construct an implementation that maximizes parallelism.
- Analyze and instrument an implementation of a computer program for its speedup, scaleup, and parallel efficiency.
- Reason about the loss of parallel efficiency and attribute that loss to factors, including startup costs, interference, and skew.
- Work with a diverse set of programming tools for different parallel environments, including cloud computing, high-performance computing, multicore, and GPU accelerators.
- Analyze how locality, latency, and coherency in the memory hierarchy influence parallel efficiency and improve program design based on the properties of memory.
This course will address the following CSAB ABET Criterion 3 Student Outcomes Graduates of the program will have an ability to:
- Analyze a complex computing problem and to apply principles of computing and other relevant disciplines to identify solutions.
- Design, implement, and evaluate a computing-based solution to meet a given set of computing requirements in the context of the program’s discipline.
- Apply computer science theory and software development fundamentals to produce computing-based solutions.
There is no specific formula for grading. Course staff look at several indexes over the class performance and then factors in class participation and evidence of learning trajectory to make a final decision that is subjective, but informed by statistics. There is no curve. Each student earns a grade that reflects their individual learning and performance in the class.
In Fall 2020, the University has implemented a choice for undergradautes to take courses pass/fail or for grades. Course staff will grade all assignments and give a letter grade to each student. The student’s election will not effect or change our process.
Requests for Regrades
A student should only request a regrade of an assessment if a technical error was made in grading. In this case, the student must clearly document the technical error associated with a specific problem and submit a written request for a regrade. Once an assessment grade is released, you will have two weeks to submit a regrade request.
Textbooks used in Course
The course does not follow a textbook. Lectures will refer to specific material from the following books that are available through the JHU Libraries.
Mattson, T. G., B. A. Sanders, and D. L. Massingill. Patterns for Parallel Programming. Addison-Wesley, 2004. This text is available online to Hopkins students https://learning.oreilly.com/library/view/patterns-for-parallel/0321228111/
Herlihy, M. and N. Shavit. The Art of Multiprocessor Programming. Morgan-Kaufmann, 2008. This text is available online to Hopkins students https://learning.oreilly.com/library/view/the-art-of/9780123973375/