Skip to content

Latest commit

 

History

History
54 lines (45 loc) · 3.34 KB

README-Dependencies.md

File metadata and controls

54 lines (45 loc) · 3.34 KB

GA-AEM third-party library dependencies

Description

For full functionality and to build all programs the following packages are required: FFTW, MPI, NetCDF, GDAL and PETSc.

Installing dependencies on Linux

Depending on your flavour of Linux, you are likely to need to install the packages (or later versions) for Ubuntu as follows:

> sudo apt-get update
> sudo apt install build-essential
> sudo apt install cmake
> sudo apt install gcc-9
> sudo apt install libfftw3-dev
> sudo apt install libopenmpi-dev
> sudo apt install libnetcdf-dev
> sudo apt install libnetcdf-c++4-dev
> sudo apt install libgdal-dev
> sudo apt install libpetsc-real-dev

Installing dependencies on Windows

On Windows the packages can be downloaded and installed as outlined below.

  • Note that 64 bit versions are required with the include and library files.
  • Note that the directory path %LocalAppData% is the Windows environment variable where non-administrator users can install applications for their own use and is typically located at C:\Users\<your-username>\AppData\Local\.
  • Note that %LocalAppData% can be substituted for any other suitable installation path, for example C:\Program Files\ or C:\Win10Dev\.

FFTW

MPI

NETCDF

  • Download the netCDF-4 64-bit prebuilt Windows binaries installer from - https://downloads.unidata.ucar.edu/netcdf-c/4.9.2/netCDF4.9.2-NC4-64.exe.
  • This can be installed to the default path C:\Program Files\netCDF 4.9.2.
  • Earlier version of netCDF 4 will also work.
  • The netCDF C++ bindings library source code is included in this repository as a submodule and does NOT need to be downloaded separately.

GDAL

PETSc