https://github.com/gher-uliege/oak
Ocean Assimilation Kit
https://github.com/gher-uliege/oak
data-assimilation fortran numerical-methods oceanography
Last synced: about 1 month ago
JSON representation
Ocean Assimilation Kit
- Host: GitHub
- URL: https://github.com/gher-uliege/oak
- Owner: gher-uliege
- Created: 2017-07-07T13:51:59.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-09-02T11:47:13.000Z (over 3 years ago)
- Last Synced: 2025-02-05T10:12:34.904Z (3 months ago)
- Topics: data-assimilation, fortran, numerical-methods, oceanography
- Language: Fortran
- Size: 695 KB
- Stars: 6
- Watchers: 7
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Installation
------------To install OAK you need:
* A Fortran 90 compiler
* NetCDF (with Fortran 90 interface)
* LAPACK library
* an implementation of the BLAS library (such as ATLAS, OpenBLAS or MKL)
* cholmodOptionally, for parallelization, either one of:
* MPI (with Fortran 90 interface)
* OpenMP (included in Fortran 90 compilers)# Compilation
## gfortran and default BLAS
To compile with open-source gfortran, parallelized with MPI, at least the following packages are needed:
```
sudo apt-get install gfortran libatlas-base-dev liblapack-dev openmpi-bin libopenmpi-dev libnetcdf-dev netcdf-bin
cp config.mk.template config.mk
make
```# ifort and MKL
## Without CLODMOD:
Set `$MKLROOT`:
```bash
$ make FORT=ifort NETCDF_CONFIG=/path/to/bin/nf-config CHOLMOD_LIB= BLAS_LIBDIR=$MKLROOT/lib/intel64/ BLAS_LIB="-lmkl_intel_lp64 -lmkl_sequential -lmkl_core" LAPACK_LIB=
```