-
Notifications
You must be signed in to change notification settings - Fork 13
Build
Sam Reeve edited this page Sep 13, 2021
·
5 revisions
| Dependency | Version | Required | Details |
|---|---|---|---|
| CMake | 3.12+ | Yes | Build system |
| Kokkos | 3.2+ | Yes | Portable on-node parallelism |
| Cabana | 0.4+ | Yes | Portable particle algorithms/data structures |
| Silo | 4.10.2 | Yes | Visualization |
These dependencies are available on many systems. The Cabana wiki also has build instructions for both Kokkos and Cabana. ExaMPM can use most available Kokkos parallel backends (set at runtime).
Once the required dependencies are built ExaMPM can be built using CMake:
export CABANA_INSTALL=~/Cabana/build/install
export SILO_INSTALL=~/Silo/build/install
cd ExaMPM
mkdir build
cd build
cmake \
-D CMAKE_BUILD_TYPE="Debug" \
-D CMAKE_PREFIX_PATH="$CABANA_INSTALL;$SILO_INSTALL" \
-D CMAKE_INSTALL_PREFIX=install \
.. ;
make install