Repository navigation
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
TRUSTwrites a restart file at the cycle limit, at the time limit and everyDUMPinterval (b46602aa).RESTARTwithTRUSTcontinues from the stored geometry with an empty memory; withoutTRUSTthe default optimizer starts there;1SCF RESTART PDBOUTwrites that geometry. Before,TRUSTwrote none, andRESTARTstopped withRESTART file '<input>.res' does not exist.MM_CHARGESwithoutMOZYMEstops withMM_CHARGES AND NO MOZYME(e13e5f99). The point charges act only in MOZYME; before, they were silently unused in a conventional-SCF job.HMTRworks (8221d864). Its interface tocompfgdeclared assumed-shape arrays for explicit-shape ones, so every evaluation received a wrong geometry: the job stopped withTWO ATOMS ARE COINCIDENTor 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 afterHMTRand one BFGS cycle, against −8.95 after one BFGS cycle without it (all-anti conformer −36.68).HMTRstays experimental.gmetry/renumno longer loops forever on coordinates that are not numbers (8221d864); present in MOPAC 23.1.2.tests/check_qmmm_pme_ewald.pyruns again: in v1.2-gpu it stopped with anAttributeErrorafter two of its checks (a fault of the test, not of the program;ef0e500d). All 11 CPU checks pass.- Header lines of
EDIISandHMTRsay 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 withMOPAC_GPU_DEBUG=1; jobs of 100 atoms or fewer run on the CPU unlessMOPAC_FORCEGPU=1, which does not undoNOGPU; a positiveENERGY TO BATHis energy the thermostat took out of the system;SMEARandEDIISact only in the conventional SCF;EDIISis a damped start with an adaptive level shift, not energy DIIS;SHIFT=80restores 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.