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/Isambard3) via the sched parameter.
  • 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, Archer2, and Isambard3.

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,
    sched="archer2",
)

# 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], 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.5.tar.gz (71.1 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.5-py3-none-any.whl (79.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dlsimtools-0.1.5.tar.gz
  • Upload date:
  • Size: 71.1 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.5.tar.gz
Algorithm Hash digest
SHA256 fc02946cadd1d4c92c2c94bdae135e04526ac28debc66497fde65117af0c3bd0
MD5 71591edbbf48cf53f5f0758f99b70e20
BLAKE2b-256 a5820a6c760d5e7cfa87f4922afcee37ff91387563e47ad68d76fd3b87dbd49f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dlsimtools-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 79.8 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d656f53beda8bee8783aa138ed91ffe9ed29d946181914a9bb5d1a4a4cd0c7c8
MD5 52d0f422b182107b68c8ac8a6bd44d91
BLAKE2b-256 26f3a5ecf41790200600ea4610c7427f772a9926cfac78781d3cd71ba52ebedb

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