Skip to content

GPU icon Tutorial: Cluster Portable Build

Audience: users who need a portable build for heterogeneous cluster nodes.

Build and run on heterogeneous cluster nodes without -march=native and with shared cudart.

Configure:

cmake -S . -B build -DDMFE_PORTABLE_BUILD=ON -DCMAKE_CUDA_ARCHITECTURES=80
cmake --build build -j $(nproc)

Run:

./RG-Evo -L 1024 -l 0.5

Tips

  • Pick the lowest common SM (e.g., 80 for A100).
  • For CPU-only environments, set -DDMFE_WITH_CUDA=OFF.

See also