Next: Contents
Cornell University
Department of Physics
Phys 480/680, Astro 690 March 31, 2002
Computational Physics, Spring 2002
Homework Assignment # 7
(Due Tuesday, April 9 at 8:40 am in Computer Lab.)
Agenda and readings for the weeks of April 2 & 9:
Goals: Test timings of BLAS operations and blocked matrix
multiplies; gain experience calling LAPACK.
Readings marked NR are from Numerical Recipes: The Art of
Scientific Computing, 2
edition (in C). Readings
marked LN are from the course lecture notes to be found at
http://www.muchomas.lassp.cornell.edu/P480.
Recap of last week:
- Lec16, 03/26 (Tue: mini-lecture, 25mins): Optimization --
Amdahl's law, inner loop optimization, rates of common operations
- Lab5, 03/26 (Tue): Full, self-consistent solutions for density
functional theory of atoms; profiling and practical optimization.
- Lec17, 03/28 (Thu): Cache optimization; BLAS1-3; blocked matrix
multiply; ``Expressive software'' concept.
Preview of coming two weeks:
- Lec18, 04/02 (Tue: mini-lecture, 25mins): Solution of Poisson's
equation in d>1 dimension in a single line of expressive software!
- Lab6, 04/02 (Tue): Fully optimized atomic software, FLOP rates
of common operations
- Lec19, 04/04 (Thu): Implemenation of expressive software for
Poisson's equation: planewave basis and coding in C++
- Lec20, 04/09 (Tue: mini-lecture, 25mins): C++ continued.
- Lab7, 04/09 (Tue): Timing computer FLOP performance for BLAS/LAPACK
operations
Tomas Arias
Sun Mar 31 20:03:23 EST 2002