Commit aad83a0e authored by incardon's avatar incardon

Adding BOOST installation script

parent ce275024
......@@ -93,7 +93,8 @@ INCLUDES_PATH+="-I. -Isrc/config/ -I../../metis_install/include -I../../OpenFPM_
##### CHECK FOR BOOST ##############
AX_BOOST([1.52],[],[])
AX_BOOST([1.52],[],[echo "boost not found"
exit 202])
####### Checking for GPU support
......
......@@ -51,6 +51,15 @@ else
./install_Metis.sh
METIS_installed=1
configure_options=" $configure_options --with-metis=${HOME}/METIS "
elif [ $conf_err -ne 0 ]; then
echo "Boost not found try to install"
if [ $Boost_installed -eq 1 ]; then
echo "Error the installation of Boost failed"
exit 1
fi
./install_boost.sh
BOOST_installed=1
configure_options=" $configure_options --with-boost=${HOME}/BOOST "
elif [ $conf_err -ne 0 ]; then
echo "I do not know how to recover from this error"
exit 1
......
#!/bin/bash
# check if the directory ${HOME}/MPI exist
if [ -d "${HOME}/BOOST" ]; then
echo "BOOST already installed"
exit 0
fi
mkdir ${HOME}/BOOST
wget http://ppmcore.mpi-cbg.de/upload/boost_1_58_0.tar.bz2
tar -xvf boost_1_58_0.tar.bz2
cd boost_1_58_0
./bootstrap.sh
./b2 install --prefix=$HOME/BOOST
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment