Table of Contents

Labs

The aim of labs is to familiarize students with the design and implementation of parallel algorithms and to practice the theory from lectures. The tasks are proposed in a way that enables to test/debug/run them on conventional computers. For the purpose of computationally demanding experiments, we arranged the access to Metacentrum.

Attendance at labs is not compulsory, however, it is strongly recommended. Our goal is to improve students' knowledge of parallel algorithms, not just to record presence.

Plan of the Labs

n. Topic Notes Handouts Other materials
1 Introduction introduction.pdf introduction_helloworlds.zip msys2_trouble.txt
2 OpenMP part 1 HW openmp_1.pdf hw1_omp.pdf openmp_part1_skeletons.zip openmp_part1_solutions.zip OpenMP cheatsheet hw1_omp_skeleton.zip hw1_omp_public.zip
3 OpenMP part 2 openmp_2.pdf openmp_part2_skeletons.zip openmp_part2_solutions.zip
4 MPI part 1 HW mpi_basics.pdf hw2_mpi.pdf mpi_basics_skeletons.zip hw2_mpi_skeletons.zip hw2_mpi_public.zip
5 Metacentrum, Consultations HW1, HW2 & others Bonus
6 No lab
7 Matrix algorithms in OpenMP & MPI
8 Theoretical seminar I (TEST preparation)
9 Python numba part 1 HW
10 Python numba part 2
11 MPI part 2 HW
12 Theoretical seminar II
13 Theoretical seminar II, Consultations
14 Exam preparation

Classroom computers

OS: Debian Linux 64b, select “DCE PXE” (without number) during booting

Login: username + main CTU password (the one you use for KOS)

Development environments: CLion (C++), Visual Studio Code, GVim, Eclipse, Geany are installed. CLion is installed in /opt and its license have to be activated (use your JetBrains account).