Vertical grids management library and tools
- CMake 3.20+
- librmn
Load the right environment, depending on the architecture you need. This
will load the specified compiler and its parameters, and set the
EC_CMAKE_MODULE_PATH variable for the cmake_rpn modules.
- Example for ppp6/sc6 and icelake specific architecture:
. r.load.dot mrd/rpn/code-tools/latest/env/rhel-8-icelake-64@inteloneapi-2025.1.0
- Example for generic architecture on ppp6/sc6
. r.load.dot mrd/rpn/code-tools/latest/env/rhel-8-amd64-64@inteloneapi-2025.1.0
- Example for GNU on any architecture:
. r.load.dot mrd/rpn/code-tools/latest/env/gnu
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
--recurse --remote-submodules options, or run git submodule update --init --remote 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