QtNEMD is a python application which provides a friendly graphical front-end in Qt for molecular dynamics calculations using software for developed by the Bernhardt group at the University of Queensland.
This project is currently a work in progress, bug reports and feature requests welcome.
You'll need the following software packages installed on your computer:
- Python 3
- The
pip
python package manager (usually bundled with your python distribution) - Python virtual environment manager
venv
make
(the software has been tested on Gnu Make, but other dialects may work)- The
g++
compiler - CMake
- Qt5
There is an install.sh
script in the top-level directory which should automatically install all
dependencies (provided you've already installed the pre-requisites). This script as been tested in
Linux (Fedora/CentOS and Ubuntu) and Windows Subsystem for Linux (running Ubuntu). It
does not currently work on MacOS on Apple Silicon (e.g. the M1), as PyQT5 has not (yet) been ported
to this platform. To run it, do:
bash ./install.sh
This will download all python dependencies and will download and build LAMMPS. LAMMPS is a very large codebase, so this step may take some time on slow internet connections.
This software depends on the following python modules:
numpy
PyQt5
graphical user interface librarypyqtgraph
These packages can be automatically installed by pip
via the following command:
pip install -r requirements.txt
You'll also need to install the LAMMPS molecular dynamics software and compile it with its Python interface. Follow the instructions in the LAMMPS documentation
Run the code by doing:
chmod +x main.py
./main.py
Again, this code has been tested on Fedora and Ubuntu Linux and Windows Subsystem for Linux. It does not currently work on MacOS on Apple Silicon (e.g. the M1).