Computer Science 335
Parallel Processing and High Performance Computing
Fall 2026, Siena University
Lecture 5: C Programming for Scientific Computation
Date: Friday, September 18, 2026
Agenda
- Announcements
- Finish reading Pacheco Ch. 2 (as described on Wednesday's
lecture page), see assignment below to complete in place of class
on Monday
- Programming Project 1: Introduction to Jacobi Iteration [PDF] due today
- Lab 1: Java Threads Practice [HTML] [PDF] wrap up,
submit code and questions by Monday
- Quick intro to Lab 2: Chapter 2 Questions [HTML] [PDF]
- Scientific computation in C
- links to examples below
- static and dynamic allocation of multi-dimensional arrays
(what's in memory?)
- timings
- Programming Project 2: Jacobi Iteration in C [HTML] [PDF] out
- Visualizing results of the Jacobi iteration computations
- Work time on labs and projects
Examples
- matmult: Sequential matrix-matrix multiplication
- life: Sequential Conway's Game of Life simulator
Links