CSS 534: Parallel Programming in Grid and Cloud
Autumn 2018
TTh 545-745pm at UW2-240
Prof. Munehiro Fukuda
This course closely examines programming methodology and middleware used for parallel computing in grid and cloud systems, and develops your programming skills high enough to design and build application-specific parallel software with up-to-date grid and cloud programming environments.
Topics covered include:
For each of the topics, we will cover the background and motivation, programming and design theory, and current technology implementation in grid and cloud. Each lecture will advance your parallel-programming knowledge and skills through in-class discussions and laboratory hands-on programming exercises.
Five programming assignments are given:
Course Work | Percentage | Achievements | Approximately Corresponding Numeric Grade |
Programming 1 | 15% | 90s | 3.5 - 4.0 |
Programming 2 | 15% | 80s | 2.5 - 3.4 |
Programming 3 | 15% | 70s | 1.7 - 2.4 |
Programming 4 | 15% | 60s or below | 0.0 - 1.6 |
Programming 5 | 20% | ||
Midterm Exam | 10% | ||
Final Exam | 10% |
Although post-lecture laboratory work can be done in collaboration, all programming assignments 1 through to 4 are to be done independently. Any collaboration of work will result in severe penalty. You may discuss the problem statement and any clarification with each other, but any actual work to be turned in must be done without collaboration.
Any homework is due at the beginning of class on the due date. The submission may be postponed only in emergencies such as accidents, sickness, sudden business trips, and family emergencies, in which case you may turn in your homework late with a written proof. No make-up exams will be given except under exceptional circumstances. Barring emergencies, I must be informed before the exam.
To request academic accommodations due to a disability, please contact Disability Resources for Students (DRS) in UW1-071, (email: rosal@uw.edu, Phone: 425-352-5307, and FAX: 425-352-5114). If you have a documented disability on file with the DRS office, please have your DRS counselor contact me and we can discuss accommodations.
Week | Date | Topics | Sessions | Readings | Assignment |
---|---|---|---|---|---|
0 | Sept 27 | System Models SMP, clusters, hybrid systems, grid, and cloud |
Discussion 1 (Grid vs Cloud, Why shared memory couldn't gain popularity) |
Patterns Ch 2: Background and Jargon of Parallel Computing CDK4 Ch 2: System Models | |
1 | Oct 2 | Programming Foundations Intro to shared memory, messag passing, embarassingly parallel, divide and conquer, pipeline, and synhcronization |
Discussion 2 (Implementation of data parallelism, Fault tolerance) |
MPI Ch 1: Introduction | |
Oct 4 | Share Memory Programming 1 Loop parallelism, multi-processes, multi-threads, and OpenMP |
Laboratory 1 (OpenMP) |
Patterns Appx A: Intro to OpenMP OpenMP Ch 1: Introduction OpenMP Ch 3: Writing a First OpenMP Program OpenMP Ch 4: OpenMP Languge Features |
Program 1 assigned | |
2 | Oct 9 | Shared Memory Programming 2 Memory model and DSM |
Discussion 3 (OpenMP versus Spark) |
Patterns Ch 2: Background and Jargon of Parallel Programming | |
Oct 11 | Shared Memory Programming 3 Performance considerations |
Discussion 4 (Static/dynamic load balancing) |
OpenMP Ch 5: How to Get Good Performance | ||
3 | Oct 16 | Message Passing Programming 1 MPI: Message Passing Interface |
Laboratory 2 (MPI) |
Patterns Appx B: Intro to MPI MPI Ch 3: Greeting MPI Ch 4: Numerical Integration MPI Ch 5: Collective Communicateion |
Program 1 due Program 2 assigned |
Oct 18 | Message Passing Programming 2 MPI performance Hybrid OpenMP and MPI |
Discussion 5 (OpenMP vs MPI and Hybrid pros/cons) |
MPI Ch 11: Performance MPI Ch 12: More on Performance |
||
4 | Oct 23 | Message Passing Programming 3 MPI IO, MPI in different languages MPI-based Systems |
Discussion 6 (Applications of MPI/IO, pyMPI, CUDA-aware MPI, and MPI/FT) |
MPI/IO, (MPI2 report ch 9) pyMPI mpiJava CUDA-aware MPI MPI FT | |
Oct 25 | Task Parallelism 1 Task parallelism and MapReduce |
Laboratory 3 (MapReduce) |
Patterns Ch3.2: Task Decomposition Patterns Ch4.4: Task Parallelism MapReduce Ch 2: MapReduce Basics MapReduce Ch 3: MapReduce Algorithm Design |
Program 3 assigned |
|
5 | Oct 30 | Task Parallelism 2 MapReduce applications |
Discussion 7 (MapReduce pros/cons and graph application performance) |
MapReduce Ch 4: Inverted Indexing for Text Retrieval MapReduce Ch 5: Graph Algorithms |
Program 2 due |
Nov 1 | Task Parallelism 3 Hadoop Ecosystem |
Discussion 8 (Hadoop Eco vs MPI in file access, job submission, and data flow) |
https://hadoop.apache.org/ | ||
6 | 6 | Midterm Exam in class | |||
8 | Data Parallelism 1 Data Parallelism and Spark |
Laboratory 4A (Spark - Single Node Execution) |
Patterns Ch4: Data Decomposition Spark Ch3: RDD - Transformation/Action Spark Ch6: Partition Spark Ch2: pySpark Java Spark |
Program 4 assigned |
|
7 | 13 | Data Parallelism 2 Spark Applications |
Laboratory 4B (Spark - Standalone Cluster Execution) |
Spark Ch7:Spark Cluster Java Spark Applications: Spark-2.3.1-bin.hadoop2.7.tgz's examples/src/ |
Program 3 due |
15 | Data Parallelism 3 Other Data Parallel Systems |
Discussion 9 (Matrix multiplication and triangle counting with Spark) |
Patterns Ch4:Data Decomposition Global Array Spark mllib Spark GraphX Data Ch16:Triangles Counting |
||
8 | Nov 20 | Migration of Computing 1 Recursive Data Patterns |
Discussion 10 (Brainstorm data-science applications suitable to MPI, MapReduce, Spark, and MASS) |
Patterns Ch4: Data Decomposition MASS Nomadic Thread Olden |
Program 5 assigned |
  | Nov 22 | Holiday (No School) | |||
9 | Nov 27 | Migration of Computing 2 Agent-Based Computing |
Laboratory 5 (MASS) |
MASS CSS599 (Wi18) Talk |
Program 4 due |
29 | Student Presentation 1 | Final Project Topic Presenstation | |||
10 | Dec 4 | Parallel Programming Patterns Task, Data, and Mixed parallelism |
Discussion 11 (Applications that take advantage of switched/mixed parallelism) |
Patterns Ch4:The Algorithm Structure Design Space Patterns Ch5:The Supporting Structures Design Space Patterns Ch6:The Implementation Mechanisms Desgin Space |
|
6 | Course Summary | A Research Talk by Mr. Collin Gordon, an MSCSSE Alumnus | |||
11 | Dec 11 | Student Presentation 2 | Final Project Summary Presentation and Demonstration | Program 5 due | |
Dec 13 | Final Exam in class |