Skip to content

Barranquilla MOPAC v1.2.1-gpu

Latest

Choose a tag to compare

@juvenalyosa juvenalyosa released this 20 Nov 19:06
· 34 commits to main since this release

Barranquilla MOPAC v1.2.1-gpu: fixes found while checking the documentation against the code of v1.2-gpu, and the documentation brought up to date. MOZYME, solids, QM/MM and the benchmark results are as in v1.2-gpu: 18 worked examples of the wiki (single points, COSMO, optimizations, dynamics, solids, MM_CHARGES), re-run with the CPU build of this release, gave the same heats as with v1.2-gpu. Inputs do not change; NOGPU or MOPAC_NOGPU=1 gives the CPU code path of the same program.

Fixes

  • TRUST writes a restart file at the cycle limit, at the time limit and every DUMP interval (b46602aa). RESTART with TRUST continues from the stored geometry with an empty memory; without TRUST the default optimizer starts there; 1SCF RESTART PDBOUT writes that geometry. Before, TRUST wrote none, and RESTART stopped with RESTART file '<input>.res' does not exist.
  • MM_CHARGES without MOZYME stops with MM_CHARGES AND NO MOZYME (e13e5f99). The point charges act only in MOZYME; before, they were silently unused in a conventional-SCF job.
  • HMTR works (8221d864). Its interface to compfg declared assumed-shape arrays for explicit-shape ones, so every evaluation received a wrong geometry: the job stopped with TWO ATOMS ARE COINCIDENT or did not end. Also fixed: angles in radians (MOPAC) against degrees (HMTR); only dihedral angles of atoms in internal coordinates are varied (with Cartesian input it now says so and skips); the members are evaluated one after the other (in parallel OpenMP threads they overwrote MOPAC's global arrays); members with a non-finite energy or gradient are never kept. Test: PM7 n-hexane in internal coordinates, started at +84.15 kcal/mol, reached −35.27 kcal/mol after HMTR and one BFGS cycle, against −8.95 after one BFGS cycle without it (all-anti conformer −36.68). HMTR stays experimental.
  • gmetry/renum no longer loops forever on coordinates that are not numbers (8221d864); present in MOPAC 23.1.2.
  • tests/check_qmmm_pme_ewald.py runs again: in v1.2-gpu it stopped with an AttributeError after two of its checks (a fault of the test, not of the program; ef0e500d). All 11 CPU checks pass.
  • Header lines of EDIIS and HMTR say what the code does (e13e5f99).

Documentation

  • The wiki page New keywords describes every new keyword (BUSSI, EDIIS, HB-SMOOTH, HMTR, MM_CHARGES, SEED, SMEAR, SWIG, TEMPERATURE, TRUST) and the existing keywords whose behaviour changed, in the manner of the MOPAC manual.
  • Corrected in the README, the wiki and docs/: the GPU trace lines ([MOZYME GPU SCF] status=success) appear only with MOPAC_GPU_DEBUG=1; jobs of 100 atoms or fewer run on the CPU unless MOPAC_FORCEGPU=1, which does not undo NOGPU; a positive ENERGY TO BATH is energy the thermostat took out of the system; SMEAR and EDIIS act only in the conventional SCF; EDIIS is a damped start with an adaptive level shift, not energy DIIS; SHIFT=80 restores only the shift of MOPAC 23.1.2 in solids; the QM/MM page of the wiki gives the current limits, defaults and times per step.

The changes are in Fortran and Python; no CUDA source changed. They were compiled and run in the CPU build; the GPU sections of hmtr.F90 were syntax-checked with the GPU macro, not compiled with nvcc.

Barranquilla MOPAC is an independent derivative of MOPAC (Apache License 2.0), not affiliated with or endorsed by MolSSI or Virginia Tech.