From 53dcfb768958bc138669965a2124d6c1331d5673 Mon Sep 17 00:00:00 2001 From: Lester Hedges Date: Sat, 12 Oct 2024 15:13:48 +0100 Subject: [PATCH] Use CPU platform for test. --- tests/convert/test_openmm_constraints.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/convert/test_openmm_constraints.py b/tests/convert/test_openmm_constraints.py index 3c525de2e..ef2fdb184 100644 --- a/tests/convert/test_openmm_constraints.py +++ b/tests/convert/test_openmm_constraints.py @@ -473,12 +473,14 @@ def test_asymmetric_constraints(): perturbable_constraint="h_bonds_not_heavy_perturbed", dynamic_constraints=True, include_constrained_energies=False, + platform="CPU", ) d_backwards = mol.dynamics( perturbable_constraint="h_bonds_not_heavy_perturbed", include_constrained_energies=False, dynamic_constraints=True, swap_end_states=True, + platform="CPU", ) # Set lambda so the dynamics states are equivalent.