Example Error Messages
Failed to read file '/path/to/input.xyz': No such file or directory
Invalid syntax at line 3: Unknown element symbol: Xx
SCF failed to converge after 100 iterations (ΔP = 1.23e-05)
Matrix is singular or nearly singular (condition number: 1.23e+15).
The matrix is ill-conditioned during symmetric orthogonalization.
Possible causes: (1) Linear dependence in basis set, (2) Atoms too close together
Common Errors and Solutions
| Error | Likely Cause | Solution |
|---|---|---|
ParseError: Invalid syntax at line N | Typo in input file | Check line N for syntax errors |
BasisError: Basis set not found | Typo in basis name or missing basis | Check basis name spelling; see available basis sets |
ScfError: failed to converge | Difficult convergence | Increase MaxCycle, add Shift, try XQC/YQC |
LinalgError: singular matrix | Linear dependence | Use smaller basis, check for duplicate atoms |
NumericalError: NaN/Inf | Numerical overflow | Check geometry, reduce step size |
Debugging Tips
-
Enable trace output for DIIS/BFGS:
OPENQ_DIIS_TRACE=1 oquantum input.inp OPENQ_BFGS_TRACE=1 oquantum input.inp -
Check geometry for:
- Atoms too close together (< 0.5 Å)
- Linear dependencies in basis
- Incorrect coordinates
-
Try alternative SCF methods:
XQCfor DIIS + QC fallbackYQCfor SD → DIIS → QC chainQC truefor full QC-SCF