Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cphyc/fortran-parallel-sort
A fortran library to perform parallel sorts.
https://github.com/cphyc/fortran-parallel-sort
Last synced: 6 days ago
JSON representation
A fortran library to perform parallel sorts.
- Host: GitHub
- URL: https://github.com/cphyc/fortran-parallel-sort
- Owner: cphyc
- License: cc0-1.0
- Created: 2016-05-30T14:32:08.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-10-07T08:32:51.000Z (about 3 years ago)
- Last Synced: 2023-08-04T22:56:43.601Z (over 1 year ago)
- Language: Fortran
- Size: 43 KB
- Stars: 25
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fortran-parallel-sort
A fortran library to perform parallel sorts.## Install
Download the library in any working directory.## Compile
You need to compile both `mrgrnk.f90` and `sort.f90`. The latter has to be compiled against openmp (e.g. with `gfortran`, do `gfortran -fopenmp sort.f90 -c sort.o`).
To use, simply use `mod_sort` in your fortran files.## Doc
### parallel_sort
- A (in): an integer array, containing the element to sort
- order(out): an integer array, containing the positions so that `A(order(:))` is ordered