CS140: Parallel Scientific Computing: Winter 2017
Computer Resources and Accounts
-
Triton is the big parallel machine you'll use in this course.
Here
are instructions for how to connect to Triton.
In class on Wednesday, January 18, Burak Himmetoglu will give
an overview and tutorial on using Triton.
MPI Resources
You will write message-passing programs in C using MPI,
which is a library that is
implemented on almost all parallel systems.
Here are some good references on MPI.
You can find more by Googling around on the web.
- Chapter 3 of the textbook has a good introduction to MPI.
MPI has hundreds of routines in all, but the 15 or so routines described in Chapter 3
are enough for all the MPI programming you'll do in CS 140.
-
User's Guide to MPI, by Peter Pacheco.
-
Documentation
for all the MPI routines.
-
Tutorial
on MPI from Livermore Labs, with lots of examples.
-
Some examples of MPI code from class and section.
-
Norm Matloff's MPI
page at UC Davis has lots of sample programs and many other pointers.
You will write shared-memory multicore programs in Cilk, which is a
version of C and C++ that has been extended for parallel programming.