Skip to content
Snippets Groups Projects
Commit a9a7ddbb authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Updating to HDF5 1.8.19

parent 7ff2ed04
No related branches found
No related tags found
No related merge requests found
......@@ -36,9 +36,9 @@ else
echo "ZLIB is already installed"
fi
wget http://ppmcore.mpi-cbg.de/upload/hdf5-1.8.16.tar.bz2
tar -xf hdf5-1.8.16.tar.bz2
cd hdf5-1.8.16
wget http://ppmcore.mpi-cbg.de/upload/hdf5-1.8.19.tar.bz2
tar -xf hdf5-1.8.19.tar.bz2
cd hdf5-1.8.19
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
......@@ -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 "\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
version=$(cat $1/MPI/version)
if [ x"$version" != x"2" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment