UDCECC  ChemE 

August 2008: Parallel Programming

LinkFormatSize
2008-parallelprogramming.pdfAdobe PDF4.9 MB
2008-parallelprogramming.movQuicktime Movie23.7 MB

The summer is fast disappearing, so it’s high time I present a seminar! This summer I’ve decided to try a three day series that will discuss

  • basic methodologies of parallel programming
    • embarrassingly parallel problems
    • calculation distribution to workers
  • available technologies
    • threading
    • MPI
    • OpenMP

Example programs will be “written” and dissected to provide real, working code for later introspection on the attendees part.

Code Samples

Basic MPI Demo

LinkDescription
mpitest.cSimple MPI C program
mpitest.fSimple MPI Fortran program

pthread Demo

Includes basic thread creation and synchronization using locks, plus synchronization via pthread conditionals.

LinkDescription
pthreads.cC program using pthreads

Numerical Integration

Single-dimensional numerical integration for MPI.

LinkDescription
nintegrate.cC source file
makefileMakefile
presentations/2008-08.txt · Last modified: 2008/08/20 10:08 by zeus
Back to top
Copyright © 2006-2007, College of Engineering, University of Delaware