Fork of https://franz825.github.io/teaching/tecto/lsdtt-intro.html
|
|
1 year ago | |
|---|---|---|
| bin | 1 year ago | |
| lib | 1 year ago | |
| tools | 1 year ago | |
| README.md | 1 year ago | |
| lsdtt-intro.md | 1 year ago |
This repository is a fork of instructions located here
The bin and lib folder were built on Rocky Linux release 8.10 (Green Obsidian) (4.18.0-425.3.1.el8.x86_64)
Use bin/lsdtt_env.sh to add them in your environment.
You need
cmakeandmakeinstalled on your system (andgit+curl)
git clone https://github.com/LSDtopotools/LSDTopoTools2
cd LSDTopoTools2/src
vi build.sh
Add PREFIX="$(pwd)/.." on the first line of build.sh file.
FFTW_VERSION=3.3.10
curl -L http://www.fftw.org/fftw-${FFTW_VERSION}.tar.gz | tar xz
mkdir build && cd $_
cmake -DENABLE_OPENMP=ON -DENABLE_THREADS=ON -DCMAKE_INSTALL_PREFIX=../fftw3 ../fftw-${FFTW_VERSION}
make install
cd ..
rm -rf build fftw-3.3.10
cd ../..
rsync -av tools/findFFTW LSDTopoTools2/src
cp tools/CMakeLists.txt LSDTopoTools2/src
cd LSDTopoTools2/src
sh build.sh