Installation¶
Prerequisites¶
- Conda (Miniconda or Anaconda)
- vcpkg installed
- C++20 compiler:
- MSVC 2022 (Windows)
- GCC 11+ (Linux)
- Clang 14+ (Linux/macOS)
- (Optional) CUDA >= 12.4 for IPC support
- (Optional) CUDA toolkit for VBD CUDA backend
Standard Install¶
With IPC Support¶
IPC requires libuipc (included as a git submodule) and CUDA >= 12.4.
# Initialize submodules
git submodule update --init --recursive
# Install with IPC
CMAKE_ARGS="--preset=ipc" pip install -e .
With VBD CUDA Backend¶
Verify Installation¶
Dependencies¶
| Component | Source |
|---|---|
| Eigen3 | vcpkg |
| Google Test | vcpkg |
| pybind11 | pip (NOT vcpkg) |
| scikit-build-core | pip |
| NumPy | pip / conda |
| Polyscope | pip (optional, for visualization) |
pybind11 via pip, not vcpkg
Always install pybind11 via pip. The vcpkg version conflicts with conda's Python installation.
Next Steps¶
- Quick Start Tutorial — Build and run your first simulation
- Build from Source — Detailed build options and troubleshooting