Repository navigation
Examples running checking and benchmarking
Tests, diagnostics and the benchmark suite.
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.
Runs crambin on the CPU and on the GPU and compares heats, gradients, the CPU fallback and NOGPU; it must end with all checks passed.
cd tests
python3 check_mozyme_gpu_tolerance.py ../build/mopac \
../benchmarks/publication_inputs/mop/protein_crambin_1crn.mop \
../benchmarks/publication_inputs/mop/protein_crambin_1crn_opt.mop \
--handback ../benchmarks/publication_inputs/mop/protein_crambin_1crn_denout.mop
Largest difference between GPU and CPU heats in the benchmark checks; numbers published in the README (A100 benchmark, commit c85eb96d).
Compares the device one-electron matrix, Fock matrix and gradient with the CPU loops for the repository cells.
python3 tests/check_materials_gpu.py build/mopac --medium quartz,silicon,rutile
The cells of tests/data/materials/small.
Twenty checks of the QM–MM PME against a direct Ewald sum (Madelung constant, potentials, forces); no MOPAC needed, --gpu also tests the CuPy grid.
python3 tests/check_qmmm_pme_ewald.py --gpuChecked: without --gpu, all 11 checks passed on the main branch after commit ef0e500d, which fixed the test itself; in release v1.2-gpu the test stops with an AttributeError before its third check.
The 11 CPU checks of tests/check_qmmm_pme_ewald.py: value and tolerance of each (unit in brackets).
TIMES (standard MOPAC) prints the time of each stage; MOPAC_GPU_PROFILE=1 adds the device timings.
Copy next to the input: tests/data/mozyme_gpu_reference/1UAO_opt.pdb
PM7 MOZYME 1SCF TIMES GEO_DAT="1UAO_opt.pdb"
Chignolin, stage times
MOPAC_GPU_PROFILE=1 mopac job.mopChecked: runs with the CPU build of release v1.2-gpu (commit 323b6076, 2026-11-20).
Time of the stages of the SCF reported by TIMES for this job.
MOPAC_GPU_DEBUG=1 prints the detected GPUs, the device chosen and the MOZYME GPU settings in the output.
MOPAC_GPU_DEBUG=1 mopac job.mop
nvidia-smi # memory in use while it runs
FP64 rate and memory bandwidth of NVIDIA GPUs, vendor data as listed in the README (Which GPU?); only the A100 and the T4 were timed with this code.
Every benchmark of the README tables. --quick runs one small case per experiment (a test of the pipeline); --exp picks experiments.
python3 scripts/paper/paper_bench.py --mopac build/mopac --libmopac build/libmopac.so --out results --quick
python3 scripts/paper/paper_bench.py --mopac build/mopac --out results --exp mozyme_sp,solids
python3 scripts/paper/paper_figures.py results
Speed-up of the A100 against the system size; numbers published in the README (A100 benchmark, commit c85eb96d).
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