Use on local computers
This page explains how to prepare the environment and compile TomoATT on local computers.
Download and compile TomoATT
Clone the source codes
git clone --recursive https://github.com/MIGG-NTU/TomoATT.git
Compile source codes with cmake
mkdir build && cd build
cmake .. && make -j4
or if you have installed your Openmpi and HDF5 in a specific directory (for example ../external_libs/local_mpi_hdf5), you can specify the path to the libraries by adding the following options to the cmake command:
cmake .. -DCMAKE_PREFIX_PATH=$(pwd)/(path to the directory where openmpi and hdf5 are installed)/local_mpi_hdf5 && make -j4
After compiling, the executable file TOMOATT
will be generated in the build/bin
directory.