-
Notifications
You must be signed in to change notification settings - Fork 12
Installing on VMs
UCLGuichard edited this page Nov 16, 2017
·
11 revisions
Here are the steps I followed in my attempts to install sopt and purify on various machines and OSes. They shouldn't be taken as strict guidelines but more as indications of what has worked or not.
apt-get install cmake
apt-get install fftw3
apt-get install libtiff5
apt-get install mpi
apt-get install libeigen3-dev
apt-get install libspdlog-dev
- Install cfitsio:
cd /usr/local/src/
wget ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3270.tar.gz -O cfitsio3270.tar.gz
tar zxvf cfitsio3270.tar.gz
cd cfitsio
./configure --prefix=/usr
make
make install
make clean
apt-get install libyaml-cpp-dev
apt-get install libccfits-dev
- Added these lines at the top of the
CMakeLists.txt
set(FFTW3_INCLUDE_DIR "/usr/lib/x86_64-linux-gnu")
set(FFTW3_LIBRARIES "/usr/lib/x86_64-linux-gnu”)
set(MPI_C_LIBRARIES "/usr/lib/x86_64-linux-gnu")
set(MPI_C_INCLUDE_PATH "/usr/lib/x86_64-linux-gnu")
set(MPI_CXX_LIBRARIES "/usr/lib/x86_64-linux-gnu")
set(MPI_CXX_INCLUDE_PATH "/usr/lib/x86_64-linux-gnu”)
apt-get install libboost-dev
pacman -Sy cmake
pacman -Sy make
pacman -Sy emacs
pacman -Sy git
pacman -Sy pkgconfig
pacman -Sy gcc
pacman -Sy libtiff
pacman -Sy boost
pacman -Sy eigen
pacman -Sy fftw
pacman -Sy llvm
pacman -Sy openmpi
pacman -Sy cfitsio
pacman -Sy ccfits
pacman -Sy yaml-cpp
Reinstall OSX
brew install make
brew install gcc
brew install libtiff
brew install open-mpi
brew install ccfits
brew install boots
brew install spdlog
pip install casacore
- Create BICO
-
git clone
sopt from astro-informatics -
git clone
GreatCMakeCookOff and make changes below - Build sopt
-
git clone
purify from astro-informatics
For working on purify benchmarks only
- In GreatCMakeCookOff/modules/LookUpGBenchmark.cmake change:
-
- GIT_REPOSITORY https://github.com/mdavezac/benchmark.git
-
- GIT_REPOSITORY https://github.com/google/benchmark.git
-
- In purify/CMakeLists.txt set the following:
- option(tests “Enable testing” off)
- option(examples “Compile examples” off)
- option(benchmarks “Enable benchmarking” on)
- option(data “Download measurement set for testing” off)
- option(openmp “Enable OpenMP” on)
- option(logging “Enable logging” on)
- option(dompi “Enable MPI” on)
- option(doaf “Enable ArrayFire” off)
- option(docasa “Enable CASA” on)