Repository navigation
Troubleshooting
I cannot tell whether the job ran on the GPU. By default a GPU run writes no trace lines; run it with
MOPAC_GPU_DEBUG=1 and look for [MOZYME GPU SCF] status=success. Jobs of 100 atoms or fewer run on the CPU unless
MOPAC_FORCEGPU=1 is set.
The output says status=fallback_cpu. The CPU code finished that SCF; the result is correct, only slower.
The reason is on the same line. Frequent causes: an SCF that does not converge within its iteration budget, or, in
dense covalent solids with MOZYME, localized orbitals larger than the device limit (lmo_extent); use the
conventional SCF (no MOZYME) for oxides, silicon and similar.
GPU and CPU heats differ by more than 0.05 kcal/mol. At the default SCF criterion large proteins can differ by
a few tenths (adenylate kinase: 0.41 kcal/mol in the benchmarks). Rerun both with SCFCRT=1.D-6.
The job stops after INPUT CHEMISTRY CHECK. The structure has a broken group; the report names it. Fix the PDB
(remove the fragment or complete it); LET runs anyway.
COMPUTED CHARGE ON SYSTEM is not what I expected. MOZYME derives the charge from the Lewis structure of the
hydrogenated structure. Check the protonation (ADD-H SITE=(IONIZE) for pH 7) and give CHARGE= if needed.
The temperature falls to about half at the start of NVT. Expected from an energy minimum (equipartition). Use a
short coupling first (BUSSI=10), then a longer one or NVE.
A solid needs thousands of SCF iterations (graphene). Try SMEAR=0.1 for a metal or small-gap cell, and check
the result with a tight criterion. Some cells have more than one SCF solution; compare heats and HOMO–LUMO gaps.
RESTART file '<input>.res' does not exist. The restart file must have the name of the input file and be in
the same directory. Before commit b46602aa an optimization with TRUST wrote none; then continue from the geometry
at the end of its output (example 23).
MM_CHARGES has no effect, or MM_CHARGES AND NO MOZYME. The keyword acts only with MOZYME. Check the line
QM/MM: n MM point charges in the output: a header or comment line in the charge file ends the list.
PM7 gradients of a molecular crystal look wrong. For a 192-atom urea cell the PM7 analytic gradient deviates from central differences by up to 4.4 kcal/(mol Å) (MOPAC 23.1.2: up to 7.3); PM6 and PM6-DH+ agree within 0.07. The cause has not been found; check PM7 gradients of such solids against finite differences, or use PM6.
QM/MM: "periodic box ... too small for the QM region". The box must hold the QM region plus --roff on every
side, and with PME also the 13-Å real-space cut-off: its edge must be at least 2 × (QM radius + max(--roff, 13 Å));
increase --padding (nm).
QM/MM: the total energy drifts in NVE. Use --tolerance 0.001 (the default 0.01 leaves forces that are not exact
derivatives of the energy), 0.5-fs steps, and on CUDA the default mixed precision (--precision single drifts by
itself). Details in docs/QMMM_OPENMM.md.
Out of device memory. Check nvidia-smi; other processes may hold memory. Very large systems need a 40- or
80-GB card (21 156 atoms used 28.6 GiB).
Something else. Open an issue with the input, the output and the GPU model: https://github.com/juvenalyosa/mopac_gpu/issues.
Barranquilla MOPAC is an independent derivative of MOPAC (Apache License 2.0), not affiliated with or endorsed by MolSSI or Virginia Tech. Repository · Releases
Examples