Instructor: Shahriar Afkhami
Email: shahriar.afkhami@njit.edu
Phone: (973) 596-5719
Office: 623 Cullimore Hall
Office Hours: TR:1-2 PM, and by appointment
Some useful resources:
1- Numerical Linear Algebra by L. N. Trefethen and D. Bau, SIAM.
2- Parallel Programming in OpenMP by Chandra et al.,
Course Description:Week 1: Finite difference numerical methods; Iterative methods, Jacobi, Gauss-Seidel.
Week 2: Introduction to parallel computing.
Week 3: Introduction to Open MP; Parallel matrix and vector operations.
Week 4: Introduction to Open MP; Parallelizing iterative methods with Open MP.
Week 5: Introduction to Open MP; Performance metrics.
Week 6: Finite difference numerical methods - 2D Poisson equation; Multigrid methods.
Week 8-9: Cojugate Gradient method. Iterative method for eigenvalues. Solving non-linear system of equations.
Week 9-10: Introduction to Open MPI; Parallelizing iterative methods with Open MPI.
Announcements:
-- Welcome to Math 453!
* Information about NJIT AFS:
https://ist.njit.edu/accessing-afs/
* NJIT HPC resources:
https://wiki.hpc.arcs.njit.edu/index.php/Main_Page
* Shell Basics: PDF
* Intro to HPC: LINK
* NJIT-HPC: PDFHomework:Week 1:
Write programs to solve a system, Ax=b, by the Jacobi and Guass-Seidel iterative methods.
Compare the above methods with the relaxation method.
Lecture Notes:Week 1:
Algorithms for Jacobi and Gauss-Seidel methods. Relaxation method.
1-D heat equation. Explicit, implicit, and Crank-Nicolson finite difference methods. Notes.pdfCodes:Week 1:
Gauss-Seidel Code in C: G-S.cHomework:Week 3: HW3Lecture Notes:Week 3:
Introduction to Open MP; Parallelizing iterative methods with Open MP. Notes.pdfLawrence Livermore National Laboratory Intro to OpenMPCodes:Week 3:
OpenMP Code in C: CodesLecture Notes:Week 5:
Introduction to Open MP; Parallelizing iterative methods with Open MP. Notes.pdfCodes:Week 5:
OpenMP Code Matrix Multiplication: mm.c
Code Jacobi Iterative Method: jacobi.cHomework:Week 5: HW5Lecture Notes:Week 8:
Finite difference numerical methods - 2D Poisson equation; Multigrid methods. Notes.pdfCodes:Week 8:
Code Multigrid Iterative Method: multigrid.cLecture Notes:Week 9:
Cojugate Gradient method Notes.pdfLecture Notes:Week 9:
Iterative method for eigenvalues Notes.pdfLecture Notes:Week 10-11:
Introduction to Open MPI Notes.pdfLawrence Livermore National Laboratory Intro to Open MPICodes:Week 10-11:
Parallelizing iterative methods with Open MPI: jacobi_mpi.c