Introduction to parallel computing (TIEA 385)
General
Basics of parallel computations in shared and distributed memory architectures. Parallellization of elementary scientific computations.Prerequisites: programming skills (including basics of the C language)
Suoritustavat
Oppimispäiväkirja + harjoitustehtävien akviitinen ratkaiseminenSlides
Exercises
- .pdf omp_label.c, omp_adi.f90
- .pdf demo3.c, omp_trimul.c
- .pdf ex 1, ex2 (sample input file), ex 3-4
- .pdf 5.1-5.2, 5.4, mpi_loscat.c, mpi_reduct.c
- .pdf mpi_transpose.c, omp_thres.c, mpi_thres.c,
Sample programs
- th_numint.c Compile with: gcc th_numint.c -pthread th_numint.c -lm
- omp_numint.c Compile with: gcc -fopenmp omp_numint.c -lm
- omp_mand.c, pic
- koe2.c (Play with NOWAIT, SINGLE/MASTER, BARRIER)
- mpi_pi.c, mpi_pi2.c
- mpi_search.c
- mpi_mm.c
- mpi_bmr.c
- mpi_heat2d.c (compile with -std=c99)
Links to (external) material
- Rinnakkaisohjelmointi MPI:lla (CSC:n opas)
- Multicore programming primer (MIT) (lectures 5-7)
- MPI tutorial
- openMP tutorial, www.openmp.org
- OpenMP tutorial (Fortran 95)
- different viewpoint from the early 1990's
- The landscape of parallel computing research: a view from Berkeley (pdf)
- TKK oppimispäiväkirja ohje
- Learning diary