TeraChem Protocol Buffers (TCPB): Accelerating QM and QM/MM Simulations with a Client-Server Model

18 October 2022, Version 1
This content is a preprint and has not undergone peer review at the time of posting.

Abstract

The routine use of electronic structure in many chemical simulation applications calls for efficient and easy ways to access electronic structure programs. We describe how the graphics processing unit (GPU) accelerated electronic structure program TeraChem can be set up as an electronic structure server, to be easily accessed by third-party client programs. We exploit Google’s protocol buffer framework for data serialization and communication. The client interface, called TeraChem protocol buffers (TCPB), has been designed for ease of use and compatibility with multiple programming languages, such as C++, Fortran, and Python. To demonstrate the ease of coupling third-party programs with electronic structure using TCPB, we have incorporated the TCPB client into Amber for quantum mechanics/molecular mechanics (QM/MM) simulations. The TCPB interface saves time with GPU initialization and I/O operations, achieving a speedup of more than 2x compared to a prior file-based implementation for a QM region with ~250 basis functions. We demonstrate the practical application of TCPB by computing the free energy profile of p-HBDI- – a model chromophore in green fluorescent proteins – on the first excited singlet state using Hamiltonian replica exchange (H-REMD) for enhanced sampling. All calculations in this work have been performed with the freely-available version of TeraChem, which is sufficient for many QM region sizes in common use.

Keywords

electronic structure
terachem
qm/mm
quantum mechanics

Supplementary materials

Title
Description
Actions
Title
Supporting Information for “TeraChem Protocol Buffers (TCPB): Accelerating QM and QM/MM Simulations with a Client-Server Model”
Description
General installation instructions. Instructions for running TeraChem in server mode. Additional PyTCPB usage information. How to run TCPB examples. Technical details about TCPB functions. Usage details for QM/MM simulations in Amber. Histograms of ϕ_I values from the umbrella sampling simulation.
Actions
Title
Supporting Information for "TeraChem Protocol Buffers (TCPB): Accelerating QM and QM/MM Simulations with a Client-Server Model"
Description
Examples of how to use TCPB from Fortran, C++, and Python, including when MM interactions are computed by OpenMM interfaced with TeraChem. Input files for all QM/MM simulations reported in this work.
Actions

Comments

Comments are not moderated before they are posted, but they can be removed by the site moderators if they are found to be in contravention of our Commenting Policy [opens in a new tab] - please read this policy before you post. Comments should be used for scholarly discussion of the content in question. You can find more information about how to use the commenting feature here [opens in a new tab] .
This site is protected by reCAPTCHA and the Google Privacy Policy [opens in a new tab] and Terms of Service [opens in a new tab] apply.