Skip to main content

Automation framework for DL_MONTE and DL_POLY molecular simulations

Project description

dlsimtools

Automation framework for DL_MONTE and DL_POLY molecular simulations.

Installation

pip install dlsimtools

Overview

dlsimtools provides a high-level automation layer for running and analysing DL_MONTE (Monte Carlo) and DL_POLY (Molecular Dynamics) simulations, including tools for HPC job submission, input file manipulation, and output analysis.

Modules

Simulation control

  • tmmc_master_control.Controller — top-level controller for running full TMMC (Transition Matrix Monte Carlo) pipelines, including range-seeking, bias optimisation, and production runs. Supports local execution and HPC job submission (Slurm/Archer2).
  • MonteCore — low-level automation of DL_MONTE runs: editing CONTROL/CONFIG files, launching serial/parallel jobs, and monitoring convergence.
  • LSMC — range-seeking and optimised bin calculation for TMMC simulations.
  • PolyCore — equivalent automation utilities for DL_POLY MD runs.

Input/output

  • InputConverter — converts between simulation input formats.
  • MonteCon — reads and manipulates DL_MONTE CONFIG files.
  • FieldTools — handles FIELD file editing.
  • CifTools — reads CIF crystallographic files and prepares simulation inputs.
  • PolyDataCore, PolyOutput — DL_POLY output parsing and data extraction.
  • STATIS — parses DL_POLY STATIS files.
  • TrajAnalysis — reads and analyses XYZ trajectory files.

Thermodynamics & sampling

  • SwitchBias — switch bias calculation for TMMC.
  • LSMC — lattice-switch Monte Carlo utilities.
  • CoexistenceMP — coexistence point calculation.
  • chempotfind — chemical potential search.
  • MetaSurf, MetaUtil — metadynamics surface utilities.

Utilities

  • GeneralUtil — common file editing and unit conversion utilities.
  • GeneralOptimizer — general-purpose optimisation routines.
  • OptimizerScript — scripting interface for optimisation workflows.
  • HPCworker — writes and submits job scripts for Slurm and Archer2.

Quick start

from dlsimtools.tmmc_master_control import Controller

pc = Controller(
    dlm_exec="/path/to/DLMONTE-SRL.X",
    dlm_exec_par="/path/to/DLMONTE-PRL.X",
    nw=16,
    nodes=1,
)

# Run full TMMC pipeline at 300K (requires CONTROL, CONFIG, FIELD in working directory)
pc.master_surf_tmmc(temp=300)

# Or submit jobs for multiple temperatures to HPC
pc.tmmc_looper(temps=[300, 350, 400], mode="archer2", timec=24)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dlsimtools-0.1.4.tar.gz (70.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dlsimtools-0.1.4-py3-none-any.whl (79.0 kB view details)

Uploaded Python 3

File details

Details for the file dlsimtools-0.1.4.tar.gz.

File metadata

  • Download URL: dlsimtools-0.1.4.tar.gz
  • Upload date:
  • Size: 70.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for dlsimtools-0.1.4.tar.gz
Algorithm Hash digest
SHA256 2c4c715017adff1f587f660a158d570ae3f5c9437d35824e517ce4181665cbf4
MD5 df67eda53bba90a3b2cf086f8bd47b90
BLAKE2b-256 42ad3e99e7eba5fe603af5ae89fcdb429c960aefb8b69b03f49aaef6855bc8af

See more details on using hashes here.

File details

Details for the file dlsimtools-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: dlsimtools-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 79.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for dlsimtools-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 902d3f6027c440f5c1ff28330e1605234cce2f721b1934b11fcadc1ac3a9a7f1
MD5 2adaee5bcd75d4c79da5254e6b357010
BLAKE2b-256 79504e2199f77e2ebe82f4fc37cd2536d61b1ff09e0abd510764f746b8c44877

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page