Parallel Programming
in Fortran : MPI, OpenMP and HPF
Here are some interesting slides from my presentation,
showing a simple program written that calculates PI with great accuracy
by performing a simple numerical trapezoidal integration. Most of the other
slides in the presentation are borrowed from various web-sites, so I don't
feel free to post those:
-
The algorithm (slide
1) - Borrowed from Adaptor website
-
Serial Fortran 77 (g77
code, slide 1, slide
2)
-
MPI parallelized Fortran 77
(g77 MPICH code, Compilation
and running, slide 1, slide
2, slide 3, slide
4)
-
Open MP parallel Fortran 77
(Sample code, slide
1, slide 2, slide
3)
-
HPF-High Performance Fortran
(Adaptor HPF code, Compilation
and running, slide 1, slide
2, slide 3, slide
4, slide 5)
Here are some other on-line tutorials
of interest:
-
Parallel Computing:
http://www.mhpcc.edu/training/workshop/
-
OpenMP:
http://www.openmp.org/presentations/index.cgi?sc98_tutorial
-
HPF:
ftp://ftp.gmd.de/GMD/adaptor/docs/HPF_Students.pdf
, http://www.npac.syr.edu/EDUCATION/PUB/hpfe/
-
MPI:
http://www-unix.mcs.anl.gov/mpi/tutorial/
and many others...