This repository contains the code for the assignments of the course "Parallel Computation" at the University of Minho in 2022/23.
Each assignments is available in the Assignments folder.
- Assignment 1
- Assignment 2
- Assignment 3
Due to the way the assignments were structured, the code for each assignment isn't available in separate. Instead, the code for each assignment was grouped up into a single project.
To build the code run make
in the K-Means folder.
As of the second assignment, the code is build against the OpenMP library.
To run a full batch of benchmarks, run make bench
in the K-Means folder.
To run the code, run ./bin/k_means <sample_count> <cluster_count> <thread_count>
in the K-Means folder after building.
Benchmarks were run on SeARCH.
The benchmarks folder contains the scripts used to run the benchmarks as well as the updated results. These scripts use sbatch to request resources from the cluster.