Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
2413fd82
Commit
2413fd82
authored
Jul 19, 2013
by
peastman
Browse files
Fixed error that caused testInstallation.py to fail when the GPU was configured in exclusive mode
parent
fdce64f7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
examples/testInstallation.py
examples/testInstallation.py
+1
-0
No files found.
examples/testInstallation.py
View file @
2413fd82
...
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment