Computer Science 335
Parallel Processing and High Performance Computing
Fall 2024, Siena College
Lecture 4: C Programming for Scientific Computation
Date: Monday, September 16, 2024
Agenda
- Announcements
- Finish reading Pacheco Ch. 2 (as described on Friday's
class) in the next few days, see assignment below to complete
before class on Friday
- Lab 1: Java Threads Practice [HTML] [PDF] due tomorrow
- Quick intro to Lab 2: Chapter 2 Questions
- 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 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