"docs-source/OpenMMUsersGuide.doc" did not exist on "4cd3207e27a4e99cdac0fb12f01c6132eb29bb66"
Commit 2413fd82 authored by peastman's avatar peastman
Browse files

Fixed error that caused testInstallation.py to fail when the GPU was configured in exclusive mode

parent fdce64f7
...@@ -30,6 +30,7 @@ for i in range(numPlatforms): ...@@ -30,6 +30,7 @@ for i in range(numPlatforms):
simulation = Simulation(pdb.topology, system, integrator, platform) simulation = Simulation(pdb.topology, system, integrator, platform)
simulation.context.setPositions(pdb.positions) simulation.context.setPositions(pdb.positions)
forces[i] = simulation.context.getState(getForces=True).getForces() forces[i] = simulation.context.getState(getForces=True).getForces()
del simulation
print "- Successfully computed forces" print "- Successfully computed forces"
except: except:
print "- Error computing forces with", platform.getName(), "platform" print "- Error computing forces with", platform.getName(), "platform"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment