Shodor

a national resource for computational science education

HOME BWPEP Shodor Blue Waters


| Day 1 | Day 2 | Day 3 | Day 4 | Day 5 | Day 6 | Day 7 | Day 8 | Day 9 | Day 10 | Other Resources |

Blue Waters 2011 Petascale Institute

Day 04 - Errors, Debugging, N-body, Game of Life

Day 4 Undergraduate Petascale Institute Daily Survey

Lab Session

  • Open lab for finishing up NBody and other MPI codes.


Practical Session


  • Blocking/Nonblocking MPI and deadlock!


Afternoon Session


  • How to build a cluster -- Introduction to the LittleFe project
  • More open lab!!! Ask us questions! Finish up outstanding MPI things, etc.
  • Introduction to OpenMP ( .pdf / .ppt )
  • Daily Survey


Evening Lab Session

  • N-Body problem in OpenMP
  • Area in OpenMP
  • Resolving any outstanding MPI questions



Materials

Daily Resources

  • Deadlock ( .c [1] / c [2] / .f90 [2] )
  • MPI Send/Receive Blocked/Unblocked ( .ppt )
  • LittleFe ( .pdf )
  • Debugging Parallel Code ( .pdf )
  • Designing Parallel Code ( .pdf )
  • GalaxSee ( .pdf )
  • The Game of Life ( .pdf )
  • Pseudo Random Numbers ( .xls )
  • Numerical Errors ( .xls )
  • Data ( .xls )

Supplemental Resources

  • Number Representation
    • IEEE-754 Draft [2007] [ .pdf ]
    • IEEE-754 Wikipedia article [ link ]
  • N-Body Problem
    • N-Body at Scholarpedia [ link ]
    • Comparison of N-Body Algorithms [ link ]
  • Game of Life and Cellular Automata
    • Conway's Game of Life
    • Stephen Wolfram's A New Kind of Science [ link ]
  • OpenMP
    • OpenMP Site [ link ]
    • OpenMP Specification [ .pdf ]
    • OpenMP-C Summary Cheat Sheet ( .pdf )
    • OpenMP 3.0 Summary Specification ( .pdf )
  • Software Carpentry ( link )
  • The Landscape of Parallel Computing Research: A View From Berkeley ( link )

| Day 1 | Day 2 | Day 3 | Day 4 | Day 5 | Day 6 | Day 7 | Day 8 | Day 9 | Day 10 | Other Resources |