Repository navigation
Barranquilla MOPAC v1.1-gpu
Barranquilla MOPAC v1.1-gpu: the code of the complete A100 benchmark run (commit c85eb96d), with the fixes found while running it, the benchmark suite, and a new README and logo. Inputs do not change; NOGPU or MOPAC_NOGPU=1 gives the CPU code path of the same program.
Fixes since v1.0-gpu
- QM/MM through the API: the atom labels were left uninitialized, so a
+or-in stale memory was read as an explicit ion charge (random "COMPUTED CHARGE ON SYSTEM", then a CHECK failure). They are now blanked (c85eb96d). - MOZYME GPU, very large systems: stage counters compared modulo 2³² (the 21 156-atom water cluster failed the resident density,
1585b0dc); virtual and occupied LMOs that do not fit the shared tables go to spill slots instead of failing the resident SCF (6e3bd1da,91eb7992); the density index sort is sized from the number of occupied LMOs (a15d8323). - Large solids: the number of two-electron integrals is counted in 64-bit arithmetic (Si₁₇₂₈ overflowed it,
355f9cf4). - Pseudo-diagonalization: rotations start only once the density change PL is below 0.05, for solids too, and a rotation stretch that lets PL grow is ended (forced-GPU graphene reached another state; MgO slab with water crept for 4 200 iterations) (
455deb0b,53ef28ed,ee0488c5). - QM-PME: the whole GPU grid is tested before it is used (
9f83cebf).
New
- Benchmark suite:
scripts/paper/paper_bench.pyandpaper_figures.py, the Colab notebookcolab/paper_benchmarks_colab.ipynb, and a Modal driver; a check of the QM/MM long-range electrostatics against a direct Ewald sum (tests/check_qmmm_pme_ewald.py). - README rewritten with the results of the benchmark run, QM/MM with OpenMM, how to run the benchmarks, accuracy and limitations; new logo.
Performance (one A100-SXM4-40GB; CPU: Xeon 2.2 GHz of the same machine)
| Job | Atoms | CPU | GPU | Speed-up |
|---|---|---|---|---|
| Crambin, MOZYME single point | 642 | 25.4 s (1 core) | 1.22 s | 21× |
| Adenylate kinase, MOZYME single point | 6 689 | 695 s (1 core) | 9.09 s | 76× |
| Water cluster, 7 052 H₂O | 21 156 | — | 29.4 s | |
| Crambin, 100 optimization cycles | 642 | 993 s | 27.0 s | 37× |
| Crambin, NVE dynamics | 642 | 11.0 s/step | 0.27 s/step | 40× |
Silicon, 1SCF GRADIENTS |
512 | 369 s (12 threads) | 22.0 s | 17× |
Rutile TiO₂, 1SCF GRADIENTS |
576 | 179 s (12 threads) | 14.0 s | 13× |
| QM/MM, crambin as QM region in water | 24 813 | 34.5 s/step | 1.33 s/step | 26× |
GPU times are medians of three runs. MOZYME on the CPU does not use threads, so its reference is one core. Details, accuracy and limitations (among them a PM7 gradient error in molecular crystals that MOPAC 23.1.2 shares) are in the README.
Barranquilla MOPAC is an independent derivative of MOPAC (Apache License 2.0), not affiliated with or endorsed by MolSSI or Virginia Tech.