Skip to content

Examples conventional SCF of large molecules

Juvenal Yosa edited this page Nov 20, 2026 · 3 revisions

Without MOZYME, molecules of 300 orbitals or more build their Fock matrix on the GPU, and from 400 basis functions they diagonalize with cuSOLVER. Smaller molecules run on the CPU.

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.

49. A large molecule without MOZYME

Molecules of 300 orbitals or more build their Fock matrix on the GPU; the diagonalization uses cuSOLVER from 400 basis functions. Geometry: the hydrogen-terminated graphene flake C₁₉₂H₃₈ of the repository. PULAY (standard MOPAC) is needed here. Without it, on the CPU of a laptop, the SCF converged only after MOPAC had forced all its convergers on, after 49 minutes, and in a state 8.4 kcal/mol higher (2501.34 against 2492.93 kcal/mol); with it, the same job with the gradient took 49 s.

Geometry from benchmarks/publication_inputs/mop/material_graphene_nanoflake_c192h38.mop (its atom and Tv lines follow the two header lines)

PM7 XYZ 1SCF GRADIENTS PULAY GEO-OK
Graphene flake C192H38

C    -18.446341    -7.810000     0.000000
C    -17.216585    -7.100000     0.000000
C    -17.216585    -5.680000     0.000000
... (230 atoms in all)

Checked: runs with the CPU build of release v1.2-gpu (commit 323b6076, 2026-11-20).

The C₁₉₂H₃₈ flake and its SCF with PULAY

The C₁₉₂H₃₈ flake and its SCF with PULAY. Without PULAY the same SCF on this laptop converged only after MOPAC had forced all its convergers on, after 49 minutes, 8.4 kcal/mol higher.

50. An open-shell molecule: UHF

Chignolin cation as a UHF doublet (conventional SCF).

Copy next to the input: tests/data/mozyme_gpu_reference/1UAO_opt.pdb

PM7 UHF 1SCF GRADIENTS CHARGE=1 DOUBLET GEO_DAT="1UAO_opt.pdb"
Chignolin cation, UHF

Checked: runs with the CPU build of release v1.2-gpu (commit 323b6076, 2026-11-20).

Spin populations of the UHF cation: the unpaired electron is on Trp9.

Spin populations of the UHF cation: the unpaired electron is on Trp9.

51. Half-electron C.I. with analytic gradient

An RHF doublet uses the half-electron method; its gradient comes from one Z-vector solve instead of finite differences of the C.I. energy.

Copy next to the input: tests/data/mozyme_gpu_reference/1UAO_opt.pdb

PM7 RHF 1SCF GRADIENTS CHARGE=1 DOUBLET GEO-OK GEO_DAT="1UAO_opt.pdb"
Chignolin cation, half-electron

GEO-OK is required: MOPAC refuses an RHF radical without it.

Checked: runs with the CPU build of release v1.2-gpu (commit 323b6076, 2026-11-20).

Gradient of the half-electron doublet: the analytic one (default) and NOANCI against central differences of the heat (±0.005 Å, checked with 0.002 and 0.01 Å and SCFCRT=1.D-8) for 12 coordinates

Gradient of the half-electron doublet: the analytic one (default) and NOANCI against central differences of the heat (±0.005 Å, checked with 0.002 and 0.01 Å and SCFCRT=1.D-8) for 12 coordinates. The analytic gradient agrees within 0.4 kcal/(mol Å) at 10 coordinates and is off by 1.0 and 1.25 at two (MOPAC 23.1.2 gives the same values there); NOANCI is off by up to 29, in MOPAC 23.1.2 too.

52. Bond orders and valences: BONDS

BONDS (standard MOPAC) prints the bond-order matrix and the valences; useful to check the electronic structure of a large conjugated molecule.

Geometry from benchmarks/publication_inputs/mop/material_graphene_nanoflake_c192h38.mop (its atom and Tv lines follow the two header lines)

PM7 XYZ 1SCF PULAY BONDS GEO-OK
Graphene flake, bond orders

C    -18.446341    -7.810000     0.000000
C    -17.216585    -7.100000     0.000000
C    -17.216585    -5.680000     0.000000
... (230 atoms in all)

Checked: runs with the CPU build of release v1.2-gpu (commit 323b6076, 2026-11-20).

C–C bond orders of the flake from BONDS.

C–C bond orders of the flake from BONDS.

Clone this wiki locally