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):
simulation = Simulation(pdb.topology, system, integrator, platform)
simulation.context.setPositions(pdb.positions)
forces[i] = simulation.context.getState(getForces=True).getForces()
del simulation
print "- Successfully computed forces"
except:
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