分子动力学模拟 高性能增强型采样库

小夏 科学 更新 2024-03-04

分子模拟在科学研究和工程中发挥着重要作用,但传统方法在时间和空间尺度上存在局限性,难以应对具有复杂自由能的系统。 随着 GPU 等硬件加速器的发展,研究人员可以在各种软件选项的支持下执行更大、更长的模拟。 增强采样 MD 仿真使用机器学习技术来提高准确性,但将增强采样、硬件加速和机器学习框架与 GPU 完全集成的解决方案仍有待开发。

fig. 1 the pysages simulation flowchart.

作者:Juan J.,美国芝加哥大学普利兹克分子工程学院由De Pablo教授领导的团队推出了PySages,这是一个用于在分子动力学模拟中增强采样的库。 它允许用户利用多种增强的采样方法和集合变量,并且可以通过基于 Python 和 Jax 的干净接口添加新方法。

fig. 2 example of how to use the python interface for pysages.

研究团队通过一系列示例展示了如何在药物设计、材料工程、高分子物理和从头分子动力学模拟等不同领域应用pysages。 作者展示了该库在解决各种问题时的灵活性和高性能潜力。

fig. 3 example of how to write a cv in pysages.

分析表明,在处理大型问题时,Pysages 执行偏差模拟的速度比 SSAGES 等库快一个数量级以上,即使后端已经在使用 GPU 进行计算也是如此。

fig. 4 dynamical undocking (duck) method in detail.

在不久的将来,作者计划在pysages端优化计算函数,使其与后端的力计算完全异步,这将进一步提高其当前性能。 作者还邀请社区为 pysages 的开发做出贡献,包括建议新功能、报告错误或贡献**。

fig. 5 free energy landscape of the fission of a spherical diblockcopolymer domain.

总之,作者认为,PySages为对分子和从头开始模拟感兴趣的研究人员提供了一个有用的工具,这要归功于其友好的采样方法和用于定义和使用集体变量的框架,以及它在GPU设备上的高性能。

fig. 6 free energy surface (fes) of 5cb in a hybrid anchoring slab with sds and water.

作者对pysages实现完全端到端可微自由能计算的潜力感到兴奋。 这将为力场和材料设计开辟新的可能性,从而在这些领域取得重大进展。 本文最近发表在NPJ Computational Materials上

fig. 7 free energy (t = 300 k) of the na–cl distance when in solution

editorial summary

a high-performance enhanced sampling library: molecular dynamics simulations

molecular simulations play a crucial role in scientific research and engineering but traditional methods are limited by time and spatial scales, *it difficult to handle systems with complex free energy landscapes. with the advent of hardware accelerators like gpus, researchers can now conduct simulations on a larger scale and over longer periods, with many software packages **ailable to support this. enhanced sampling md simulations leverage machine learning to improve accuracy, yet a fully integrated solution combining enhanced sampling, hardware acceleration, and machine learning frameworks on gpus remains to be developed.

fig. 8 free energy calculation for different systems modeled with machine-learned force fields.

a team led by prof. juan j. de pablo from pritzker school of molecular engineering, the university of chicago, usa, introduced pysages, a library for enhanced sampling in molecular dynamics simulations, which allows users to utilize a variety of enhanced sampling methods and collective variables, as well as to implement new ones via a **python and jax-based interface. the authors showed how pysages can be used through a number of example applications in different fields such as drug design, materials engineering, polymer physics, and ab-initio md simulations. the authors hope that these convey to the reader the flexibility and potential of the library for addressing a diverse set of problems in a high-performance manner. as the analysis showcased, for large problems, pysages can perform biased simulation well over one order of magnitude faster than a library such as ssages even when the backend already performs computations on a gpu. nevertheless, as with any newly developed software, pysages will continue to undergo improvements. in the near term, the authors plan to optimize pysages-side computations to run fully asynchronously with the computation of the forces of the backend, which will further enhance its current performance. the authors also invite the community to contribute to the development of pysages, whether by suggesting new features, reporting bugs, or contributing code.

fig. 9 profiled timelines for a single-time step of unbiased and biased execution with hoomd-blue and openmm.

overall, the authors believe that pysages provides a useful tool for researchers interested in performing molecular and ab-initio simulations in multiple fields, due to its user-friendly framework for defining and using sampling methods and collective variables, as well as its high performance on gpu devices. looking further ahead, the authors are excited about the potential for pysages to enable fully end-to-end differentiable free energy calculations. this will provide new possibilities for force-field and materials design, which would drive significant advances in these areas. this article was recently published in npj computational materials 10: 35 (2024).

原文摘要及其译文

pysages:使用 GPUS 加速的灵活、先进的采样方法

