Common Error Recipes¶
Use this page when you know the symptom but do not know which subcommand page to open first. For full details, keep Troubleshooting open in parallel.
Quick routing¶
Symptom |
Start here |
Then read |
|---|---|---|
Missing element columns / extraction aborts |
|
|
“Charge is required” errors |
Set |
|
Energies/states look wrong after a run |
Re-check charge/multiplicity policy in CLI conventions |
|
|
Fix AmberTools availability first |
|
|
Rebuild native extension ( |
|
DMF mode import errors ( |
Install |
|
TSOPT/IRC does not converge |
Reduce step length (trust_radius for RFO/RS-I-RFO, max_step for L-BFGS), increase cycles, validate TS quality first |
|
Optimizer stalls at flat energy (MLIP noise floor) |
Rely on the default |
|
CUDA/GPU runtime mismatch |
Verify |
|
Plot export failures |
Install Chrome runtime for Plotly export |
Recipe 1: Extraction fails before MEP starts¶
Signal:
Errors mention missing element symbols, atom-count mismatch, or empty pockets. First checks:
Confirm all inputs are prepared by the same workflow and atom ordering is consistent.
Ensure element columns are present before running
extractorall. Typical fix path:Repair elements -> rerun extraction -> confirm pocket size and residue inclusion.
Recipe 2: Charge/spin validation fails¶
Signal:
If the log shows unexpected charges (e.g., protein charge is wrong, or total charge does not match expectations), review the charge resolution rules. First checks:
Ensure total charge and multiplicity are physically correct for the target state.
If using residue maps, validate each residue key in
--ligand-charge.Verify the resolution rules in CLI Conventions when results look physically inconsistent. Typical fix path:
Prefer explicit
-qand-mfor critical runs, then retry scan/path/tsopt.
Recipe 3: Build or environment blockers¶
Signal:
mm-parmtooling not found,hessian_ffimport failures, CUDA mismatch. First checks:Confirm required executables and Python extension modules exist in the active env.
Validate GPU visibility and PyTorch CUDA compatibility. Typical fix path:
Repair toolchain/build first, then rerun with
--help-advancedto verify available options before full execution.
Recipe 4: Convergence and post-processing failures¶
Signal:
TSOPT stalls, IRC branches look unstable, or MEP refinement stops unexpectedly. First checks:
Confirm TS candidate quality with one dominant imaginary mode.
Reduce step length (trust_radius / max_step) and increase cycle limits. Note that
trust_maxdefaults to 0.10 bohr since v0.2.8 (was 0.20) for both RFO and RS-I-RFO.Check whether the energy has already plateaued: if the last ~50 cycles show
|dE| < 1e-4au while forces are flat, the MLIP force noise floor is the culprit rather than an optimization bug. The defaultenergy_plateaufallback will declare convergence automatically (see Troubleshooting). Typical fix path:Run a smaller diagnostic case, tune thresholds/step sizes, then scale back up.