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.3.tar.gz (69.6 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.3-py3-none-any.whl (78.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dlsimtools-0.1.3.tar.gz
  • Upload date:
  • Size: 69.6 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.3.tar.gz
Algorithm Hash digest
SHA256 4e2a5ce53a3a122226831b0fedd24615e889f8d1fd102d8b8bcb0916e158d4b4
MD5 8774e40098e37faa4f3096d49a98e44f
BLAKE2b-256 c0ae3014f75d6fd6e1389c944d31b2c75b8eedc7b089a96825dc80a1e14c1921

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dlsimtools-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 78.3 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ecc5f4648c1e8a923d44ec9257986bb6fed4d2782f5fe7814714abbd136606b7
MD5 26d3fab490b792e33fa9fe6e92f1173e
BLAKE2b-256 76bee530fc172cb5e591fed3b5f641cbba63993f1b8466f7b5c12d31b3d57c76

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