CSS 534/490: Parallel Programming in Grid and Cloud
Summer 2012
MW 545-750pm at UW1-221
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 parallel-computing platforms, parallel-programming models (such as supported with OpenMP, MPI, and other paradigm-oriented language tools such as MapReduce), programming patterns (such as task and data parallelism), middleware for job and resource management, and fault tolerance.
For each of the topics, we will cover the background and motivation, programming and design theory, and current technology implementation in grid and cloud. In addition, the first five weeks will advance your parallel-programming knowledge and skills through in-class discussions and laboratory hands-on programming exercises, while the last five weeks will strengthen your ability of system analysis through literature surveys and presentations on grid/cloud systems.
Four programming assignments are given: (1) shared-memory-based programming with a tool such as OpenMP, (2) message-passing-based programming with a tool such as MPI, (3) task-parallel programming with MapReduce, and (4) data-parallel programming with MASS.
Course Work | % CSS534 | % CSS490 | Achievements | Approximately Corresponding Numeric Grade |
Programming 1 | 15% | 20% | 90s | 3.5 - 4.0 |
Programming 2 | 15% | 20% | 80s | 2.5 - 3.4 |
Programming 3 | 15% | 20% | 70s | 1.7 - 2.4 |
Programming 4 | 20% | 20% | 60s or below | 0.0 - 1.6 |
Literature Survey | 15% | N/A | ||
Midterm Exam | 10% | 10% | ||
Final Exam | 10% | 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 Services (DRS) in UW1-175, (email: drs@uwb.edu, TDD: 425-352-5303, and FAX: 425-352-5381). If you have a documented disability on file with the DSS office, please have your DRS counselor contact me and we can discuss accommodations.
Week | Date | Topics | Sessions | Readings | Assignment |
---|---|---|---|---|---|
1 | June 18 | System Models SMP, clusters, hybrid systems, grid, and cloud |
Patterns Ch 2: Background and Jargon of Parallel Computing CDK4 Ch 2: System Models MPI Ch 1: Introduction |
Program 1 (css534) Program 1 (css490) |
|
June 20 | 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 |
||
2 | June 25 | Shared Memory Programming 2 Memory model, DSM, and performance issues |
Discussion 1 (Static/dynamic load balancing) |
Patterns Ch 2: Background and Jargon of Parallel Programming OpenMP Ch 5: How to Get Good Performance |
|
June 27 | 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 |
||
3 | July 2 | Message Passing Programming 2 MPI Performance Hybrid OpenMP and MPI |
Discussion 2 (OpenMP vs MPI and Hybrid pros/cons) |
MPI Ch 11: Performance MPI Ch 12: More on Performance |
Program 1 due Program 2 (css534) Program 2 (css490) |
July 4 | Holiday - No School | ||||
4 | July 9 | Paradigm-Oriented Programming 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 |
|
July 11 | Paradigm-Oriented Programming 2 MapReduce applications |
Discussion 3 (MapReduce pros/cons and MapReduce-suitable applications) |
MapReduce Ch 4: Inverted Indexing for Text Retrieval MapReduce Ch 5: Graph Algorithms |
||
5 | July 16 | Midterm Exam in class | |||
July 18 | Paradigm-Oriented Programming 3 Data parallelism, GlobalArrays, MASS, and thread migration |
Discussion 4 (Paradim programming vs DMS, and their computation granurality) |
Patterns Ch3.3: Data Decomposition Patterns Ch4.6: Geometric Decomposition http://www.emsl.pnl.gov/docs/global/ |
Program 2 due Program 3 (css534) Program 3 (css490) |
|
6 | July 23 | Laboratory 4 (MASS) |
|||
July 25 | Parallel Programming Patterns Task, Data, and Mixed parallelism |
Discussion 5 (Application design with task, data, and mixed parallelism) |
Patterns Ch4:The Algorithm Structure Design Space Patterns Ch5:The Supporting Structures Design Space Patterns Ch6:The Implementation Mechanisms Desgin Space |
||
7 | July 30 | Job Management Rsh, intra/inter-cluster and centralized/decentralized scheduling, autonomic computing, and cluster virtualization |
Grid-D Ch 5: Schedulers Grid-2 Ch 18: Resource and Service Management |
||
Aug 1 | OpenPBS, Condor, Legion, NetSolve, Ninf, Globus, XenoServer, COD, Amazon EC2 | Survey Work Presentation 1 | http://www.globus.org/ http://www.cs.wisc.edu/condor/ http://legion.virginia.edu/ http://icl.cs.utk.edu/netsolve/ http://www.cl.cam.ac.uk/research/srg/netos/xeno/ http://www.cs.duke.edu/nicl/cod |
Program 3 due Program 4 (css534/490) |
|
8 | Aug 6 | File Management Network, distributed, and parallel file systems |
CDK4 Ch 8: DFS Grid-D Ch 9: Data Management Grid-2 Ch 22: Data Access, Integration, and Management Hadoop Ch 3: Hadoop DFS Cloud Ch 2:Amazon Cloud Computing |
||
Aug 8 | NFS, AFS, PVFS, MPI/IO, Hadoop, and Amazon-S3 | Survey Work Presentation 2 | http://www.openafs.org/ http://www.pvfs.org/ http://www.nersc.gov/nusers/resources/software/libs/io/mpiio.php http://hadoop.apache.org/ http://aws.amazon.com/s3/ |
||
9 | Aug 13 | Final Exam in class | |||
Aug 15 | Student Final Project | Student Presentation | Program 4 due |