Vertical grids management library and tools
- CMake 3.20+
- librmn
Source the right file from the ECCI_ENV
variable, depending on the desired
architecture. This will load the specified compiler, set the
ECCI_DATA_DIR
variable for the test datasets, and set the
EC_CMAKE_MODULE_PATH
variable for the cmake_rpn
modules.
- Example for PPP5:
. $ECCI_ENV/latest/ppp5/inteloneapi-2022.1.2.sh
- Example for CMC network and gnu 11.4.0:
. $ECCI_ENV/latest/ubuntu-22.04-amd-64/gnu.sh
You also need a version of librmn and optionally tdpack: either load them from ssm, both are in rpn/libs domain (. r.load.dot rpn/libs/...) or provide the path to cmake install directories if you compiled them.
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=[your install path] [-Drmn_ROOT=[path to librmn] -Dtdpack_ROOT=[path to tdpack]
make -j 4
make check
make package
- CMake 3.20+
- librmn: https://github.com/ECCC-ASTD-MRD/librmn/
- tdpack: https://github.com/ECCC-ASTD-MRD/tdpack/
cmake_rpn
is included as a git submodule. Please clone with the
--recursive
option or run git submodule update --init --recursive
in the
git repo after having cloned.
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=${your_choice} -Drmn_ROOT=${librmn_install_path} -Dtdpack_ROOT=${tdpack_install_path}
make -j 4
make install