Poisson solver

The exercise
The exercise consists of two parts

  • part1 : Given a sequential version, build a parallel version. pdf format

  • part2 : Experiment with the parallel version. pdf format

    The material
    The following material is available:

    For the sequential version:

  • SEQ_Poisson.c
  • input.dat input data for testing purposes

    For the parallel version:
  • SEQ_Poisson.c to start with
  • input.dat input data for testing purposes, same as for the sequential version
  • mpitimers.c
  • Debug.c
  • writegrid.c
  • Setup_MPI_Datatypes.c
  • Setup_Proc_Grid.c
  • Exchange_Borders.c
  • Do_Step.c
  • InitCG.c

    Copy these files when they are needed as indicated by the text of your exercise.
    Note: When logged in on pgsultra, you can also access this directory without WWW by using ~hpc/poisson as the directory name, e.g.
    ~hpc/poisson/SEQ_Poisson.c
    refers to the source code of SEQ_Poisson.c


    This page was last edited at Friday, October 15, 1999 by Jan Heijnsdijk