cphyc / Fortran-parallel-sort

A fortran library to perform parallel sorts.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A fortran library to perform parallel sorts.

License:Creative Commons Zero v1.0 Universal


Languages

Language:Fortran 99.6%Language:Makefile 0.4%