2025-plovdiv-comp-arch/parallel
2025-08-13 13:58:07 +02:00
..
overcommit.py first commit 2025-08-13 13:57:19 +02:00
README.md add all materials 2025-08-13 13:58:07 +02:00
submit.sh first commit 2025-08-13 13:57:19 +02:00

The dangers and joys of automatic parallelization (like in numpy linear algebra routines) and the use of clusters/schedulers (but also on your laptop)

Hands on

  • Let's try to make it more quantitative:
    • Write a benchmark in the style of benchmark_python
    • We want to assess the performance of matrix multiplication as a function of:
      • the size of the matrix N
      • the number of openMP threads T, controlled with threadpoolctl or by environment variable OMP_NUM_THREADS
      • the number of processes P, controlled by the submit.sh script or something similar
  • The results will of course depend on the particular architecture of the machine on which you are running
  • Submit your benchmark, together with some plotting routines, as a PR to this repo!