Commit a9a7ddbb authored by incardon's avatar incardon
Browse files

Updating to HDF5 1.8.19

parent 7ff2ed04
...@@ -36,9 +36,9 @@ else ...@@ -36,9 +36,9 @@ else
echo "ZLIB is already installed" echo "ZLIB is already installed"
fi fi
wget http://ppmcore.mpi-cbg.de/upload/hdf5-1.8.16.tar.bz2 wget http://ppmcore.mpi-cbg.de/upload/hdf5-1.8.19.tar.bz2
tar -xf hdf5-1.8.16.tar.bz2 tar -xf hdf5-1.8.19.tar.bz2
cd hdf5-1.8.16 cd hdf5-1.8.19
if [ x"$plaform" != "cygwin" ]; then if [ x"$plaform" != "cygwin" ]; then
CC=mpicc ./configure --with-zlib=$1/ZLIB --enable-parallel --prefix=$1/HDF5 CC=mpicc ./configure --with-zlib=$1/ZLIB --enable-parallel --prefix=$1/HDF5
...@@ -46,5 +46,6 @@ else ...@@ -46,5 +46,6 @@ else
CC=mpicc ./configure --enable-parallel --prefix=$1/HDF5 CC=mpicc ./configure --enable-parallel --prefix=$1/HDF5
fi fi
make -j $2 make -j $2
echo 1 > $1/HDF5/version
mkdir $1/HDF5 mkdir $1/HDF5
make install make install
...@@ -176,6 +176,17 @@ function remove_old() ...@@ -176,6 +176,17 @@ function remove_old()
fi fi
fi fi
if [ -d $1/HDF5 ]; then
version=$(cat $1/HDF5/version)
if [ x"$version" != x"1" ]; then
echo -e "\033[1;34;5m -------------------------------------------------------------------------------------- \033[0m"
echo -e "\033[1;34;5m HDF5 has been updated to version 1.8.19, the component will be updated automatically \033[0m"
echo -e "\033[1;34;5m -------------------------------------------------------------------------------------- \033[0m"
sleep 5
rm -rf $1/HDF5
fi
fi
if [ -d $1/MPI ]; then if [ -d $1/MPI ]; then
version=$(cat $1/MPI/version) version=$(cat $1/MPI/version)
if [ x"$version" != x"2" ]; then if [ x"$version" != x"2" ]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment