Skip to content

Commit 93bf275

Browse files
committed
Turning off CUDA for openMM system XML test
1 parent f7cc07b commit 93bf275

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

seekr2/continuous_integration/run_ci.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,16 @@ def run_short_ci(model_input, cuda_device_index, long_check=True):
5050
return
5151

5252
def run_generic_hostguest_ci(cuda_device_index):
53-
#FF = "system"
54-
FF = "amber"
53+
FF = "system"
54+
#FF = "amber"
55+
TIMESTEP = 0.002
56+
#TIMESTEP = 0.004
5557
with tempfile.TemporaryDirectory() as temp_dir:
5658
host_guest_model_input \
5759
= create_model_input.create_host_guest_mmvt_model_input(
5860
temp_dir, ff=FF)
5961
host_guest_model_input.integrator_type = "langevin"
60-
host_guest_model_input.timestep = 0.004
62+
host_guest_model_input.timestep = TIMESTEP
6163
host_guest_model_input.hydrogenMass = 3.0
6264
host_guest_model_input.calculation_settings.md_output_interval = 2000
6365
host_guest_model_input.calculation_settings.md_steps_per_anchor = 20000

seekr2/tests/test_mmvt_sim_openmm.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ def test_mmvt_sim_openmm_forcefield(tmp_path, host_guest_mmvt_model_forcefield):
7878
assert my_sim_openmm.simulation is not None
7979
return
8080

81+
@pytest.mark.needs_cuda
8182
def test_mmvt_sim_openmm_system(tmp_path, host_guest_mmvt_model_system):
8283

8384
myanchor = host_guest_mmvt_model_system.anchors[1]

0 commit comments

Comments
 (0)