Author: Joyanta Mondal (joyanta@udel.edu)
Last Updated: May 12
Commit Version: 81a78e1
For the most comprehensive and updated information, refer to the full documentation.
git and Anacondasudo apt-get install cmake-curses-gui
sudo apt install cmake build-essential
sudo apt install libopenmpi-dev openmpi-bin
sudo apt-get install libtinyxml-dev
sudo apt install libboost-all-dev
sudo apt install libcgal-dev
git clone https://github.com/hemelb-codes/hemelb.git
cd hemelb
mkdir build && cd build
ccmake ..
During the CMake configuration, replace the broken Parmetis tarball URL with:
https://karypis.github.io/glaros/files/sw/parmetis/parmetis-4.0.2.tar.gz
Press c to configure, update any necessary values, then press c again and finally g to generate build files.
make # or use make -j4 for parallel build
Use sudo if you encounter permission errors.
Check if the binary is accessible via:
which hemelb
If not, you may need to add the binary directory to your system's PATH environment variable.
Download the required environment file
hemelb-geometry-python-env.txt and create the environment:
conda create --name gmy-tool --file hemelb-geometry-python-env.txt --yes
cd hemelb/python-tools
pip install .
cd ../geometry-tool
pip install '.[gui]'
If vmtk is installed but not detected, either:
geometry-tool/setup.py and comment out the VMTK dependency lineRe-run the installation afterwards:
pip install '.[gui]'
pip install pytest
hemelb-tests
Ensure the tests complete successfully without errors. Look for output confirming that all tests passed.
sudo rm /usr/local/bin/hemelb
sudo rm -f /usr/local/bin/hemelb-confcheck /usr/local/bin/hemelb-tests
sudo rm -rf /usr/local/share/hemelb
conda remove -n gmy-tool --all