NPRG042 Programming in Parallel Environment
Labs
The work in labs focuses on introducing technologies, which are subsequently used in home assignments. Therefore, it is widely recommended to attend the labs. Details about labs and seminars will be updated continuously.
Please, bring your laptops to the seminar at least in the weeks denoted when a collective lab session takes place.
Both labs and home assignments will require that you get yourselves familiar with our parlab
and gpulab
clusters and the SLURM management system. See the KSI clusters readme. Quick info:
- The head nodes bear the same name as the cluster with MS domain suffix (like
parlab.ms.mff.cuni.cz
). - SSH is relocated to port 42222 for security reasons. (use
-p 42222
option with your SSH client). - Use your CAS credentials to log in (same as to SIS, ReCodEx...). However, for regular use, set up authentication based on SSH key . It is easy to misspell a password and there is fail2ban service running. If you fail to enter your password several times from an IP address shared by users (like Eduroam), you will lock-out the parlab not only for yourself, but for your class mates as well.
- You need to run most of your code (including compilation) on the workers using the SLURM tool (follow the documentation or look for hints at individual assignments).
Schedule
Date | Topics | Details | |
---|---|---|---|
17.2.2025 | Revising parallelism in operating systems and mainstream multicore CPUs | slides | |
24.2.2025 | C# .NET Core tasks practice: parallel factorization with visualization | lab work, solution | |
3.3.2025 | Assignment #1: C# .NET Core asynchronous DNS resolver |
specification |
|
10.3.2025 | Intel Threading Building Blocks practice | lab work, solution | |
17.3.2025 | Assignment #1 results, Assignment #2: Intel TBB k-means | specification | |
24.3.2025 | OpenMP | lab work | |
31.3.2025 | Assignment #2 results, Assignment #3: OpenMP edit distance | specification | |
7.4.2025 | SYCL (GPGPU) | lab work | |
14.4.2025 | Assignment #3 results, Assignment #4: SYCL simulation | specification | |
21.4.2025 | Easter Monday | ||
28.4.2025 | Spark | lab work | |
5.5.2025 | Assignment #4 results, Assignment #5: Spark | ||
12.5.2025 | TBA, possibly consultations | ||
19.5.2025 | Assignment #5 results, discussion |