Skip to content

urbanjost/M_sort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Name

M_sort - Fortran modules for sorting

Description

The M_sort(3fm) module is a collection of Fortran procedures that do simple sorts.


gmake

Building the Module using make(1)

Just download the github repository, enter the src/ directory and run make(1):

     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 )

Alternatively, download the github repository and build it with fpm ( as described at Fortran Package Manager )

     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.

     [dependencies]
     M_sort        = { git = "https://github.com/urbanjost/M_sort.git" ,tag="v1.0.1"}

Demo Programs

demos

There are demo programs extracted from the man pages in the example/ directory

Documentation

docs

User

  • A single page that uses javascript to combine all the HTML descriptions of the man-pages is at BOOK_M_sort.

  • An index to HTML versions of the man-pages

in addition in the docs/ directory there is

Developer

See Also