Skip to content

Latest commit

 

History

History
executable file
·
17 lines (15 loc) · 401 Bytes

File metadata and controls

executable file
·
17 lines (15 loc) · 401 Bytes

ncbuilder

This CMake script allows one to build NetCDF in configurations friendly to weather prediction and earth system models. You can use it like this:

cmake -S . -B build \
  -DCMAKE_INSTALL_PREFIX=/path/to/lib/install/prefix \
  -DCMAKE_BUILD_TYPE=Release \
  -DBUILD_SHARED_LIBS=ON \
  -DENABLE_PARALLEL=ON \
  -DENABLE_PNETCDF=ON \
  -DENABLE_FORTRAN=ON \
  -G Ninja
cd build
ninja