Skip to content

docs: correct build/run instructions to match the CMake build - #19

Merged
nikbott merged 1 commit into
devfrom
docs/correct-build-docs
Jul 7, 2026
Merged

docs: correct build/run instructions to match the CMake build#19
nikbott merged 1 commit into
devfrom
docs/correct-build-docs

Conversation

@nikbott

@nikbott nikbott commented Jul 7, 2026

Copy link
Copy Markdown
Owner

What

Documentation-correctness sweep from the repo audit. No code/behavior change.

  • README — backend table + MPI/CUDA sections referenced non-existent mpi/Makefile / cuda/Makefile; replaced with the real CMake path (-DAMR_BUILD_MPI=ON / -DAMR_BUILD_CUDA=ON) and flat binary names (build/amr_mpi, build/amr_cuda). Added a License line.
  • docs/getting-started.md — run paths ./build/omp|mpi|cuda/amr → the actual ./build/amr, ./build/amr_mpi, ./build/amr_cuda.
  • docs/how-to-add-an-oracle.mdrefine() takes one arg (omp/tree.hpp:234), not (oracle, max_level); added the refine-to-convergence loop note.
  • REFERENCES.md — fixed docs/design/gpu-balance-notes.md links; removed machine-local ~/Documents/... paths (kept DOI/arXiv).
  • Makefile — dropped the dead docs/CI_FUTURE.md reference (CI is live) and corrected the MPI/sanitizer default-ON comment.

Why

A fresh contributor following the README/getting-started would hit commands that fail (missing Makefiles, wrong binary paths) or an oracle example that won't compile.

🤖 Generated with Claude Code

The per-backend build docs referenced mpi/Makefile and cuda/Makefile, which
do not exist — the real build path is the top-level CMake with
-DAMR_BUILD_MPI=ON / -DAMR_BUILD_CUDA=ON. Fix the README backend table + MPI/
CUDA sections and the getting-started run paths (binaries are flat:
build/amr, build/amr_mpi, build/amr_cuda). Correct the one-arg refine()
signature in the oracle how-to, repair the docs/design/ links and drop
machine-local paths in REFERENCES.md, refresh the stale Makefile header
(CI is live) and the MPI/sanitizer default-ON comment. Add a License line.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@nikbott
nikbott merged commit e69a3f2 into dev Jul 7, 2026
9 checks passed
@nikbott
nikbott deleted the docs/correct-build-docs branch July 7, 2026 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant