# atomify **Repository Path**: fenggo/atomify ## Basic Information - **Project Name**: atomify - **Description**: Atomify - a realtime LAMMPS visualizer - **Primary Language**: C++ - **License**: GPL-3.0 - **Default Branch**: nn - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-07-29 - **Last Updated**: 2023-09-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Atomify - a real time LAMMPS visualizer # ## How to build ## Step 1) You will need Qt 5.10. The easiest way to achieve this is to download Qt Creator from [https://www.qt.io/offline-installers](https://www.qt.io/offline-installers) and install it from there. When you run the installer, you can just press skip when it asks you for the account. If you are using Mac, you can also uncheck the ~10GB iOS package unless you want that. Also, you can install Qt with commond, install additional Qt libraies, (not recommend,better way to install with installer download above) ```shell sudo apt-get install qt5-default qt5-qmake g++ qtcreator libqt5charts5 libqt5charts5-dev sudo apt install qtdeclarative5-dev libqt5quickparticles5 libqt5quickshapes5 libqt5datavisualization5 sudo apt install libqt53dcore5 libqt53dinput5 qml-module-qtdatavisualization sudo apt install libqt53dquick5 libqt53drender5 libqt53dlogic5 sudo apt install libqt5svg5-dev libqt5datavisualization5-dev libqt53dquickrender5 sudo apt install libqt53dextras5 libqt53dquickextras5 ``` set Qt link dir: tools-->options-->Kits-->Qt version-->Link with Qt * If you are on Ubuntu, you will also need OpenGL libraries. You can achieve this by running ```bash sudo apt install libgl1-mesa-dev ``` Step 2) Clone the Atomify repository `git clone --recursive https://gitee.com/fenggo/atomify.git` Step 3) Open the atomify directory and run `python configure.py` which will configure and compile LAMMPS. Step 4) Open atomify.pro in Qt Creator and build/run (remember to choose Release mode for maximum performance). ## How to add/remove LAMMPS packages ## If you compiled Atomify yourself, you can easily modify the LAMMPS installation (packages and your own code). LAMMPS is located in libs/lammps. You need to recompile LAMMPS with (being in the libs/lammps/src folder) `make atomify mode=lib`. Then you need to recompile Atomify, but Qt won't detect your changes unless you modify i.e. main.cpp (just add a line and save to modify date).