Skip to content

mfvalin/rpncomm

Repository files navigation

rpncomm

MPI based communication routines for models

At CMC

Build dependencies

  • CMake 3.12+

Note: cmake_rpn and ci-env are included as a submodule. Please clone with the --recursive flag or run git submodule update --init --recursive in the git repo after having cloned.

Environment

Source the right file depending on the architecture you need from the env directory. This will load the specified compiler and define the ECCI_DATA_DIR variable for the test datasets

  • Example for PPP3 and skylake specific architecture:
. ci-env/latest/ubuntu-18.04-skylake-64/intel-19.0.3.199.sh
  • Example for XC50 on intel-19.0.5
. ci-env/latest/sles-15-skylake-64/intel-19.0.5.281.sh
  • Example for CMC network and gnu 7.5:
. ci-env/latest/ubuntu-18.04-amd-64/gnu-7.5.0.sh

Build and install

mkdir build
cd build
cmake ..
make -j 4
make package

Outside CMC (External users)

Build dependencies

  • CMake 3.12+

Note: cmake_rpn and ci-env are included as a submodule but ci-env is not available externally. Please run git -c submodule."ci-env".update=none submodule update --init --recursive in the git repo after having cloned.

Build and install

mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=${your_choice}
make -j 4
make install