Skip to content

Allow selecting the Platform to use#324

Merged
peastman merged 3 commits intoopenmm:masterfrom
peastman:platform
Jan 31, 2025
Merged

Allow selecting the Platform to use#324
peastman merged 3 commits intoopenmm:masterfrom
peastman:platform

Conversation

@peastman
Copy link
Member

This adds an optional platform argument to the constructor. Fixes #323.

There's a limitation which will require a change to OpenMM to fix. Modeller.addMembrane() creates a Context internally but doesn't provide a way to choose a platform. So you if add a membrane in PDBFixer, the platform for that part of the calculation will still be chosen automatically.

@peastman peastman merged commit 4b53959 into openmm:master Jan 31, 2025
3 checks passed
@peastman peastman deleted the platform branch January 31, 2025 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pdbfixer references openmm.app and causes jax error

1 participant