Implementation of bitonic merge sort to sort randomly generated numbers.
Written in C with MPI.
Compilation
make
Run the program using P nodes to sort N numbers
mpirun -np P ./a.out N
- Select mode. If mode 0 is chosen, the randomly generated numbers will be written in before.txt and the sorted result will be stored in after.txt. If mode 1 is chosen, the time used for executing the sorting algorithm will be written in t.txt.