Repository navigation
Conversation
Add three scripts to flow/util/ for systematically testing build determinism: - test_idempotency.sh: runs a design twice sequentially with different FLOW_VARIANTs and compares per-stage ODB hashes - drilldown_idempotency.sh: tests all A/B perturbation tricks in parallel (plain re-run, single-threaded, no ASLR, MALLOC_PERTURB_) using FLOW_VARIANT for independent output directories - sweep_idempotency.sh: runs idempotency tests across multiple designs in parallel, escalating from fast to slow Add .claude/commands/diagnose-pr-head.md skill that orchestrates the full diagnostic procedure: fetch PR info, checkout, build, sweep designs, drilldown with A/B tricks, bisect within stages, and report. These were used to diagnose that repair_timing (RSZ) is non-deterministic with threads > 1, while pin_access, global_route, repair_design, and detailed_placement are all deterministic. See The-OpenROAD-Project/OpenROAD#9781 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Collaborator
Author
|
@vvbandeira Just FYI on how I dig into non determinism |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Found and reported this issue The-OpenROAD-Project/OpenROAD#9781
If you have a pr-head with non-determinism, run: