Repository navigation
Examples getting started
Single points of proteins and DNA with MOZYME. Every input has three header lines: keywords, a title and a comment (may be empty). GEO_DAT reads the geometry from a PDB file next to the input. Run with mopac job.mop; the output is job.out.
To see whether the SCF ran on the GPU, run with MOPAC_GPU_DEBUG=1 mopac job.mop and look for [MOZYME GPU SCF] status=success in the output. Without that variable a GPU run writes no trace lines, except status=fallback_cpu, which means that the CPU code finished the SCF, with a correct result at CPU speed. Jobs of 100 atoms or fewer run on the CPU (see Running on the GPU).
Figures: calculations with the CPU build of v1.2.1-gpu, laptop (Intel Core i7-8850H), one core unless a caption says otherwise, or published numbers where the caption says so. Scripts: scripts/wiki_figures.
The smallest useful MOZYME job. With a GPU of compute capability 7.0 or newer the SCF runs on it; nothing in the input asks for it.
Copy next to the input: tests/data/mozyme_gpu_reference/1UAO_opt.pdb
PM7 MOZYME 1SCF GEO_DAT="1UAO_opt.pdb"
Chignolin, single point
Checked: runs with the CPU build of release v1.2-gpu (commit 323b6076, 2026-11-20).
Atomic charges of chignolin from this job, on the structure and summed per residue.
NOGPU runs this job on the CPU code path of the same program. Compare FINAL HEAT OF FORMATION of the two outputs; at the default SCF criterion they agree to about 0.01 kcal/mol (the GPU rotation order varies).
Copy next to the input: tests/data/mozyme_gpu_reference/1UAO_opt.pdb
PM7 MOZYME 1SCF NOGPU GEO_DAT="1UAO_opt.pdb"
Chignolin, single point on the CPU
Checked: runs with the CPU build of release v1.2-gpu (commit 323b6076, 2026-11-20).
Time of MOZYME single points on the CPU code path (one core) and on an A100; numbers published in the README (A100 benchmark, commit c85eb96d).
GRADIENTS prints the Cartesian gradient of every atom at the SCF geometry (on the GPU for MOZYME).
Copy next to the input: tests/data/mozyme_gpu_reference/1UAO_opt.pdb
PM7 MOZYME 1SCF GRADIENTS GEO_DAT="1UAO_opt.pdb"
Chignolin, energy and gradient
Checked: runs with the CPU build of release v1.2-gpu (commit 323b6076, 2026-11-20).
The gradient of every atom from this job: its size on the structure and its distribution by element.
Run-to-run differences of GPU heats are of the order of the SCF criterion. When 0.1 kcal/mol matters (large proteins, energy differences), tighten it: SCFCRT=1.D-6 brought GPU and CPU heats within 5·10⁻⁵ kcal/mol in the benchmarks.
Copy next to the input: tests/data/mozyme_gpu_reference/1UAO_opt.pdb
PM7 MOZYME 1SCF GRADIENTS SCFCRT=1.D-6 THRESH=1.D-15 GEO_DAT="1UAO_opt.pdb"
Chignolin, tight SCF
Checked: runs with the CPU build of release v1.2-gpu (commit 323b6076, 2026-11-20).
Heat of formation against the SCF criterion, relative to SCFCRT=1.D-6 (heats are printed with five decimals), and the job time; all with THRESH=1.D-15.
Crambin (642 atoms) takes about 1.2 s on an A100 and 25 s on one CPU core.
Copy next to the input: benchmarks/publication_inputs/hydrogenated/protein_crambin_1crn_hydrogenated.pdb
PM7 MOZYME 1SCF GEO_DAT="protein_crambin_1crn_hydrogenated.pdb"
Crambin, single point
Checked: runs with the CPU build of release v1.2-gpu (commit 323b6076, 2026-11-20).
Crambin coloured by the charge of each residue (sum of its atomic charges), and the same values along the chain.
Nucleic acids work the same way. MOZYME derives the net charge from the Lewis structure of the hydrogenated file and prints it (COMPUTED CHARGE ON SYSTEM; +1 for this structure of the repository), so no CHARGE keyword is needed. For charged phosphates hydrogenate with SITE=(IONIZE).
Copy next to the input: benchmarks/publication_inputs/hydrogenated/dna_dodecamer_1bna_hydrogenated.pdb
PM7 MOZYME 1SCF GEO_DAT="dna_dodecamer_1bna_hydrogenated.pdb"
DNA dodecamer 1BNA, single point
Checked: runs with the CPU build of release v1.2-gpu (commit 323b6076, 2026-11-20).
The DNA dodecamer coloured by the charge of each nucleotide, and the charges along both strands. The +1 is the charge MOZYME derived from the Lewis structure of this hydrogenated file.
Replace PM7 by MNDO, AM1, PM3, RM1, PM6 or PM6-D3H4; all seven were compared on the GPU and the CPU for crambin and DNA.
Copy next to the input: tests/data/mozyme_gpu_reference/1UAO_opt.pdb
PM6-D3H4 MOZYME 1SCF GEO_DAT="1UAO_opt.pdb"
Chignolin, PM6-D3H4
Checked: runs with the CPU build of release v1.2-gpu (commit 323b6076, 2026-11-20).
Heat of formation of chignolin with each method, MOZYME 1SCF at the geometry of the file.
Older methods are cheaper per iteration; useful for testing a structure before a PM7 run.
Copy next to the input: tests/data/mozyme_gpu_reference/1UAO_opt.pdb
AM1 MOZYME 1SCF GEO_DAT="1UAO_opt.pdb"
Chignolin, AM1
Checked: runs with the CPU build of release v1.2-gpu (commit 323b6076, 2026-11-20).
Job time of the same single points; AM1 highlighted.
scripts/make_water_cluster.py writes a MOZYME input for N water molecules on a lattice (for timing, not for physically meaningful energies). 7 052 molecules (21 156 atoms) took 29 s on an A100.
python3 scripts/make_water_cluster.py 1000 --out water1000.mop
mopac water1000.mopChecked: the script with 50 molecules, then MOPAC on the CPU.
The 50-molecule cluster written by the script, and the job time against the number of molecules.
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