# INSTALLING REQUIRED LIBRARIES: # GDAL (<=1.11.4) wget http://download.osgeo.org/gdal/1.10.1/gdal-1.10.1.tar.gz tar xvfz gdal-1.10.1.tar.gz cd gdal-1.10.1/ CXXFLAGS="-fpermissive" ./configure --prefix=/opt/gdal-1.10.1 --with-pcraster=internal --with-png=internal --with-libtiff=internal --with-geotiff=internal --with-jpeg=internal --with-gif=internal --with-netcdf=no --enable-debug make sudo make install export GDAL_ROOT=/opt/gdal-1.10.1 export LD_LIBRARY_PATH=${GDAL_ROOT}/lib/:${LD_LIBRARY_PATH} echo "" >> ~/.bashrc echo "export GDAL_ROOT=/opt/gdal-1.10.1" >> ~/.bashrc echo "export LD_LIBRARY_PATH=\${GDAL_ROOT}/lib/:\${LD_LIBRARY_PATH}" >> ~/.bashrc # HDF5 (<=1.8.19) wget https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8/hdf5-1.8.19/src/hdf5-1.8.19.tar.gz tar xvfz hdf5-1.8.19.tar.gz cd hdf5-1.8.19/ ./configure --prefix=/opt/hdf5-1.8.19 --enable-fortran --enable-parallel --enable-debug=all make sudo make install export HDF5_ROOT=/opt/hdf5-1.8.19/ export LD_LIBRARY_PATH=${HDF5_ROOT}/lib/:${LD_LIBRARY_PATH} echo "" >> ~/.bashrc echo "export HDF5_ROOT=/opt/hdf5-1.8.19/" >> ~/.bashrc echo "export LD_LIBRARY_PATH=\${HDF5_ROOT}/lib/:\${LD_LIBRARY_PATH}" >> ~/.bashrc 1) Required libraries: - GDAL (<=1.11.4) - HDF5 (<=1.8.19) - PYTHON_DEV - BOOST (PACKAGES: filesystem system timer python) 2) Help CMAKE find packeges: - UBUNTU: export GDAL_ROOT=/opt/gdal-1.10.1 export LD_LIBRARY_PATH=${GDAL_ROOT}/lib/:${LD_LIBRARY_PATH} export HDF5_ROOT=/opt/hdf5-1.8.19/ export LD_LIBRARY_PATH=${HDF5_ROOT}/lib/:${LD_LIBRARY_PATH} - Marenostrum: module load python/2.7.13 module load boost/1.64.0_py2 module load hdf5 3) Create a build directory and call cmake with the installation directory mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=/opt/pandora ../ make sudo make install 4) Export PANDORA directories: export PANDORAPATH=/opt/pandora/ export PATH=${PANDORAPATH}/bin:${PATH} export PYTHONPATH=${PANDORAPATH}/bin:${PYTHONPATH} export LD_LIBRARY_PATH=${PANDORAPATH}/lib:${LD_LIBRARY_PATH}