CMake installation¶
Minimal requirements¶
yaml-cpp¶
You can then remove yaml-cpp and build-yaml-cpp. When building onika, exaNBody and exaDEM, add
-DCMAKE_PREFIX_PATH=${PATH_TO_YAML} to the cmake commands.
onika and exaNBody¶
Your system must provide MPI. Then build onika and exaNBody:
Replace 86 in -DCMAKE_CUDA_ARCHITECTURES by the compute capability of your GPU.
Copy the onika and exaNBody repositories on Topaze. You can load yaml-cpp with module load yaml-cpp/ and add
-DCMAKE_PREFIX_PATH=/ccc/products/yaml-cpp-0.6.3/system/default/ to the cmake commands.
Optional dependencies¶
CUDAorHIP, enabled when building onika;RSA_MPI, see Optional packages.
Building exaDEM¶
With onika_DIR and exaNBody_DIR set to the installation paths:
exaDEM itself has no GPU-specific cmake flag: GPU support is inherited from onika/exaNBody. Make sure
onika_DIR and exaNBody_DIR point to installations built with -DONIKA_BUILD_CUDA=ON and the right
-DCMAKE_CUDA_ARCHITECTURES (tab "Ubuntu GPU" above); the command is then the same as for the CPU build.
See Spack installation to install spack itself.
Warning
Load the exaDEM environment before running a job: source bin/setup-env.sh.
Historical note (versions ≤ 1.1.1 only)
In these releases, the maximum number of vertices per particle shape was 8 by default and could be changed with
-DEXADEM_MAX_VERTICES=N. This option no longer exists.
./exaDEM --help plugins lists the plugins and their operators, for example:
+ exadem_force_fieldPlugin
operator cylinder_wall
operator gravity_force
operator contact_force
operator rigid_surface
+ exadem_ioPlugin
operator print_simulation_state
operator read_xyz
operator read_dump_particles
CEA supercomputers¶
Set export exaNBody_DIR=${path_to_exaNBody} and export onika_DIR=${path_to_onika} first.