pablo f. zubieta rico, ludwig schneider, gust**o r. pérez-lemus, riccardo alessandri,siva dasettytrung d. nguyencintia a. menéndezyiheng wuyezhi jinyinan xusamuel varnerjohn a. parkerandrew l. fergusonjonathan k. whitmerjuan j. de pablo

abstract

molecular simulations are an important tool for research in physics, chemistry, and biology. the capabilities of simulations can be greatly expanded by providing access to advanced sampling methods and techniques that permit calculation of the relevant underlying free energy landscapes. in this sense, software that can be seamlessly adapted to a broad range of complex systems is essential. building on past efforts to provide open-source community-supported software for advanced sampling, we introduce pysages, a python implementation of the software suite for advanced general ensemble simulations (ssages) that provides full gpu support for massively parallel applications of enhanced sampling methods such as adaptive biasing forces, harmonic bias, or forward flux sampling in the context of molecular dynamics simulations. by providing an intuitive interface that facilitates the management of a system’s configuration, the inclusion of new collective variables, and the implementation of sophisticated free energy-based sampling methods, the pysages library serves as a general platform for the development and implementation of emerging simulation techniques. the capabilities, core features, and computational performance of this tool are demonstrated with clear and concise examples pertaining to different classes of molecular systems. we anticipate that pysages will provide the scientific community with a robust and easily accessible platform to accelerate simulations, improve sampling, and enable facile estimation of free energies for a wide range of materials and processes.

总结:

分子模拟是探索物理、化学和生物学的重要科学工具。 通过结合先进的采样方法和技术,模拟的能力得到了显着增强,使我们能够准确计算相关的自由能。 因此,能够灵活适应各种复杂系统的软件变得至关重要。 在过去提供开源社区支持的高级采样软件的基础上,我们推出了 PySages,这是一个基于 Python 的高级通用集成仿真软件套件 (SSAGES),它为基于 GPU 的大规模并行应用程序提供全面支持,从而能够高效实现大规模并行增强采样方法,例如分子动力学模拟中的自适应偏置力、简单谐波偏置和正向通量采样。 Pysages提供了一个用户友好的界面,简化了系统配置的管理,增加了集体变量,并实现了先进的基于自由能的采样方法,使其成为开发和应用新模拟技术的通用平台。 Pysages 库的功能、关键特性和计算性能已经通过针对不同类型分子系统的清晰简洁的示例进行了演示。 我们相信,pysages将为科学界提供一个坚实且易于使用的平台,以加速模拟,提高采样效率,并轻松估计各种材料和工艺的自由能。

相似文章

    奥迪e tron GT的高性能与空气动力学的完美结合

    奥迪一直坚持前卫的设计手法,就像这款e tron GT一样,没有模仿的痕迹,但你可以感受到自己超级跑车R的一些独特元素。这是一款来自奥迪的全电动轿跑,保留了奥迪一贯的风格,展现出独特的前卫气息。车身平整,线条流畅优美,寸轮毂格外大气,都赋予了这款车沉稳的灵魂。流线型的车身不仅美观,而且具有出色的空气...

    介绍最新版本的 Stella v3 51 System Dynamics

    stella 软件的次要版本更新非常频繁,Stella v. 于 年底发布,以下是功能更新。显示数组元素标签 数组元素的显示标签允许对数组标记使用更具描述性的文本,同时允许在公式中使用较短的标记。配置为阵列选择时,显示标签将显示在图形 和输入设备 包括选择器 中。它们可以包含任何字符,并且不需要引用...

    动力学分析是如何进行的?

    动力学分析是一门研究物质运动变化规律的学科,涉及力学 热学 电磁学 光学和量子力学等多个领域。通过动力学分析,我们可以深入了解物质的运动规律和变化过程,为科学研究和技术应用提供重要的理论支撑。元望将为您介绍动力学分析的方法和步骤,以帮助读者更好地理解和应用动力学分析。.确定研究体系和模式 在进行动力...

    哪些职位适合水力学和河流动力学的公开考试?

    水力学和河流动力学方面适合公开考试的职位有很多,以下是一些常见的职位 .水利部 水利部是水利与河流动力专业毕业生最相关的部门之一,包括水利部 水利局 水文局等。这些部门需要大量的水力学和河流动力学专业人才,主要从事水资源管理 水力设计 水环境保护等工作。.交通部 交通部也是水力学和河流动力学专业毕业...

    Fluent Fluid Dynamics Systems培训

    流体动力学系统Fluent软件的操作和应用培训课程 课程大纲。.差价合约概述。CFD概念 CFD的开发与应用 控制方程的离散方法 数值模拟 常用的计算流体力学软件。 Fluent软件包的组成 安装及软件介绍。安装 启动和连接预处理软件 Gambit 解决方案软件 Fluent 和后处理软件 Tecp...