Skip to content
Snippets Groups Projects
Commit ecf8e284 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Upgrading BOOST on Ubuntu

parent f630c5cb
No related branches found
No related tags found
No related merge requests found
Pipeline #3045 failed
...@@ -53,6 +53,7 @@ fi ...@@ -53,6 +53,7 @@ fi
if [ x"$hostname" == x"cifarm-ubuntu-node" ]; then if [ x"$hostname" == x"cifarm-ubuntu-node" ]; then
./install_MPI_mpich.sh $HOME/openfpm_dependencies/openfpm_io/$branch/ 4 ./install_MPI_mpich.sh $HOME/openfpm_dependencies/openfpm_io/$branch/ 4
export PATH="/opt/bin:$HOME/openfpm_dependencies/openfpm_io/$branch/MPI/bin/:$PATH" export PATH="/opt/bin:$HOME/openfpm_dependencies/openfpm_io/$branch/MPI/bin/:$PATH"
rm -rf $HOME/openfpm_dependencies/openfpm_io/$branch/BOOST
./install_BOOST.sh $HOME/openfpm_dependencies/openfpm_io/$branch/ 4 ./install_BOOST.sh $HOME/openfpm_dependencies/openfpm_io/$branch/ 4
./install_HDF5.sh $HOME/openfpm_dependencies/openfpm_io/$branch/ 4 ./install_HDF5.sh $HOME/openfpm_dependencies/openfpm_io/$branch/ 4
./install_LIBHILBERT.sh $HOME/openfpm_dependencies/openfpm_io/$branch/ 4 ./install_LIBHILBERT.sh $HOME/openfpm_dependencies/openfpm_io/$branch/ 4
......
...@@ -7,9 +7,10 @@ if [ -d "$1/BOOST" ]; then ...@@ -7,9 +7,10 @@ if [ -d "$1/BOOST" ]; then
exit 0 exit 0
fi fi
wget http://ppmcore.mpi-cbg.de/upload/boost_1_72_0.tar.bz2 rm boost_1_75_0.tar.bz2
tar -xvf boost_1_72_0.tar.bz2 wget http://ppmcore.mpi-cbg.de/upload/boost_1_75_0.tar.bz2
cd boost_1_72_0 tar -xvf boost_1_75_0.tar.bz2
cd boost_1_75_0
if [ x"$4" != x"" ]; then if [ x"$4" != x"" ]; then
if [ -f $HOME/user-config.jam ]; then if [ -f $HOME/user-config.jam ]; then
mv $HOME/user-config.jam $HOME/user-config.jam_bck mv $HOME/user-config.jam $HOME/user-config.jam_bck
...@@ -23,10 +24,10 @@ fi ...@@ -23,10 +24,10 @@ fi
./bootstrap.sh --with-toolset=$3 ./bootstrap.sh --with-toolset=$3
mkdir $1/BOOST mkdir $1/BOOST
./b2 -j $2 install --prefix=$1/BOOST ./b2 -j $2 install --prefix=$1/BOOST
rm -rf boost_1_72_0 rm -rf boost_1_75_0
if [ -f $HOME/user-config.jam_bck ]; then if [ -f $HOME/user-config.jam_bck ]; then
mv $HOME/user-config.jam_bck $HOME/user-config.jam mv $HOME/user-config.jam_bck $HOME/user-config.jam
fi fi
rm -rf boost_1_72_0.tar.bz2 rm -rf boost_1_75_0.tar.bz2
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment