Skip to content

Installation

gducrozet edited this page Jan 29, 2019 · 1 revision

Source Code

Code development uses Git for version control. If you wish to contribute to code development, it is advised to clone this Git repository and use the same version control tool.

Linux/Unix environment

The code can be compiled on any computer architecture. One only needs a Fortran compiler (for instance gfortran, the GNU Fortran compiler, part of GCC). A makefile is provided but the recommended procedure is to use cmake. The following commands can be executed in the root folder where CMakeLists.txt is located, to compile the dependency, the executable and the shared library:

cmake -H. -Bbuild

cmake --build build

Compilation has been tested with gfortran on different Unix/Linux platforms as well as in Windows environment.

Windows environment

For Windows environment, compilation using Intel Visual Studio has also been tested. The program is provided with the corresponding project file CN_Stream.vfproj allowing a straightforward compilation of the code.