Repository navigation
Examples molecular dynamics
DRC with the new keywords TEMPERATURE=, BUSSI= and SEED= gives NVE and NVT dynamics. MOPAC picks its own time step (about 0.1 fs when hydrogens move). The ERROR column of the DRC table is the integration error only, also in NVT: the energy exchanged with the thermostat is booked separately.
Trajectories of the GPU and the CPU drift apart after a few femtoseconds (small SCF differences grow, as in any chaotic dynamics); compare averages, not individual frames.
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.
New keyword. TEMPERATURE=300 starts the dynamics (DRC) from Maxwell–Boltzmann velocities at 300 K, with zero net momentum and a kinetic energy of exactly ½(3N−3)kT. Without a thermostat the total energy is conserved (NVE). T-PRIORITY=0.5 prints a row every 0.5 fs, CYCLES=200 stops after 200 rows (100 fs); the trajectory is written to <input>.xyz.
Copy next to the input: tests/data/mozyme_gpu_reference/1UAO_opt.pdb
PM7 MOZYME DRC TEMPERATURE=300 T-PRIORITY=0.5 CYCLES=200 GEO_DAT="1UAO_opt.pdb"
Chignolin, NVE at 300 K
Checked: runs with the CPU build of release v1.2-gpu (commit 323b6076, 2026-11-20), shortened to CYCLES=4.
NVE from 300 K, 60 fs (the input asks for 100): potential, kinetic and total energy on one scale, and the total alone, magnified: it stays within 0.23 kcal/mol (single-step jumps) while potential and kinetic energy exchange 75 kcal/mol.
New keyword. BUSSI=100 keeps the temperature at 300 K with the stochastic velocity-rescaling thermostat of Bussi, Donadio and Parrinello (canonical ensemble), coupling time 100 fs. Every 50 integration steps the output prints the instantaneous and mean temperature and the energy exchanged with the bath (ENERGY TO BATH; positive: taken out of the system, negative: put in). Full description: BUSSI.
Copy next to the input: tests/data/mozyme_gpu_reference/1UAO_opt.pdb
PM7 MOZYME DRC TEMPERATURE=300 BUSSI=100 T-PRIORITY=0.5 CYCLES=200 GEO_DAT="1UAO_opt.pdb"
Chignolin, NVT 300 K
Checked: runs with the CPU build of release v1.2-gpu (commit 323b6076, 2026-11-20), shortened to CYCLES=4.
NVT with BUSSI=100, 60 fs: temperature, and ENERGY TO BATH (negative: put into the system).
From an energy minimum, half of the kinetic energy flows into potential energy in the first ~10 fs and the temperature falls to about T/2. A short coupling time (10 fs) brings it back quickly; then sample with a looser coupling or NVE.
Copy next to the input: tests/data/mozyme_gpu_reference/1UAO_opt.pdb
PM7 MOZYME DRC TEMPERATURE=300 BUSSI=10 T-PRIORITY=0.5 CYCLES=100 GEO_DAT="1UAO_opt.pdb"
Chignolin, NVT equilibration
Checked: runs with the CPU build of release v1.2-gpu (commit 323b6076, 2026-11-20), shortened to CYCLES=4.
Temperature with BUSSI=10, BUSSI=100 and without thermostat, from the same optimized structure (60 fs each).
New keyword. SEED=n fixes the random numbers of the starting velocities and of the thermostat. On the CPU the same seed gives the same trajectory; on the GPU the SCF is not bit-reproducible, so trajectories drift apart slowly.
Copy next to the input: tests/data/mozyme_gpu_reference/1UAO_opt.pdb
PM7 MOZYME DRC TEMPERATURE=300 BUSSI=100 SEED=42 T-PRIORITY=0.5 CYCLES=200 GEO_DAT="1UAO_opt.pdb"
Chignolin, NVT, seed 42
Checked: runs with the CPU build of release v1.2-gpu (commit 323b6076, 2026-11-20), shortened to CYCLES=4.
Two runs with SEED=42, identical on the CPU (the curves coincide), and one with SEED=43; 30 fs.
Run the same input with different seeds for independent trajectories (one input file each).
Copy next to the input: tests/data/mozyme_gpu_reference/1UAO_opt.pdb
PM7 MOZYME DRC TEMPERATURE=300 BUSSI=100 SEED=1 T-PRIORITY=0.5 CYCLES=200 GEO_DAT="1UAO_opt.pdb"
Replica 1
Replicas 2 and 3: the same with SEED=2 and SEED=3.
Checked: runs with the CPU build of release v1.2-gpu (commit 323b6076, 2026-11-20), shortened to CYCLES=4.
Three seeds, 30 fs: temperature and potential energy.
NVT with COSMO; SWIG keeps the energy smooth as the surface changes, HB-SMOOTH does the same for the hydrogen-bond correction.
Copy next to the input: tests/data/mozyme_gpu_reference/1UAO_opt.pdb
PM7 MOZYME EPS=78.4 SWIG HB-SMOOTH DRC TEMPERATURE=310 BUSSI=100 SEED=7 T-PRIORITY=1 CYCLES=500 GEO_DAT="1UAO_opt.pdb"
Chignolin in water at 310 K
Checked: runs with the CPU build of release v1.2-gpu (commit 323b6076, 2026-11-20), shortened to CYCLES=3.
In water at 310 K (BUSSI=100), 30 fs: temperature and the integration error.
Several short NVT runs at rising temperature, each from the last frame of the previous one (last_frame_pdb in scripts/mozyme_md_workflow.py writes it as a PDB). The first stage:
Copy next to the input: tests/data/mozyme_gpu_reference/1UAO_opt.pdb
PM7 MOZYME DRC TEMPERATURE=100 BUSSI=20 T-PRIORITY=0.5 CYCLES=100 GEO_DAT="1UAO_opt.pdb"
Heating, 100 K
Then TEMPERATURE=200 and TEMPERATURE=300, each with GEO_DAT pointing at the last frame of the stage before.
Checked: runs with the CPU build of release v1.2-gpu (commit 323b6076, 2026-11-20), shortened to CYCLES=4.
Three heating stages of 20 fs, each started from the last frame of the one before.
Without TEMPERATURE, DRC behaves as in standard MOPAC; KINETIC=20 adds 20 kcal/mol along the initial gradient.
Copy next to the input: tests/data/mozyme_gpu_reference/1UAO_opt.pdb
PM7 MOZYME DRC KINETIC=20 T-PRIORITY=0.5 CYCLES=40 GEO_DAT="1UAO_opt.pdb"
Chignolin, classic DRC
Checked: runs with the CPU build of release v1.2-gpu (commit 323b6076, 2026-11-20), shortened to CYCLES=4.
KINETIC=20: the atoms start at rest; the 20 kcal/mol are added once the kinetic energy has reached 0.2 kcal/mol.
Crambin NVE: 0.27 s per step on an A100 against 11 s on one CPU core; 1 ps (about 10 000 steps of ~0.1 fs) takes about 45 minutes on the GPU.
Copy next to the input: tests/data/mozyme_gpu_reference/1CRN_opt.pdb
PM7 MOZYME DRC TEMPERATURE=300 SEED=11 T-PRIORITY=0.5 CYCLES=200 GEO_DAT="1CRN_opt.pdb"
Crambin, NVE 300 K
Checked: runs with the CPU build of release v1.2-gpu (commit 323b6076, 2026-11-20), shortened to CYCLES=2.
Crambin, NVE at 300 K, the first 2.5 fs (the input asks for 100): total and kinetic energy.
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