Skip to content
Juvenal Yosa edited this page Nov 22, 2026 · 4 revisions

Barranquilla MOPAC GPU

Barranquilla MOPAC runs MOPAC's linear-scaling MOZYME method, the SCF of periodic solids, and QM/MM dynamics with OpenMM on NVIDIA GPUs. Inputs do not change: a MOZYME job uses the GPU by itself, and NOGPU gives the CPU code path of the same program.

This wiki is a collection of 65 worked examples, most of them with the keywords that this version adds (TEMPERATURE=, BUSSI=, SEED=, TRUST, SWIG, HB-SMOOTH, SMEAR, MM_CHARGES=), and a reference of those keywords in the manner of the MOPAC manual. Inputs marked Checked were run again with the CPU build of release v1.2-gpu (commit 323b6076) on 2026-11-20, most of them shortened as the note says; the GPU gives the same results to the precision of the SCF criterion, faster.

All examples

Getting started

  1. Single-point energy of a protein
  2. The same job on the CPU, for comparison
  3. Energy and gradient
  4. A tight SCF criterion
  5. A larger protein
  6. DNA
  7. Another semiempirical method
  8. AM1 for a quick look
  9. Water: a large cluster from a script

Preparing structures

  1. Add hydrogens to a PDB file (neutral groups)
  2. Add hydrogens with charged groups (pH ≈ 7)
  3. The input chemistry check stops a broken structure
  4. Run anyway with LET
  5. Prepare, optimize and run dynamics from a PDB file (Python)

Implicit water

  1. Single point in water (COSMO)
  2. Smooth COSMO surface: SWIG
  3. Optimization in water
  4. Optimization in water with PM6-D3H4
  5. DNA in water

Geometry optimization

  1. Optimization with the trust-region optimizer: TRUST
  2. Stop at a gradient norm
  3. Smooth hydrogen bonds: HB-SMOOTH
  4. Continue an optimization that hit the cycle limit
  5. Write the final geometry as a PDB file
  6. Optimize part of a protein

Molecular dynamics

  1. NVE dynamics at 300 K: TEMPERATURE
  2. NVT dynamics: BUSSI thermostat
  3. Equilibrate with a tight coupling first
  4. Reproducible velocities: SEED
  5. Independent replicas
  6. Dynamics in implicit water
  7. Heating in stages
  8. Classic DRC with a kinetic energy
  9. Dynamics of a larger protein

Vibrations and thermochemistry

  1. Vibrational frequencies and thermochemistry of a protein
  2. Frequencies over several GPU processes
  3. Frequencies of part of a protein: FORCETS

Periodic solids

  1. Single point of a crystal
  2. Force the GPU for a small cell
  3. A two-dimensional layer
  4. A metal or small-gap solid: SMEAR
  5. Accurate gradients of a solid: PRECISE
  6. Relax the atoms in a fixed cell
  7. Γ-point vibrations of a crystal
  8. Dynamics of a crystal
  9. The SCF of MOPAC 23.1.2 for solids: SHIFT=80
  10. A molecular crystal with MOZYME
  11. Turn the pseudo-diagonalization off

Conventional scf of large molecules

  1. A large molecule without MOZYME
  2. An open-shell molecule: UHF
  3. Half-electron C.I. with analytic gradient
  4. Bond orders and valences: BONDS

Qm/mm with openmm

  1. A side chain as the QM region
  2. A whole peptide as the QM region, with an NVE check
  3. An enzyme active site with protonation states and distances
  4. Long-range QM–MM electrostatics on or off
  5. QM/MM in your own OpenMM script
  6. MM point charges from a file: MM_CHARGES
  7. An enzyme reaction: attack of Ser195 on the substrate in trypsin

Running, checking and benchmarking

  1. Check the installation
  2. Check the solids path
  3. Check the QM/MM long-range electrostatics
  4. Where did the time go: TIMES and MOPAC_GPU_PROFILE
  5. Show which GPU is used
  6. Run the benchmark suite

Clone this wiki locally