Available platforms#
Querying and inspecting available hardware compute platforms in OpenMM.
The function molsysmt.third_party.openmm.platforms.available_platforms() lists available OpenMM compute platform backends (such as Reference, CPU, CUDA, OpenCL) on the host machine.
Added in version 1.0.0.
API documentation
Follow this link for a detailed description of the input arguments, raised errors, and returned objects: molsysmt.third_party.openmm.platforms.available_platforms().
Basic usage#
Let’s inspect available OpenMM platforms on the local machine:
import molsysmt as msm
msm.third_party.openmm.platforms.available_platforms()
Platform Reference with speed 1.0
Platform CPU with speed 10.0
Platform CUDA with speed 100.0
Platform OpenCL with speed 50.0
See also
openmm.Simulation: OpenMM Simulation form adapter in MolSysMT.
openmm.System: OpenMM System container in MolSysMT.
Convert: Converting molecular systems with
molsysmt.basic.convert().