Sorting algorithms usually take
The algorithm follows the standard Bitonic Sort Network pattern as shown below. More info about the implementation can be found in the report.
- Clone the repository
git clone [email protected]:NontasBak/parallel-bitonic-sort.git
- Change your active directory
cd parallel-bitonic-sort/src/mpi/
- Compile the code using
make
. You might need to installmpicc
if you haven't already. - Run the code
make run
- Remove the executables after running
make clean
In order to change the number of elements per process, you can modify the variable num_q
inside the main
function.
To change the number of processes, you can modify the mpirun
command in the Makefile
.
The following benchmarks were run on the Aristotel Cluster on the rome
and batch
partitions.
The specs can be found here.
Eleni Koumparidou and Epameinondas Bakoulas
Class: Parallel and Distributed Systems with professor Nikolaos Pitsianis
January 2025