-
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.
On a Ubuntu Xenial VM:
Apt-get install cmakeApt-get install fftw3Apt-get install libtiff5Apt-get install mpiApt-get install libeigen3-devApt-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