You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: toolchain/mfc/cli/commands.py
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -983,6 +983,12 @@
983
983
default=False,
984
984
dest="no_float_max",
985
985
),
986
+
Argument(
987
+
name="force",
988
+
help="Run a user case that exceeds the size feasibility guard anyway. Expect long runtimes: ~30x Verrou slowdown per run, times up to ~12 runs (trim passes with -N 1 and --no-* flags).",
989
+
action=ArgAction.STORE_TRUE,
990
+
default=False,
991
+
),
986
992
],
987
993
examples=[
988
994
Example("./mfc.sh fp-stability", "Auto-discover binaries and run the built-in suite"),
@@ -994,6 +1000,10 @@
994
1000
Example("./mfc.sh fp-stability -N 10", "Run 10 random-rounding samples per case"),
995
1001
Example("./mfc.sh fp-stability --no-vprec --no-cancellation", "Skip VPREC sweep and cancellation detection"),
raiseMFCException(f"case has {cells:,} cells - too large for Verrou (~30x slowdown, run many times). "f"Use a coarsened proxy (<= {FP_CASE_MAX_CELLS:,} cells).")
537
-
ifwork>FP_CASE_MAX_WORK:
538
-
raiseMFCException(
539
-
f"case is ~{work:,} cell-steps ({cells:,} cells x {t_stop} time steps) - too slow under "
540
-
f"Verrou (~30x, run many times). Reduce m/n/p or t_step_stop (target <= {FP_CASE_MAX_WORK:,} cell-steps)."
573
+
ifnotARG("force"):
574
+
ifcells>FP_CASE_MAX_CELLS:
575
+
raiseMFCException(
576
+
f"case has {cells:,} cells - too large for Verrou (~30x slowdown, run many times). "f"Use a coarsened proxy (<= {FP_CASE_MAX_CELLS:,} cells), or pass --force to run anyway."
577
+
)
578
+
ifwork>FP_CASE_MAX_WORK:
579
+
raiseMFCException(
580
+
f"case is ~{work:,} cell-steps ({cells:,} cells x {t_stop} time steps) - too slow under "
581
+
f"Verrou (~30x, run many times). Reduce m/n/p or t_step_stop (target <= {FP_CASE_MAX_WORK:,} cell-steps), or pass --force to run anyway."
0 commit comments