NuMFor 9f2ab49 (2024-04-08)
Numerical (Modern) Fortran. Library for Simple Numerical computing
|
The goal of this project is to create a Fortran library similar to Numpy/Scipy for scientific computing.
This library consists (will consist) of several modules to ease the scientific work. It aims to provide user-friendly utilities and relatively-efficient routines for scientific computing, numerical and related work.
Documentation may be found in https://numericfor.github.io/numfor/index.html
Further information on the capabilities of the library may be learned by exploring the different modules.
It provides:
You can also visit the documentation for the code
Firstly, download the library:
git clone https://github.com/numericfor/numfor.git
The installation follow the usual steps. The simpler procedure is:
numfor
make
Builds the module information file and static librarymake tests
(optional, not yet fully implemented) Run tests on submodulesmake install
Installs the library, modules and documentation into <prefix>
pathSimply compile your program with flags indicating where to find libnumfor.mod and link to libnumfor.a There are different ways to accomplish this:
gfortran
pkg-config
In order to work, first the environment variable PKG_CONFIG_PATH must be set. For instance, in linux you have to add to $HOME/.bashrc (or site /etc/bashrc if you install for all users) the folowing line:
You will have to open a new terminal or source the bashrc
file before compiling your program.
To build the html docs just:
Some dependencies are needed: