https://github.com/drapegnik/merge_sort
:new_moon_with_face: Multithread merge sort on C++
https://github.com/drapegnik/merge_sort
bsu c-plus-plus cpp famcs labs mergesort mpi sort sorting-algorithms study
Last synced: 2 months ago
JSON representation
:new_moon_with_face: Multithread merge sort on C++
- Host: GitHub
- URL: https://github.com/drapegnik/merge_sort
- Owner: Drapegnik
- Created: 2016-09-25T11:47:46.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-04T20:32:11.000Z (almost 7 years ago)
- Last Synced: 2025-02-12T05:12:37.886Z (4 months ago)
- Topics: bsu, c-plus-plus, cpp, famcs, labs, mergesort, mpi, sort, sorting-algorithms, study
- Language: C++
- Homepage:
- Size: 5.86 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# merge_sort
Multithread merge sort on C++
**requirements**:
- [mpi](https://www.open-mpi.org/)
- [python](https://www.python.org/)**run**:
```
$ bash run.sh {array_size} {values_range} {number_of_procces}
```**or**
```
$ ./run.sh {array_size} {values_range} {number_of_procces}
```**for example**: `$ bash run.sh 10 100 3` - sort the array of 10 random numbers
to 100 using 3 process:
for direct input use `input.txt`