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
a9a7ddbb
Commit
a9a7ddbb
authored
Jul 24, 2017
by
incardon
Browse files
Updating to HDF5 1.8.19
parent
7ff2ed04
Changes
2
Hide whitespace changes
Inline
Side-by-side
script/install_HDF5.sh
View file @
a9a7ddbb
...
...
@@ -36,9 +36,9 @@ else
echo
"ZLIB is already installed"
fi
wget http://ppmcore.mpi-cbg.de/upload/hdf5-1.8.1
6
.tar.bz2
tar
-xf
hdf5-1.8.1
6
.tar.bz2
cd
hdf5-1.8.1
6
wget http://ppmcore.mpi-cbg.de/upload/hdf5-1.8.1
9
.tar.bz2
tar
-xf
hdf5-1.8.1
9
.tar.bz2
cd
hdf5-1.8.1
9
if
[
x
"
$plaform
"
!=
"cygwin"
]
;
then
CC
=
mpicc ./configure
--with-zlib
=
$1
/ZLIB
--enable-parallel
--prefix
=
$1
/HDF5
...
...
@@ -46,5 +46,6 @@ else
CC
=
mpicc ./configure
--enable-parallel
--prefix
=
$1
/HDF5
fi
make
-j
$2
echo
1
>
$1
/HDF5/version
mkdir
$1
/HDF5
make
install
script/remove_old
View file @
a9a7ddbb
...
...
@@ -176,6 +176,17 @@ function remove_old()
fi
fi
if
[
-d
$1
/HDF5
]
;
then
version
=
$(
cat
$1
/HDF5/version
)
if
[
x
"
$version
"
!=
x
"1"
]
;
then
echo
-e
"
\0
33[1;34;5m --------------------------------------------------------------------------------------
\0
33[0m"
echo
-e
"
\0
33[1;34;5m HDF5 has been updated to version 1.8.19, the component will be updated automatically
\0
33[0m"
echo
-e
"
\0
33[1;34;5m --------------------------------------------------------------------------------------
\0
33[0m"
sleep
5
rm
-rf
$1
/HDF5
fi
fi
if
[
-d
$1
/MPI
]
;
then
version
=
$(
cat
$1
/MPI/version
)
if
[
x
"
$version
"
!=
x
"2"
]
;
then
...
...
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