Skip to content

Version 1.10 Major Release

Latest

Choose a tag to compare

@leeping leeping released this 25 Sep 18:55

New features

  • Virtual site parameter fitting and handling is now supported for SMIRNOFF force fields again. This will require OpenFF Evaluator v0.5.3 and above, if using physical properties (#315)
  • We have added a new AbInitioPairwise target; this adds a target for fitting multi-conformer data using an objective function with pairwise energy difference, i.e. the differences between (E_MM,i - E_MM,j) and (E_QM,i - E_QM,j) for all pairs of grid points (i, j).  (#316)

Changes

  • Updates to the GROMACS engine handling for 2024.4+, 2025.x and 2019 compatibility; gromacs 4 and 5 compatibility has been removed and defaults have been updated; the broad changes are noted below. Versions 2020-2024.3 are not supported due to a known gmx dump bug (GROMACS GitLab #5124). (PR #313)
      - Replaced the removed group cutoff scheme with Verlet
      - Vacuum simulations now use a pseudo-vacuum approach with a large periodic box and long cutoffs, since GROMACS ≥2020 removed vacuum (pbc=no) support.
      - interaction energies are now computed as the sum of cross-group columns in gmx energy

Fixes

  • Updated compatibility with openff-recharge to work with modern versions of openff-recharge (#321)
  • pymbar v3/v4 dual compatibility (PR #317)
  • Fixes esoteric bug where OpenMM context reinitialization would fail on parameter update on CUDA. (#309)
  • pkg_resources updated to modern packaging (PR #310)
  • Vacuum simulations in Liquid_SMIRNOFF now remove the CMMotionRemover (#324)
  • nbcharges is now populated from NonbondedForce (#324)
  • Liquid_SMIRNOFF targets now only run simulations for perturbations of related parameters (#324)

Acknowledgement

Big thanks to @lilyminium for implementing these features and compatibility updates!

Outstanding issues

TestRechargeMethaneStudy is still failing with an AssertionError. The current version produces 5.68009e-04 + 7.43599e-04 = 1.31161e-03 for the total objective function but the reference value is 5.6869324e-04 + 7.4438322e-04 = 1.31307646e-03. The test checks only the sum of the two values.

TestWaterTutorial::test_continue will sometimes fail with the error message: edit_mdp tried to set pbc = xyz but its original value was pbc = no, but pass on the next run. This could be due to other tests from previous runs changing the file tree to a state that causes this test to fail.

TestEvaluatorBromineStudy::test_bromine_study will sometimes hang indefinitely, and the fact that it is one of the longest tests means it can take a long time to realize that this is happening. I believe this is due to a failure to connect to the Evaluator server.

Two of the unit tests are taking overly long and should be shortened to make the release process easier. Here is the ranking of the top 10 longest tests on my workstation:

702.37s call src/tests/test_system.py::TestEvaluatorWaterVSiteStudy::test_water_vsite_study
271.26s call src/tests/test_system.py::TestEvaluatorBromineStudy::test_bromine_study
80.64s call src/tests/test_system.py::TestLipidStudy::test_lipid_study
74.19s call src/tests/test_system.py::TestThermoBromineStudy::test_thermo_bromine_study
65.50s call src/tests/test_engine.py::TestAmber99SB::test_multipole_moments_optimized
64.85s call src/tests/test_engine.py::TestAmber99SB::test_multipole_moments
47.27s call src/tests/test_system.py::TestWaterTutorial::test_water_tutorial
45.51s call src/tests/test_system.py::TestImplicitSolventHFEStudy::test_implicit_solvent_hfe_study
44.13s setup src/tests/test_liquid.py::test_mbar_weights_normalized
35.44s call src/tests/test_system.py::TestOpenFFTorsionProfileStudy::test_openff_torsionprofile_study

Some files in studies/028_smirnoff_tip4p_geometry_fit are modified when running tests.

a/studies/028_smirnoff_tip4p_geometry_fit/optimize.sav
a/studies/028_smirnoff_tip4p_geometry_fit/smirnoff_parameter_assignments.json
a/studies/028_smirnoff_tip4p_geometry_fit/stored_data/object_keys.json'