Tool for the application of Likhtman& McLeish' polymer tube theory.
Currently only compiles on linux. Windows users should use the Docker version.
- Command-line interface (lime)
- Python library (lime_python - see python.cpp for API details)
- GTK3 interface (lime-gui)
Download the release from this page and run
sudo yum install Lime-1.0.0-2.x86_64.rpm
- Boost ≥ 1.66
- C++17 with parallel algorithms (GCC ≥ 9)
- GNU Scientific Library ≥ 2.4
- Intel-tbb ≥ 2018
- GUI: Python 3: NumPy, Matplotlib, GObject
sudo yum install gcc git g++ cmake make boost-devel gsl-devel tbb-devel
# GUI
sudo yum install pybind11-devel python3-devel python3-matplotlib python3-matplotlib-gtk3 python3-gobject python3-numpy
sudo pacman -S gcc git g++ cmake make boost gsl tbb
# GUI
sudo pacman -S pybind11 python-matplotlib python-numpy python-gobject
sudo apt install gcc g++ cmake git make libboost-dev libgsl-dev libtbb-dev
# GUI
sudo apt install python3-pybind11 python3-matplotlib python3-cairo python3-cairocffi python3-gi
git clone https://github.com/Dmry/lime.git
mkdir lime/build && cd "$_"
cmake ..
make lime
make install
Beware! Pybind11 seems to have issues with python3.8 on Ubuntu 20.04.1. If you want to use the UI, use the following instead of cmake ..
cmake .. -DPYTHON_INCLUDE_DIRS=$(python -c "from distutils.sysconfig import get_python_inc; print(get_python_inc())") -DPYTHON_LIBRARY=$(python -c "import distutils.sysconfig as sysconfig; print(sysconfig.get_config_var('LIBDIR'))") -DPYTHON_EXECUTABLE:FILEPATH=`which python3`
Assuming you have followed the instructions under 'Requirements' and 'Compiling', from the 'build' directory:
sudo yum install rpm-build
cpack