Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sbalzarini Lab
S
Software
P
Parallel Computing
OpenFPM
openfpm_io
Commits
ecf8e284
Commit
ecf8e284
authored
May 16, 2021
by
incardon
Browse files
Upgrading BOOST on Ubuntu
parent
f630c5cb
Pipeline
#3045
failed with stages
in 7 minutes and 10 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
build.sh
View file @
ecf8e284
...
...
@@ -53,6 +53,7 @@ fi
if
[
x
"
$hostname
"
==
x
"cifarm-ubuntu-node"
]
;
then
./install_MPI_mpich.sh
$HOME
/openfpm_dependencies/openfpm_io/
$branch
/ 4
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_HDF5.sh
$HOME
/openfpm_dependencies/openfpm_io/
$branch
/ 4
./install_LIBHILBERT.sh
$HOME
/openfpm_dependencies/openfpm_io/
$branch
/ 4
...
...
install_BOOST.sh
View file @
ecf8e284
...
...
@@ -7,9 +7,10 @@ if [ -d "$1/BOOST" ]; then
exit
0
fi
wget http://ppmcore.mpi-cbg.de/upload/boost_1_72_0.tar.bz2
tar
-xvf
boost_1_72_0.tar.bz2
cd
boost_1_72_0
rm
boost_1_75_0.tar.bz2
wget http://ppmcore.mpi-cbg.de/upload/boost_1_75_0.tar.bz2
tar
-xvf
boost_1_75_0.tar.bz2
cd
boost_1_75_0
if
[
x
"
$4
"
!=
x
""
]
;
then
if
[
-f
$HOME
/user-config.jam
]
;
then
mv
$HOME
/user-config.jam
$HOME
/user-config.jam_bck
...
...
@@ -23,10 +24,10 @@ fi
./bootstrap.sh
--with-toolset
=
$3
mkdir
$1
/BOOST
./b2
-j
$2
install
--prefix
=
$1
/BOOST
rm
-rf
boost_1_7
2
_0
rm
-rf
boost_1_7
5
_0
if
[
-f
$HOME
/user-config.jam_bck
]
;
then
mv
$HOME
/user-config.jam_bck
$HOME
/user-config.jam
fi
rm
-rf
boost_1_7
2
_0.tar.bz2
rm
-rf
boost_1_7
5
_0.tar.bz2
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment