- Instructor: Sathish Vadhiyar
- Course number: DS295
- Credits: 3:1
- Semester: Jan, 2023
- Lecture: Tue/Th 1130AM-1PM (First class: Jan 3, 2023, 1130AM)
- Office Hours: Fridays, 5-6 PM
The objective of this course is to give you some level of confidence in parallel programming techniques, algorithms and tools. At the end of the course, you would (we hope) be in a position to apply parallelization to your project areas and beyond, and to explore new avenues of research in the area of parallel programming.
The course covers parallel programming tools, constructs, models, algorithms, parallel matrix computations, parallel programming optimizations, scientific applications and parallel system software.
DS 221: Introduction to Scalable Systems
- Mid-term [1 No.] (March 2) – 20
- Assignments [2 Nos.] (Assignment 1 Due: Feb 19, Assignment 2 Due: April 10) – 30
- Literature Study Report (Due: Apr 20) – 20
- Final project (Proposal: Feb 26, Final presentation: Apr 25, Final report: Apr 26) – 30
- Introduction to Parallel Computing. Ananth Grama, Anshul Gupta, George Karypis, Vipin Kumar. Publisher: Addison Wesley. ISBN: 0-201-64865-2. 2003.
- Parallel Computing Architecture. A Hardware/Software Approach. David Culler, Jaswant Singh. Publisher: Morgan Kauffman. ISBN: 981-4033-103. 1999.
- Parallel Computing. Theory and Practice. Michael J. Quinn. Publisher: Tata: McGraw-Hill. ISBN: 0-07-049546-7. 2002.
- An Introduction to Parallel Programming. Peter S Pacheco. Publisher: Morgan Kauffman. ISBN: 978-93-80931-75-3. 2011.
- Online references for OpenMP, MPI, CUDA
- Various publication materials and references that will be posted along with the lecture slides.
|Sparse linear algebra pdf
Direct linear algebra pdf
DFS and Dynamic Load Balancing pdf
Mesh applications pdf
N-Body Simulations pdf
- Turing cluster notes on OpenMP, MPI and CUDA for the assignments
- Assignment 1 –
- Assignment 2 –
- Assignment 3 –
The final project has to clearly demonstrate the uniqueness of your work over existing work and show adequate performance improvements. You can work in a team of max 2 members. It can be in
- parallelizing well known algorithms or problems. Examples:
- hybrid executions on both CPU and GPU cores.
- graph algorithms – spanning trees, shortest paths, satisfiability, mesh generation or refinement (e.g., Delaunay)
- sorting, searching
- clustering algorithms
- parallelization of fundamental algorithms you would encounter in an algorithm book. e.g.,
- Introduction to Algorithms. Third Edition. Cormen, Leiserson, Rivest, Stein
- The Design and Analysis of Algorithms. Aho, Hopcroft, Ulman
- Data Structures and Algorithms. Aho, Hopcroft, Ulman
- parallelizing numerical methods, Examples:
- Dense martrix or sparse matrix computations. e.g., Cholesky, QR, Inverse, SVD, conjugate gradient etc.
- >Transforms (FFT, wavelet etc.)
- Any numerical method you would encounter in matrix/numerical methods book. e.g.,
- Introduction to Numerical Analysis. Second Edition. Hildebrand
- Elementary Numerical Analysis. Third Edition. Conte, de Boor
- System software. Examples:
- Techniques for scheduling or mapping parallel tasks to processors to achieve least makespan or throughput
- Load balancing techniques for irregular computations
- Automatic techniques for splitting tasks among GPU and CPU cores.
- Automatic data management techniques for GPU cores.
- Proposing genetic programming abstractions
- Fault tolerance
Sample Projects from Previous Years
- Finding maximum clique in hybrid system – pdf
- Parallel hybrid implementation of SVM – pdf
- GPU TSP – pdf
- GPU implementation of implicit Runge-Kutta methods – pdf
- Parallel implementation of shared nearest neighbor clustering algorithm – pdf
- Hybrid implementation of alternate least square algorithm – pdf
- Approximate k-nearest neighbor search – pdf
- Incremental Delaunay triangulation – pdf
- k-maximum subarray problem – pdf
- Scale Invariant Feature Transform (SIFT) – pdf
- AKS algorithm for primality proving – pdf
- Betweenness centrality – pdf
Ethics and Rules
- Please do not even exchange ideas with your friends since there is a thin line between exchanging ideas and codes looking the same.
- Please do not look up web/books for solutions.
- See Dr. Yogesh’ nice writeup on plagiarism policies in his HPC page
All assignments will be evaluated for a maximum of 10. There will be a penalty of -1 for every additional day taken for submission after the assignment due date.
Thus, you will have to be judicious regarding deciding when to submit your assignments.
Suppose you have completed 1/2 of the assignment by the due date.
You think that it will take another 1 day to finish 3/4 of the assignment. In this scenario, if you submit by the due date, you will get a maximum score of 5 and if you submit a day after, you will get a maximum score of 6.5 (=7.5-1, -1 for the extra day). Thus, you will get better score if you take an extra day, finish 3/4 of the assignment and then submit.
You think that it will take another 3 days to finish 3/4 of the assignment. In this scenario, if you submit by the due date, you will get a maximum score of 5 and if you submit 3 days after, you will get a maximum score of 4.5 (=7.5-3, -3 for the three extra days). Thus, you will get better score if you submit your assignment that is 1/2 complete by the due date than submit the assignment that will be 3/4 complete after 3 days.