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
ecff121e
Commit
ecff121e
authored
Nov 18, 2018
by
incardon
Browse files
Latest modules
parent
a7a28c8e
Changes
3
Hide whitespace changes
Inline
Side-by-side
openfpm_data
@
7b236b20
Subproject commit
20f2ba688e4d5ebd0769482e791f7cc652fa2fb1
Subproject commit
7b236b204edfe60d6a104da5a9e7e4f0aa1d6c90
script/install_MPI.sh
View file @
ecff121e
...
...
@@ -6,11 +6,11 @@ if [ -d "$1/MPI" ]; then
echo
"MPI already installed"
exit
0
fi
rm
-rf
openmpi-3.1.
1
rm
openmpi-3.1.
1
.tar.gz
rm
-rf
openmpi-3.1.
3
rm
openmpi-3.1.
3
.tar.gz
wget http://ppmcore.mpi-cbg.de/upload/openmpi-3.1.1.tar.gz
tar
-xvf
openmpi-3.1.
1
.tar.gz
cd
openmpi-3.1.
1
tar
-xvf
openmpi-3.1.
3
.tar.gz
cd
openmpi-3.1.
3
#
# --disable-mca-dso \
...
...
@@ -37,5 +37,5 @@ make -j $2
make
install
# Mark the installation
echo
3
>
$1
/MPI/version
echo
4
>
$1
/MPI/version
script/remove_old
View file @
ecff121e
...
...
@@ -169,9 +169,9 @@ function remove_old()
if
[
-d
$1
/MPI
]
;
then
version
=
$(
cat
$1
/MPI/version
)
if
[
x
"
$version
"
!=
x
"
3
"
]
;
then
if
[
x
"
$version
"
!=
x
"
4
"
]
;
then
echo
-e
"
\0
33[1;34;5m --------------------------------------------------------------------------------------
\0
33[0m"
echo
-e
"
\0
33[1;34;5m MPI has been updated to version 3.1.
1
, the component will be updated automatically
\0
33[0m"
echo
-e
"
\0
33[1;34;5m MPI has been updated to version 3.1.
3
, the component will be updated automatically
\0
33[0m"
echo
-e
"
\0
33[1;34;5m --------------------------------------------------------------------------------------
\0
33[0m"
sleep
5
rm
-rf
$1
/MPI/include
...
...
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