Skip to content

fospald/heamd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

heamd

A molecular dynamics simulation tool for high entropy alloys. This project is currently in development and not ready to use!

  • C++, OpenMP multiprocessing, XML + Python scripting interface
  • ...

Target Platform

The tool was developed and tested under Linux (Ubuntu). Other platforms such as Windows and MacOS might work but probably require adjustmest to the CMakeLists.txt file and some other small scripts.

Requirements

The following libraries are required, which are likely already installed on your system:

If unsure, continue with the installation and check the error messages of CMake.

Installation

  1. download source
git clone https://github.com/fospald/heamd.git
  1. run build.sh, on error probably a library is missing
sh build.sh [optional CMake parameters]
  1. after successful build update your envirnoment variables:
export PATH=$PATH:$HEAMD/bin
export PYTHONPATH=$PYTHONPATH:$HEAMD/lib

where $HEAMD denotes your download directory.

Run

Enter the following command to run the GUI (with an optional project file to load)

heamd-gui [project.xml]

In order to run a project file from the command line run

heamd project.xml

You can also run some test routines using

heamd --test

in order to perform some internal tests of math and operators.

Generating source code documentation

You can generate a Doxygen-based documentation by running

cd doc/doxygen
make
firefox html/index.html

Tutorial

Further information on how to use heamd, can be found in the tutorial (also included in the doxygen documentation).

Troubleshooting

GUI Crash

There are known instances with QtWebKit which may result in a crash of the GUI. An re-installation of QtWebKit with an older version or use of the newer QtWebEngine (i.e. using the latest version of Qt) may resolve the issue. Alternatively you can run the GUI with the demo- and help- browser disabled by

heamd-gui --disable-browser

All QtWebKit/QtWebEngine browser instances will then be replaced by simplified QTextBrowser instances.

Setting the Python version

If you get an error about "boost_python-pyXY" not found, try to figure out which Python version boost-python is compiled against by running

locate boost_python-py

and then modify the CMakeLists.txt accordingly

SET(PYTHON_VERSION_MAJOR X)
SET(PYTHON_VERSION_MINOR Y)

Installing boost-numeric-bindings

Only the header files are required. No configure/build needed.

cd install_dir
git clone http://git.tiker.net/trees/boost-numeric-bindings.git
export BOOSTNUMERICBINDINGS_DIR=$(pwd)/boost-numeric-bindings

install_dir is the installation directory for boost-numeric-bindings. You should remove the build directory (rm -r build) before running build.sh again in order to clear the CMake cache.

Contributing

If you have any question, idea or issue please create an new issue in the issue tracker. If you want to contribute anything (e.g. demos) please contact me.

Citing

You can use the following publication for citing heamd:

@article{Ospald2021,
        author = {F. Ospald},
        title = {heamd: },
        year  = {2021},
        publisher = {The Open Journal},
        journal = {Journal of Open Source Software},
        volume = {},
        number = {},
        pages = {},
        doi = {}
}

Acknowledgements

Felix Ospald gratefully acknowledges financial support via Sächsische Aufbaubank—Förderbank/SAB‐100382175 by the European Social Fund ESF and the Free State of Saxony.

About

A molecular dynamics simulation tool for high entropy alloys.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors