GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • 1. Introduction
  • 2. Install LAMMPS
  • 3. Build LAMMPS
  • 4. Run LAMMPS
  • 5. Errors
  • 6. Commands
  • 7. Accelerate performance
  • 8. Optional packages
  • 9. Auxiliary tools
  • 10. Howto discussions
  • 11. Example scripts
  • 1. LAMMPS Library Interfaces
  • 2. Use Python with LAMMPS
  • 2.1. Overview

This view

  • Original page
  • New address

GeezerVison is showing docs.lammps.org — 2.3. Run LAMMPS from Python — LAMMPS documentation

2.3. Run LAMMPS from Python

After compiling the LAMMPS shared library and making it ready to use, you can now write and run Python scripts that import the LAMMPS Python module and launch LAMMPS simulations through Python scripts. The following pages take you through the various steps necessary, what functionality is available and give some examples how to use it.


  • 2.3.1. Running LAMMPS and Python in serial
  • 2.3.2. Running LAMMPS and Python in parallel with MPI
  • 2.3.3. Running Python scripts

  • 2.3.4. Creating or deleting a LAMMPS object
  • 2.3.5. Executing commands
  • 2.3.6. System properties
  • 2.3.7. Per-atom properties
  • 2.3.8. Compute, fixes, variables
  • 2.3.9. Scatter/gather operations
  • 2.3.10. Neighbor list access
  • 2.3.11. Configuration information
Version release
LAMMPS Branch:
develop
stable
release
Downloads:
PDF
Source
Git Info:
13Nov2026
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.