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.2.tar.gz (2.3 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.2-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dlsimtools-0.1.2.tar.gz
  • Upload date:
  • Size: 2.3 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.2.tar.gz
Algorithm Hash digest
SHA256 665ca46163c6161357e519978d0da0476bcd716c67cfae1869936e3b5d2a5416
MD5 5d2796410b1177cf6bc4dd35266d50db
BLAKE2b-256 c2ee2058f116eaae74b7916d1258a04f19416eee5456f87d9d5f3768651bfe29

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dlsimtools-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e865f4bdde2ae92d2174ba986c43043b290ff280779bdb0bef4e8e8b573b198c
MD5 83624727134f75e3f2aaf71047abff5b
BLAKE2b-256 250401fa07baa376286348b82a0c96683c89b4d4a8d58f13e636d63247c10866

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