https://github.com/urbanjost/m_sort
basic sorting
https://github.com/urbanjost/m_sort
fortran fortran-package-manager fpm sort sorting sorting-algorithms
Last synced: 2 months ago
JSON representation
basic sorting
- Host: GitHub
- URL: https://github.com/urbanjost/m_sort
- Owner: urbanjost
- License: mit
- Created: 2021-01-07T02:14:50.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-29T08:17:35.000Z (about 1 year ago)
- Last Synced: 2024-12-30T18:28:09.402Z (4 months ago)
- Topics: fortran, fortran-package-manager, fpm, sort, sorting, sorting-algorithms
- Language: Fortran
- Homepage:
- Size: 3.01 MB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://urbanjost.github.io/M_sort/fpm-ford/index.html)
# [M_sort](https://urbanjost.github.io/M_sort/man3.html)## Name
M_sort - Fortran modules for sorting## Description
The `M_sort`(3fm) module is a collection of Fortran procedures that
do simple sorts.---

---
## Building the Module using make(1)
Just download the github repository, enter the src/ directory and run make(1):
```bash
git clone https://github.com/urbanjost/M_sort.git
cd M_sort/src
# change Makefile if not using one of the listed compilers# for gfortran
make clean
make gfortran# for ifort
make clean
make ifort# for nvfortran
make clean
make nvfortran# optionally
make run # run all the demo programs from the man-pages
make help # see other developer options
```
This will compile the M_sort(3f) module and optionally build all the
example programs from the document pages in the example/ sub-directory
and run the unit tests.---

---
## Build and Test with FPM#### (registered at the [fpm(1) registry](https://github.com/fortran-lang/fpm-registry) )
Alternatively, download the github repository and build it with
fpm ( as described at [Fortran Package Manager](https://github.com/fortran-lang/fpm) )```bash
git clone https://github.com/urbanjost/M_sort.git
cd M_sort
fpm test # run unit tests
```
or just list it as a dependency in your fpm.toml project file.
```toml
[dependencies]
M_sort = { git = "https://github.com/urbanjost/M_sort.git" ,tag="v1.0.1"}
```
## Demo Programs
There are demo programs extracted from the man pages in the [example/](example/) directory
## Documentation
### User
- A single page that uses javascript to combine all the HTML descriptions
of the man-pages is at
[BOOK_M_sort](https://urbanjost.github.io/M_sort/BOOK_M_sort.html).- An [index](https://urbanjost.github.io/M_sort/man3.html) to HTML versions
of the man-pagesin addition in the docs/ directory there is
- 
+ [manpages.zip](https://urbanjost.github.io/M_sort/manpages.zip)
+ [manpages.tgz](https://urbanjost.github.io/M_sort/manpages.tgz)- [CHANGELOG](docs/CHANGELOG.md) provides a history of significant changes
### Developer
- [ford(1) output](https://urbanjost.github.io/M_sort/fpm-ford/index.html).
- [github action status](docs/STATUS.md)
## See Also
* [Fortran Package Manager](https://github.com/fortran-lang/fpm)
* [Fortran Wiki](http://fortranwiki.org)
* [Fortran Discourse](https://fortran-lang.discourse.group)
* [Google Fortran newsgroup](https://groups.google.com/forum/#!forum/comp.lang.fortran)