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_pdata
Commits
552f64b7
Commit
552f64b7
authored
Mar 16, 2016
by
Pietro Incardona
Browse files
Fixing with the lastest modules
parent
14c95abd
Changes
5
Hide whitespace changes
Inline
Side-by-side
install
View file @
552f64b7
...
...
@@ -351,6 +351,14 @@ if [ $HDF5_installed -eq 1 ]; then
echo
-e
" HDF5 has been installed into:
\0
33[1m
$i_dir
/HDF5
\0
33[0m"
echo
""
fi
if
[
$PARMETIS_installed
-eq
1
]
;
then
echo
""
echo
-e
"
\0
33[1;34;5m ---------------------------------------
\0
33[0m"
echo
-e
"
\0
33[1;34;5m ------------- PARMETIS ----------------
\0
33[0m"
echo
-e
" PARMETIS has been installed into:
\0
33[1m
$i_dir
/PARMETIS
\0
33[0m"
echo
""
fi
echo
""
echo
""
if
[
$conf_err
-ne
0
]
;
then
...
...
openfpm_data
@
9b090c6d
Subproject commit
163437f74dca3d5020493a44d71c818883666d4e
Subproject commit
9b090c6debddf9db4ab33b6afb892c75d500b389
openfpm_numerics
@
eabc19bf
Subproject commit
93344ebd902aab72a16144468a637a9a1fe90701
Subproject commit
eabc19bf631717b35aaef25096cac8c270b0d310
script/install_Metis.sh
View file @
552f64b7
...
...
@@ -7,6 +7,9 @@ if [ -d "$1/METIS" ]; then
exit
0
fi
## Remove old download
rm
-rf
metis-5.1.0
wget http://ppmcore.mpi-cbg.de/upload/metis-5.1.0.tar.gz
tar
-xf
metis-5.1.0.tar.gz
cd
metis-5.1.0
...
...
@@ -26,3 +29,6 @@ make -j 4
mkdir
$1
/METIS
make
install
# Mark the installation
echo
1
>
$1
/METIS/version
script/remove_old
View file @
552f64b7
...
...
@@ -74,26 +74,29 @@ function remove_old()
fi
## Check the installed version of the dependencies
cat
$1
/BOOST/include/boost/version.hpp
>
/dev/null
if
[
$?
-eq
0
]
;
then
if
[
-d
$1
/BOOST
]
;
then
is_update
=
$(
cat
$1
/BOOST/include/boost/version.hpp |
grep
"#define BOOST_VERSION 106000"
)
if
[
x
"
$is_update
"
==
x
""
]
;
then
echo
"
\0
33[1;34;5m New boost version, removing the old one
\0
33[0m"
sleep
3
echo
-e
"
\0
33[1;34;5m ---------------------------------------------------------------------------
\0
33[0m"
echo
-e
"
\0
33[1;34;5m Boost has been updated to 1.60, the component will be updated automatically
\0
33[0m"
echo
-e
"
\0
33[1;34;5m ---------------------------------------------------------------------------
\0
33[0m"
sleep
5
rm
-rf
$1
/BOOST/include
rm
-rf
$1
/BOOST/lib
rm
-rf
$1
/BOOST
fi
fi
##
cat
$1
/METIS/version
if
[
$?
-eq
0
]
;
then
##
check if the METIS directory exist and the METIS version installed
if
[
-d
$1
/METIS
]
;
then
version
=
$(
cat
$1
/METIS/version
)
if
[
x
"
$version
"
!=
x
"1"
]
;
then
echo
-e
"
\0
33[1;34;5m New METIS version, removing the old one
\0
33[0m"
sleep
3
echo
-e
"
\0
33[1;34;5m -------------------------------------------------------------------
\0
33[0m"
echo
-e
"
\0
33[1;34;5m METIS has been updated, the component will be updated automatically
\0
33[0m"
echo
-e
"
\0
33[1;34;5m -------------------------------------------------------------------
\0
33[0m"
sleep
5
rm
-rf
$1
/METIS/include
rm
-rf
$1
/METIS/lib
rm
-rf
$1
/METIS
...
...
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