Install Dependencies
The beta version is also available on devel branch of the repository. You can install it from source code by following the instructions below. TomoATT is a C++ library, developed for working efficiently with parallel computing and HDF5 with parallel IO option.
Dependencies
- git
- C++ compiler which supports C++17 (version 7.0 or higher for GNU compiler. version 19.0 or higher for Intel compiler. Clang is also supported.)
- CMake (version 3.10 or higher)
- MPI v3.0 or higher
- HDF5 (parallel IO needs to be enabled)
- (optional) PyTomoATT (used in pre/post processes examples)
Install compiler and CMake (with GNU compiler)
Conda/Mamba
Skip this step.Install MPI and HDF5 with parallel IO option
Conda/Mamba
Using Conda
Conda provides us a convenient way to install the dependencies, which is easier and faster than installing them from source codes.
Create a conda environment
conda create --name tomoatt --channel conda-forge
Then activate the virtual environment
source activate tomoatt
Install the required libraries in the created virtual environment
conda install cxx-compiler cmake yaml-cpp openmpi "hdf5=*=mpi_openmpi*" -c conda-forge
Last updated on