项目作者: gher-ulg

项目描述 :
Ocean Assimilation Kit
高级语言: Fortran
项目地址: git://github.com/gher-ulg/OAK.git
创建时间: 2017-07-07T13:51:59Z
项目社区:https://github.com/gher-ulg/OAK

开源协议:

下载


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)
  • cholmod

Optionally, 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:

  1. sudo apt-get install gfortran libatlas-base-dev liblapack-dev openmpi-bin libopenmpi-dev libnetcdf-dev netcdf-bin libsuitesparse-dev
  2. cp config.mk.template config.mk
  3. make

ifort and MKL

Without CLODMOD:

Set $MKLROOT:

  1. $ 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=