Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Installation

gducrozet edited this page Dec 1, 2015 · 4 revisions

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

A Makefile is provided with the source code for compiling HOS-ocean in Linux/Unix environment. The GNU Fortran compiler gfortran shall be used. Other Fortran compilers may be used with small adjustments of compiler options, libraries...

Makefile makes use of executable makedepf90 to extract automatic dependencies available here

Intel Fortran compiler (ifort)

Intel Fortran compiler ifort have been tested and may be used with the following adjustment (due to non-standard random number generation). In file initial_condition.f90 a USE statement has to be added at the beginning of module:

USE IFPORT, only:RAND

Windows environment

Description of compilation, linking... with Windows environment will be completed later.

External libraries

Different external libraries are needed for the compilation of HOS-ocean

  • FFTW 3.3.4: available here
  • LAPACK: available here

Linux/Unix users

The location of the compiled libraries have to be specified in the Makefile under the following flag (default is libraries located in /usr/local/lib/)

LIBDIR=/usr/local/lib/

Windows users and other platforms

To be completed

Analytics