diff --git a/install b/install
index 8790e772de8e55805fc622a347ed3894a00c99aa..0d9763999a79e9806e30165e8caf1b17c871427d 100755
--- a/install
+++ b/install
@@ -211,7 +211,7 @@ echo -e "Installing requirements into: $i_dir "
 
 ### Installing PETSC
 
-if [ ! -d "$i_dir/PETSC" -o ! -d "$i_dir/EIGEN" ]; then
+if [ ! -d "$i_dir/PETSC" -o ! -f "$i_dir/PETSC/include/petsc.h" -o ! -d "$i_dir/EIGEN" ]; then
     echo -e "\033[1;34m Optional packages  \033[0m"
     echo -e "\033[1mDo you want to install linear algebra packages ?(y/n)\033[0m"
     echo "Installation can take long time (90 minutes on i7-3612QM 4 cores)"
@@ -522,13 +522,6 @@ echo -e "\033[1;34;5m --------------------------------  \033[0m"
 
 installation_report=""
 
-if [ -d "$i_dir/TRILINOS" ]; then
-  installation_report="$installation_report \033[92;1mTRILINOS\033[0m Installed: \033[1m $i_dir/TRILINOS \033[0m\n"
-  bash_library="$bash_library:$i_dir/TRILINOS/lib"
-else
-  installation_report="$installation_report \033[91;1mTRILINOS\033[0m Installed: \033[1m NO \033[0m\n"
-fi
-
 if [ -d "$i_dir/OPENBLAS" ]; then
   installation_report="$installation_report \033[92;1mOPENBLAS\033[0m Installed: \033[1m $i_dir/OPENBLAS \033[0m\n"
   bash_library="$bash_library:$i_dir/OPENBLAS/lib"
@@ -543,34 +536,6 @@ else
   installation_report="$installation_report \033[91;1mSUITESPARSE\033[0m Installed: \033[1m NO \033[0m\n"
 fi
 
-if [ -d "$i_dir/SCALAPACK" ]; then
-  installation_report="$installation_report \033[92;1mSCALAPACK\033[0m Installed: \033[1m $i_dir/SCALAPACK \033[0m\n"
-  bash_library="$bash_library:$i_dir/SCALAPACK/lib"
-else
-  installation_report="$installation_report \033[91;1mSCALAPACK\033[0m Installed: \033[1m NO \033[0m\n"
-fi
-
-if [ -d "$i_dir/MUMPS" ]; then
-  installation_report="$installation_report \033[92;1mMUMPS\033[0m Installed: \033[1m $i_dir/MUMPS \033[0m\n"
-  bash_library="$bash_library:$i_dir/MUMPS/lib"
-else
-  installation_report="$installation_report \033[91;1mMUMPS\033[0m Installed: \033[1m NO \033[0m\n"
-fi
-
-if [ -d "$i_dir/SUPERLU_DIST" ]; then
-  installation_report="$installation_report \033[92;1mSUPERLU_DIST\033[0m Installed: \033[1m $i_dir/SUPERLU_DIST \033[0m\n"
-  bash_library="$bash_library:$i_dir/SUPERLU_DIST/lib"
-else
-  installation_report="$installation_report \033[91;1mSUPERLU_DIST\033[0m Installed: \033[1m NO \033[0m\n"
-fi
-
-if [ -d "$i_dir/HYPRE" ]; then
-  installation_report="$installation_report \033[92;1mHYPRE\033[0m Installed: \033[1m $i_dir/HYPRE \033[0m\n"
-  bash_library="$bash_library:$i_dir/HYPRE/lib"
-else
-  installation_report="$installation_report \033[91;1mHYPRE\033[0m Installed: \033[1m NO \033[0m\n"
-fi
-
 bash_path="$bash_path\$PATH\""
 bash_library="$bash_library\""
 
diff --git a/script/install_PETSC.sh b/script/install_PETSC.sh
index 798e7055c2f1b5b8f62c6b3b7778e48f05fa66a1..71b9f1c2ca21f7445159d25d199b194f0721cccc 100755
--- a/script/install_PETSC.sh
+++ b/script/install_PETSC.sh
@@ -7,7 +7,7 @@ CC=$3
 F77=$5
 FC=$6
 
-if [ -d "$1/PETSC" ]; then
+if [ -d "$1/PETSC" -a -f "$1/PETSC/include/petsc.h" ]; then
   echo "PETSC is already installed"
   exit 0
 fi
@@ -56,16 +56,18 @@ configure_options_hypre=""
 ### Here we install OpenBLAS and SUITESPARSE
 
 
-if [ -d "$1/PARMETIS" ]; then
-  if [ x"$CXX" != x"icpc" ]; then
-    configure_options="$configure_options --with-parmetis=yes  --with-parmetis-dir=$1/PARMETIS "
-  fi
-  configure_options_superlu="-DTPL_PARMETIS_INCLUDE_DIRS=$1/PARMETIS/include;$1/METIS/include -DTPL_PARMETIS_LIBRARIES=$1/PARMETIS/lib/libparmetis.a;$1/METIS/lib/libmetis.so $configure_options_superlu"
-fi
+#if [ -d "$1/PARMETIS" ]; then
+#  if [ x"$CXX" != x"icpc" ]; then
+#    configure_options="$configure_options --with-parmetis=yes  --with-parmetis-dir=$1/PARMETIS "
+#  fi
+#  configure_options_superlu="-DTPL_PARMETIS_INCLUDE_DIRS=$1/PARMETIS/include;$1/METIS/include -DTPL_PARMETIS_LIBRARIES=$1/PARMETIS/lib/libparmetis.a;$1/METIS/lib/libmetis.so $configure_options_superlu"
+#fi
 
-if [ -d "$1/METIS" ]; then
-  configure_options="$configure_options --with-metis=yes --with-metis-dir=$1/METIS  "
-fi
+#if [ -d "$1/METIS" ]; then
+#  configure_options="$configure_options --with-metis=yes --with-metis-dir=$1/METIS  "
+#fi
+
+configure_options="$configure_options --download-metis --download-parmetis"
 
 if [ -d "$1/BOOST" ]; then
   configure_options="$configure_options --with-boost=yes --with-boost-dir=$1/BOOST "
@@ -118,269 +120,249 @@ else
 fi
 
 # Install NETCFD
-if [ -d "$1/NETCDF" ]; then
-  echo "NETCDF is already installed"
-  configure_options="$configure_options --with-netcdf=yes -with-netcdf-dir=$1/NETCDF --with-hdf5=yes --with-hdf5-dir=$1/HDF5 "
-else
-  if [ -d "$1/HDF5" ]; then
-     configure_options="$configure_options --with-hdf5=yes --with-hdf5-dir=$1/HDF5  "
-  else
-     ./script/install_HDF5.sh $1 $2
-     if [ $? -eq 0 ]; then
-        configure_options="$configure_options --with-hdf5=yes --with-hdf5-dir=$1/HDF5  "
-     fi
-  fi
-
-  rm netcdf-4.4.1.1.tar.gz
-  rm -rf netcdf-4.4.1.1
-  wget http://ppmcore.mpi-cbg.de/upload/netcdf-4.4.1.1.tar.gz
-  if [ $? -ne 0 ]; then
-    echo -e "\033[91;5;1m FAILED! Installation requires an Internet connection \033[0m"
-    exit 1
-  fi
-  tar -xf netcdf-4.4.1.1.tar.gz
-  cd netcdf-4.4.1.1
-
-  if [ -d "$1/HDF5/lib"  ]; then
-    lib_path="$1/HDF5/lib"
-  elif [ -d "$1/HDF5/lib64" ]; then
-    lib_path="$1/HDF5/lib64"
-  fi
-
-  if [ x"$platform" == x"cygwin" ]; then
-    ./configure CC=mpicc CPPFLAGS="-I$1/HDF5/include -I$1/ZLIB/include " LDFLAGS="-L$lib_path -L$1/ZLIB/lib" --disable-netcdf-4 --disable-dap --disable-shared --prefix=$1/NETCDF
-  else
-    ./configure CC=mpicc CPPFLAGS="-I$1/HDF5/include -I$1/ZLIB/include " LDFLAGS="-L$lib_path -L$1/ZLIB/lib" --disable-dap --disable-shared --prefix=$1/NETCDF
-  fi
-  make -j $2
-
-  if [ $? -eq 0 ]; then
-    make install
-    configure_options="$configure_options --with-netcdf=yes -with-netcdf-dir=$1/NETCDF "
-  else
-    echo -e "\033[91;5;1m FAILED! NETCDF Installation \033[0m"
-    exit 1
-  fi
-fi
-
-if [ ! -d "$1/TRILINOS" ]; then
-  rm trilinos-12.10.1-Source.tar.gz
-  rm -rf trilinos-12.10.1-Source
-  wget http://ppmcore.mpi-cbg.de/upload/trilinos-12.10.1-Source.tar.gz
-  if [ $? -ne 0 ]; then
-    echo -e "\033[91;5;1m FAILED! Installation requires an Internet connection \033[0m"
-    exit 1
-  fi
-  tar -xf trilinos-12.10.1-Source.tar.gz
-  cd trilinos-12.10.1-Source
-  mkdir build
+#if [ -d "$1/NETCDF" ]; then
+#  echo "NETCDF is already installed"
+#  configure_options="$configure_options --with-netcdf=yes -with-netcdf-dir=$1/NETCDF --with-hdf5=yes --with-hdf5-dir=$1/HDF5 "
+#else
+#  if [ -d "$1/HDF5" ]; then
+#     configure_options="$configure_options --with-hdf5=yes --with-hdf5-dir=$1/HDF5  "
+#  else
+#     ./script/install_HDF5.sh $1 $2
+#     if [ $? -eq 0 ]; then
+#        configure_options="$configure_options --with-hdf5=yes --with-hdf5-dir=$1/HDF5  "
+#     fi
+#  fi
+
+#  rm netcdf-4.4.1.1.tar.gz
+#  rm -rf netcdf-4.4.1.1
+#  wget http://ppmcore.mpi-cbg.de/upload/netcdf-4.4.1.1.tar.gz
+#  if [ $? -ne 0 ]; then
+#    echo -e "\033[91;5;1m FAILED! Installation requires an Internet connection \033[0m"
+#    exit 1
+#  fi
+#  tar -xf netcdf-4.4.1.1.tar.gz
+#  cd netcdf-4.4.1.1
+
+#  if [ -d "$1/HDF5/lib"  ]; then
+#    lib_path="$1/HDF5/lib"
+#  elif [ -d "$1/HDF5/lib64" ]; then
+#    lib_path="$1/HDF5/lib64"
+#  fi
+
+#  if [ x"$platform" == x"cygwin" ]; then
+#    ./configure CC=mpicc CPPFLAGS="-I$1/HDF5/include -I$1/ZLIB/include " LDFLAGS="-L$lib_path -L$1/ZLIB/lib" --disable-netcdf-4 --disable-dap --disable-shared --prefix=$1/NETCDF
+#  else
+#    ./configure CC=mpicc CPPFLAGS="-I$1/HDF5/include -I$1/ZLIB/include " LDFLAGS="-L$lib_path -L$1/ZLIB/lib" --disable-dap --disable-shared --prefix=$1/NETCDF
+#  fi
+#  make -j $2
+
+#  if [ $? -eq 0 ]; then
+#    make install
+#    configure_options="$configure_options --with-netcdf=yes -with-netcdf-dir=$1/NETCDF "
+#  else
+#    echo -e "\033[91;5;1m FAILED! NETCDF Installation \033[0m"
+#    exit 1
+#  fi
+#fi
+
+#if [ ! -d "$1/TRILINOS" ]; then
+#  rm trilinos-12.10.1-Source.tar.gz
+#  rm -rf trilinos-12.10.1-Source
+#  wget http://ppmcore.mpi-cbg.de/upload/trilinos-12.10.1-Source.tar.gz
+#  if [ $? -ne 0 ]; then
+#    echo -e "\033[91;5;1m FAILED! Installation requires an Internet connection \033[0m"
+#    exit 1
+#  fi
+#  tar -xf trilinos-12.10.1-Source.tar.gz
+#  cd trilinos-12.10.1-Source
+#  mkdir build
 
   ## Apply patch
-  wget http://ppmcore.mpi-cbg.de/upload/trilinos_cygwin_comb
-  patch -p0 -R < trilinos_cygwin_comb
-  cd build
+#  wget http://ppmcore.mpi-cbg.de/upload/trilinos_cygwin_comb
+#  patch -p0 -R < trilinos_cygwin_comb
+#  cd build
 
   ### On clang we have no openMP
-  petsc_openmp=""
-  if [ x"$CXX" == x"clang++" ]; then
-    conf_trl_openmp="-D Trilinos_ENABLE_OpenMP=OFF"
-  elif [ x"$CXX" == x"icpc" ]; then
-
-    configure_trilinos_options="$configure_trilinos_options -D Trilinos_ENABLE_Xpetra=OFF -D Trilinos_ENABLE_Amesos2=OFF -D Trilinos_ENABLE_Ifpack2=OFF -D Trilinos_ENABLE_Teko=OFF "
-  else
-    conf_trl_openmp="-D Trilinos_ENABLE_OpenMP=ON"
+#  petsc_openmp=""
+#  if [ x"$CXX" == x"clang++" ]; then
+#    conf_trl_openmp="-D Trilinos_ENABLE_OpenMP=OFF"
+#  elif [ x"$CXX" == x"icpc" ]; then
+
+#    configure_trilinos_options="$configure_trilinos_options -D Trilinos_ENABLE_Xpetra=OFF -D Trilinos_ENABLE_Amesos2=OFF -D Trilinos_ENABLE_Ifpack2=OFF -D Trilinos_ENABLE_Teko=OFF "
+#  else
+#    conf_trl_openmp="-D Trilinos_ENABLE_OpenMP=ON"
 #    petsc_openmp="--with-openmp=yes"
-  fi
+#  fi
 
-  if [ x"$platform" == x"cygwin" ]; then
-    configure_trilinos_options="$configure_trilinos_options -D Trilinos_CXX11_FLAGS=-std=gnu++11 "
-  fi
-  cmake -D CMAKE_INSTALL_PREFIX:PATH=$1/TRILINOS -D CMAKE_BUILD_TYPE=RELEASE $conf_trl_openmp -D Trilinos_ENABLE_TESTS=OFF  -D Trilinos_ENABLE_ALL_PACKAGES=ON $configure_trilinos_options  ../.
+#  if [ x"$platform" == x"cygwin" ]; then
+#    configure_trilinos_options="$configure_trilinos_options -D Trilinos_CXX11_FLAGS=-std=gnu++11 "
+#  fi
+#  cmake -D CMAKE_INSTALL_PREFIX:PATH=$1/TRILINOS -D CMAKE_BUILD_TYPE=RELEASE $conf_trl_openmp -D Trilinos_ENABLE_TESTS=OFF  -D Trilinos_ENABLE_ALL_PACKAGES=ON $configure_trilinos_options  ../.
 
 
-  cmake -D CMAKE_INSTALL_PREFIX:PATH=$1/TRILINOS -D CMAKE_BUILD_TYPE=RELEASE $conf_trl_openmp -D Trilinos_ENABLE_TESTS=OFF  -D Trilinos_ENABLE_ALL_PACKAGES=ON $configure_trilinos_options  ../.
+#  cmake -D CMAKE_INSTALL_PREFIX:PATH=$1/TRILINOS -D CMAKE_BUILD_TYPE=RELEASE $conf_trl_openmp -D Trilinos_ENABLE_TESTS=OFF  -D Trilinos_ENABLE_ALL_PACKAGES=ON $configure_trilinos_options  ../.
 
-  make -j $2
-  if [ $? -eq 0 ]; then
-    make install
+#  make -j $2
+#  if [ $? -eq 0 ]; then
+#    make install
     # Mark the installation
-    echo 1 > $1/TRILINOS/version
-    configure_options="$configure_options --with-trilinos=yes -with-trilinos-dir=$1/TRILINOS"
-  fi
-else
-  echo "Trilinos is already installed"
-  configure_options="$configure_options --with-trilinos=yes -with-trilinos-dir=$1/TRILINOS"
-fi
-
-### Scalapack installation
+#    echo 1 > $1/TRILINOS/version
+#    configure_options="$configure_options --with-trilinos=yes -with-trilinos-dir=$1/TRILINOS"
+#  fi
+#else
+#  echo "Trilinos is already installed"
+#  configure_options="$configure_options --with-trilinos=yes -with-trilinos-dir=$1/TRILINOS"
+#fi
 
-if [ ! -d "$1/SCALAPACK" ]; then
-  rm scalapack-2.0.2.tgz
-  rm -rf scalapack-2.0.2
-  wget http://ppmcore.mpi-cbg.de/upload/scalapack-2.0.2.tgz
-  if [ $? -ne 0 ]; then
-    echo -e "\033[91;5;1m FAILED! Installation requires an Internet connection \033[0m"
-    exit 1
-  fi
-  tar -xf scalapack-2.0.2.tgz
-  cd scalapack-2.0.2
-  mkdir build
-  cd build
-  echo "cmake CMAKE_EXE_LINKER_FLAGS=-lgfortran  -D CMAKE_EXE_LINKER_FLAGS=-pthread  -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_Fortran_FLAGS_RELEASE=-fpic -D MPI_C_COMPILER_FLAGS=-fpic -D MPI_Fortran_COMPILER_FLAGS=-fpic -D CMAKE_C_FLAGS=-fpic -D CMAKE_INSTALL_PREFIX="$1/SCALAPACK" $configure_options_scalapack ../."
-  cmake CMAKE_EXE_LINKER_FLAGS=-lgfortran  -D CMAKE_EXE_LINKER_FLAGS=-pthread  -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_Fortran_FLAGS_RELEASE=-fpic -D MPI_C_COMPILER_FLAGS=-fpic -D MPI_Fortran_COMPILER_FLAGS=-fpic -D CMAKE_C_FLAGS=-fpic -D CMAKE_INSTALL_PREFIX="$1/SCALAPACK" $configure_options_scalapack ../.
-  make -j $2
-  if [ $? -eq 0 ]; then
-    make install
-    configure_options="$configure_options --with-scalapack=yes -with-scalapack-dir=$1/SCALAPACK"
-  fi
-else
-  echo "Scalapack is already installed"
-  configure_options="$configure_options --with-scalapack=yes -with-scalapack-dir=$1/SCALAPACK"
-fi
+configure_options="$configure_options --download-scalapack --download-mumps"
 
 ### MUMPS installation
-if [ x"$CXX" != x"icpc" ]; then
-  if [ ! -d "$1/MUMPS" ]; then
-    rm MUMPS_5.0.1.tar.gz
-    rm -rf MUMPS_5.0.1
-    wget http://openfpm.mpi-cbg.de/upload/MUMPS_5.0.1.tar.gz
-    if [ $? -ne 0 ]; then
-      echo -e "\033[91;5;1m FAILED! Installation requires an Internet connection \033[0m"
-      exit 1
-    fi
-    tar -xf MUMPS_5.0.1.tar.gz
-    cd MUMPS_5.0.1
-    cp Make.inc/Makefile.inc.generic Makefile.inc
+#if [ x"$CXX" != x"icpc" ]; then
+#  if [ ! -d "$1/MUMPS" ]; then
+#    rm MUMPS_5.1.2.tar.gz
+#    rm -rf MUMPS_5.1.2
+#    wget http://openfpm.mpi-cbg.de/upload/MUMPS_5.1.2.tar.gz
+#    if [ $? -ne 0 ]; then
+#      echo -e "\033[91;5;1m FAILED! Installation requires an Internet connection \033[0m"
+#      exit 1
+#    fi
+#    tar -xf MUMPS_5.1.2.tar.gz
+#    cd MUMPS_5.1.2
+#    cp Make.inc/Makefile.inc.generic Makefile.inc
 
     # Installation for linux
 
-    $sed_command -i "/CC\s\+=\scc/c\CC = mpicc" Makefile.inc
-    $sed_command -i "/FC\s\+=\sf90/c\FC = mpif90" Makefile.inc
-    $sed_command -i "/FL\s\+=\sf90/c\FL = mpif90" Makefile.inc
+#    $sed_command -i "/CC\s\+=\scc/c\CC = mpicc" Makefile.inc
+#    $sed_command -i "/FC\s\+=\sf90/c\FC = mpif90" Makefile.inc
+#    $sed_command -i "/FL\s\+=\sf90/c\FL = mpif90" Makefile.inc
 
-    $sed_command -i "/SCALAP\s\+=\s-lscalapack\s-lblacs/c\SCALAP = -L$1/SCALAPACK/lib -L$1/OPENBLAS/lib -lscalapack" Makefile.inc
-    $sed_command -i "/LIBBLAS\s\+=\s\-lopenblas/c\LIBBLAS = -lopenblas" Makefile.inc
+#    $sed_command -i "/SCALAP\s\+=\s-lscalapack\s-lblacs/c\SCALAP = -L$1/SCALAPACK/lib -L$1/OPENBLAS/lib -lscalapack" Makefile.inc
+#    $sed_command -i "/LIBBLAS\s\+=\s\-lopenblas/c\LIBBLAS = -lopenblas" Makefile.inc
 
-    $sed_command -i "/OPTF\s\+=\s\-O/c\OPTF = -fpic -O3" Makefile.inc
-    $sed_command -i "/OPTC\s\+=\s\-O\s-I./c\OPTC = -fpic -O3 -I." Makefile.inc
-    $sed_command -i "/OPTL\s\+=\s\-O/c\OPTL = -fpic -O3" Makefile.inc
+#    $sed_command -i "/OPTF\s\+=\s\-O/c\OPTF = -fpic -O3" Makefile.inc
+#    $sed_command -i "/OPTC\s\+=\s\-O\s-I./c\OPTC = -fpic -O3 -I." Makefile.inc
+#    $sed_command -i "/OPTL\s\+=\s\-O/c\OPTL = -fpic -O3" Makefile.inc
 
-    $sed_command -i "/LIBBLAS\s=\s-lblas/c\LIBBLAS = -lopenblas" Makefile.inc
+#    $sed_command -i "/LIBBLAS\s=\s-lblas/c\LIBBLAS = -lopenblas" Makefile.inc
 
-    $sed_command -i "/INCPAR\s\+=\s\-I\/usr\/include/c\INCPAR =" Makefile.inc
-    $sed_command -i "/LIBPAR\s\+=\s\$(SCALAP)\s\-L\/usr\/lib\s\-lmpi/c\LIBPAR = \$(SCALAP)" Makefile.inc
+#    $sed_command -i "/INCPAR\s\+=\s\-I\/usr\/include/c\INCPAR =" Makefile.inc
+#    $sed_command -i "/LIBPAR\s\+=\s\$(SCALAP)\s\-L\/usr\/lib\s\-lmpi/c\LIBPAR = \$(SCALAP)" Makefile.inc
 
-    make -j $2
-    if [ $? -eq 0 ]; then
+#    make -j $2
+#    if [ $? -eq 0 ]; then
       ## Copy LIB and include in the target directory
 
-      mkdir $1/MUMPS
-      cp -r include $1/MUMPS
-      cp -r lib $1/MUMPS
+#      mkdir $1/MUMPS
+#      cp -r include $1/MUMPS
+#      cp -r lib $1/MUMPS
 
-      MUMPS_extra_lib="-L$1/MUMPS/lib -ldmumps -lmumps_common -lpord -pthread "
-      configure_options="$configure_options --with-mumps=yes --with-mumps-include=$1/MUMPS/include/"
+#      MUMPS_extra_lib="-L$1/MUMPS/lib -ldmumps -lmumps_common -lpord -pthread "
+#      configure_options="$configure_options --with-mumps=yes --with-mumps-include=$1/MUMPS/include/"
 
-    fi
-  else
-    echo "MUMPS is already installed"
-    MUMPS_extra_lib="-L$1/MUMPS/lib -ldmumps -lmumps_common -lpord -pthread "
-    configure_options="$configure_options --with-mumps=yes --with-mumps-include=$1/MUMPS/include/"
-  fi
-fi
+#    fi
+#  else
+#    echo "MUMPS is already installed"
+#    MUMPS_extra_lib="-L$1/MUMPS/lib -ldmumps -lmumps_common -lpord -pthread "
+#    configure_options="$configure_options --with-mumps=yes --with-mumps-include=$1/MUMPS/include/"
+#  fi
+#fi
 
 ## SuperLU installation
 
-if [ ! -d "$1/SUPERLU_DIST" ]; then
-  rm superlu_dist_5.1.3.tar.gz
-  rm -rf SuperLU_DIST_5.1.3
-  wget http://ppmcore.mpi-cbg.de/upload/superlu_dist_5.1.3.tar.gz
-  if [ $? -ne 0 ]; then
-    echo -e "\033[91;5;1m FAILED! Installation requires an Internet connection \033[0m"
-    exit 1
-  fi
-  tar -xf superlu_dist_5.1.3.tar.gz
-  cd SuperLU_DIST_5.1.3
-
-  mkdir build
-  cd build
-
-  if [ x"$platform" == x"cygwin" ]; then
-    cmake .. -DCMAKE_C_FLAGS="-fPIC -std=c99 "  -DTPL_BLAS_LIBRARIES="$1/OPENBLAS/lib/libopenblas.a"  -DCMAKE_INSTALL_PREFIX="$1/SUPERLU_DIST"  -DTPL_PARMETIS_INCLUDE_DIRS="$1/PARMETIS/include/;$1/METIS/include/" -DTPL_PARMETIS_LIBRARIES="$1/PARMETIS/lib/libparmetis.a;$1/METIS/lib/libmetis.dll.a;-lmpi;-lopen-rte;-lopen-pal"
-  else
-    cmake .. -DCMAKE_C_FLAGS="-fPIC -std=c99 "  -DTPL_BLAS_LIBRARIES="$1/OPENBLAS/lib/libopenblas.a"  -DCMAKE_INSTALL_PREFIX="$1/SUPERLU_DIST"  -DTPL_PARMETIS_INCLUDE_DIRS="$1/PARMETIS/include/;$1/METIS/include/" -DTPL_PARMETIS_LIBRARIES="$1/PARMETIS/lib/libparmetis.a;$1/METIS/lib/libmetis.so"
-  fi
+#if [ ! -d "$1/SUPERLU_DIST" ]; then
+#  rm superlu_dist_5.1.3.tar.gz
+#  rm -rf SuperLU_DIST_5.1.3
+#  wget http://ppmcore.mpi-cbg.de/upload/superlu_dist_5.1.3.tar.gz
+#  if [ $? -ne 0 ]; then
+#    echo -e "\033[91;5;1m FAILED! Installation requires an Internet connection \033[0m"
+#    exit 1
+#  fi
+#  tar -xf superlu_dist_5.1.3.tar.gz
+#  cd SuperLU_DIST_5.1.3
+
+#  mkdir build
+#  cd build
+
+#  if [ x"$platform" == x"cygwin" ]; then
+#    cmake .. -DCMAKE_C_FLAGS="-fPIC -std=c99 "  -DTPL_BLAS_LIBRARIES="$1/OPENBLAS/lib/libopenblas.a"  -DCMAKE_INSTALL_PREFIX="$1/SUPERLU_DIST"  -DTPL_PARMETIS_INCLUDE_DIRS="$1/PARMETIS/include/;$1/METIS/include/" -DTPL_PARMETIS_LIBRARIES="$1/PARMETIS/lib/libparmetis.a;$1/METIS/lib/libmetis.dll.a;-lmpi;-lopen-rte;-lopen-pal"
+#  else
+#    cmake .. -DCMAKE_C_FLAGS="-fPIC -std=c99 "  -DTPL_BLAS_LIBRARIES="$1/OPENBLAS/lib/libopenblas.a"  -DCMAKE_INSTALL_PREFIX="$1/SUPERLU_DIST"  -DTPL_PARMETIS_INCLUDE_DIRS="$1/PARMETIS/include/;$1/METIS/include/" -DTPL_PARMETIS_LIBRARIES="$1/PARMETIS/lib/libparmetis.a;$1/METIS/lib/libmetis.so"
+#  fi
 
   # Installation for linux
 
-  make
-  if [ $? -eq 0 ]; then
-     make install
-     echo 1 > $1/SUPERLU_DIST/version
-
-    if [ x"$CXX" == x"icpc" ]; then
-      configure_options="$configure_options"
-    else
-      configure_options="$configure_options --with-superlu_dist=yes --with-superlu_dist-lib=$1/SUPERLU_DIST/lib/libsuperlu_dist.a --with-superlu_dist-include=$1/SUPERLU_DIST/include/"
-    fi
-  fi
-
-else
-  echo "SUPERLU is already installed"
-  if [ x"$CXX" == x"icpc" ]; then
-    configure_options="$configure_options"
-  else
-    configure_options="$configure_options --with-superlu_dist=yes --with-superlu_dist-lib=$1/SUPERLU_DIST/lib/libsuperlu_dist.a --with-superlu_dist-include=$1/SUPERLU_DIST/include/"
-  fi
-fi
+#  make
+#  if [ $? -eq 0 ]; then
+#     make install
+#     echo 1 > $1/SUPERLU_DIST/version
+
+#    if [ x"$CXX" == x"icpc" ]; then
+#      configure_options="$configure_options"
+#    else
+#      configure_options="$configure_options --with-superlu_dist=yes --with-superlu_dist-lib=$1/SUPERLU_DIST/lib/libsuperlu_dist.a --with-superlu_dist-include=$1/SUPERLU_DIST/include/"
+#    fi
+#  fi
+
+#else
+#  echo "SUPERLU is already installed"
+#  if [ x"$CXX" == x"icpc" ]; then
+#    configure_options="$configure_options"
+#  else
+#    configure_options="$configure_options --with-superlu_dist=yes --with-superlu_dist-lib=$1/SUPERLU_DIST/lib/libsuperlu_dist.a --with-superlu_dist-include=$1/SUPERLU_DIST/include/"
+#  fi
+#fi
+
+configure_options="$configure_options --download-superlu_dist"
 
 ## HYPRE installation
 
-if [ ! -d "$1/HYPRE" ]; then
-  rm hypre-2.11.2.tar.gz
-  rm -rf hypre-2.11.2
-  wget http://ppmcore.mpi-cbg.de/upload/hypre-2.11.2.tar.gz
-  if [ $? -ne 0 ]; then
-    echo -e "\033[91;5;1m FAILED! Installation requires an Internet connection \033[0m"
-    exit 1
-  fi
-  tar -xf hypre-2.11.2.tar.gz
-  cd hypre-2.11.2
-
-  cd src
-
-  ./configure CC=mpicc CXX=mpic++ CFLAGS=-fpic  $configure_options_hypre --prefix=$1/HYPRE
-  make -j $2
-  if [ $? -eq 0 ]; then
-    make install
-    echo 1 > $1/HYPRE/version
-    configure_options="$configure_options --with-hypre=yes -with-hypre-dir=$1/HYPRE"
-  fi
-
-else
-  echo "HYPRE is already installed"
-  configure_options="$configure_options --with-hypre=yes -with-hypre-dir=$1/HYPRE"
-fi
-
-rm petsc-lite-3.7.6.tar.gz
-rm -rf petsc-3.7.6
-wget http://ppmcore.mpi-cbg.de/upload/petsc-lite-3.7.6.tar.gz
+#if [ ! -d "$1/HYPRE" ]; then
+#  rm hypre-2.11.2.tar.gz
+#  rm -rf hypre-2.11.2
+#  wget http://ppmcore.mpi-cbg.de/upload/hypre-2.11.2.tar.gz
+#  if [ $? -ne 0 ]; then
+#    echo -e "\033[91;5;1m FAILED! Installation requires an Internet connection \033[0m"
+#    exit 1
+#  fi
+#  tar -xf hypre-2.11.2.tar.gz
+#  cd hypre-2.11.2
+#
+#  cd src
+#
+#  ./configure CC=mpicc CXX=mpic++ CFLAGS=-fpic  $configure_options_hypre --prefix=$1/HYPRE
+#  make -j $2
+#  if [ $? -eq 0 ]; then
+#    make install
+#    echo 1 > $1/HYPRE/version
+#    configure_options="$configure_options --with-hypre=yes -with-hypre-dir=$1/HYPRE"
+#  fi
+
+#else
+#  echo "HYPRE is already installed"
+#  configure_options="$configure_options --with-hypre=yes -with-hypre-dir=$1/HYPRE"
+#fi
+
+configure_options="$configure_options --download-hypre"
+
+rm petsc-lite-3.10.2.tar.gz
+rm -rf petsc-3.10.2
+wget http://ppmcore.mpi-cbg.de/upload/petsc-lite-3.10.2.tar.gz
 if [ $? -ne 0 ]; then
   echo -e "\033[91;5;1m FAILED! Installation requires an Internet connection \033[0m"
   exit 1
 fi
-tar -xf petsc-lite-3.7.6.tar.gz
-cd petsc-3.7.6
+tar -xf petsc-lite-3.10.2.tar.gz
+cd petsc-3.10.2
 
 if [ x"$CXX" != x"icpc" ]; then
 
-  echo "./configure COPTFLAGS="-O3 -g" CXXOPTFLAGS="-O3 -g" FOPTFLAGS="-O3 -g" $ldflags_petsc --with-cxx-dialect=C++11 $petsc_openmp  --with-mpi-dir=$mpi_dir $configure_options --with-mumps-lib="$MUMPS_extra_lib"  --prefix=$1/PETSC --with-debugging=0"
+  echo "./configure COPTFLAGS="-O3 -g" CXXOPTFLAGS="-O3 -g" FOPTFLAGS="-O3 -g" $ldflags_petsc --with-cxx-dialect=C++11 $petsc_openmp  --with-mpi-dir=$mpi_dir $configure_options  --prefix=$1/PETSC --with-debugging=0"
 
   function haveProg() {
       [ -x "$(command -v $1)" ]
   }
 
-  $python_command ./configure COPTFLAGS="-O3 -g" CXXOPTFLAGS="-O3 -g" FOPTFLAGS="-O3 -g" $ldflags_petsc  --with-cxx-dialect=C++11 $petsc_openmp --with-mpi-dir=$mpi_dir $configure_options --with-mumps-lib="$MUMPS_extra_lib" --prefix=$1/PETSC --with-debugging=0
+  $python_command ./configure COPTFLAGS="-O3 -g" CXXOPTFLAGS="-O3 -g" FOPTFLAGS="-O3 -g" $ldflags_petsc  --with-cxx-dialect=C++11 $petsc_openmp --with-mpi-dir=$mpi_dir $configure_options --prefix=$1/PETSC --with-debugging=0
 
 else
 
@@ -402,7 +384,7 @@ if [ ! "$(ls -A $1/PETSC)" ]; then
    rm -rf $1/PETSC
 else
    #Mark the installation
-   echo 1 > $1/PETSC/version
+   echo 2 > $1/PETSC/version
    exit 0
 fi
 
diff --git a/script/install_SUITESPARSE.sh b/script/install_SUITESPARSE.sh
index 61f5905a550431086d0ca21dae490bd5341ad444..decca6fd3238017ebbf6cc4dba462fe8841f3791 100755
--- a/script/install_SUITESPARSE.sh
+++ b/script/install_SUITESPARSE.sh
@@ -12,9 +12,9 @@ if [ -d "$1/SUITESPARSE" ]; then
   exit 0
 fi
 
-wget http://ppmcore.mpi-cbg.de/upload/SuiteSparse-4.5.5.tar.gz
+wget http://ppmcore.mpi-cbg.de/upload/SuiteSparse-5.3.0.tar.gz
 rm -rf SuiteSparse
-tar -xf SuiteSparse-4.5.5.tar.gz
+tar -xf SuiteSparse-5.3.0.tar.gz
 if [ $? != 0 ]; then
   echo "Failed to download SuiteSparse"
   exit 1
@@ -43,4 +43,4 @@ make install "CUDA=no" "INSTALL=$1/SUITESPARSE" "INSTALL_LIB=$1/SUITESPARSE/lib"
 # Mark the installation
 echo 1 > $1/SUITESPARSE/version
 rm -rf SuiteSparse
-rm SuiteSparse-4.5.5.tar.gz
+rm SuiteSparse-5.3.0.tar.gz
diff --git a/script/remove_old b/script/remove_old
index 2f4cd0b2736ac6726cd9ed72b6890b257988eee2..5ff408c153983bd7fcf7d192fe887489fa551096 100755
--- a/script/remove_old
+++ b/script/remove_old
@@ -141,38 +141,18 @@ function remove_old()
         fi
     fi
 
-    if [ -d $1/SUPERLU_DIST ]; then
-        version=$(cat $1/SUPERLU_DIST/version)
-        if [ x"$version" != x"1"  ]; then
-            echo -e "\033[1;34;5m  ---------------------------------------------------------------------------------------------------------- \033[0m"
-            echo -e "\033[1;34;5m  SuperLU (Distributed) has been updated to version 5.2.1, the component will be updated automatically      \033[0m"
-            echo -e "\033[1;34;5m  ---------------------------------------------------------------------------------------------------------- \033[0m"
-            sleep 5
-            rm -rf $1/SUPERLU_DIST
-            rm -rf $1/PETSC
-        fi
-    fi
-
-    if [ -d $1/HYPRE ]; then
-        version=$(cat $1/HYPRE/version)
-        if [ x"$version" != x"1"  ]; then
-            echo -e "\033[1;34;5m  ------------------------------------------------------------------------------------------- \033[0m"
-            echo -e "\033[1;34;5m  HYPRE has been updated to version 2.11.2, the component will be updated automatically      \033[0m"
-            echo -e "\033[1;34;5m  ------------------------------------------------------------------------------------------- \033[0m"
-            sleep 5
-            rm -rf $1/HYPRE
-            rm -rf $1/PETSC
-        fi
-    fi
-
     if [ -d $1/PETSC ]; then
         version=$(cat $1/PETSC/version)
-        if [ x"$version" != x"1"  ]; then
+        if [ x"$version" != x"2"  ]; then
             echo -e "\033[1;34;5m  -------------------------------------------------------------------------------------- \033[0m"
-            echo -e "\033[1;34;5m  PETSC has been updated to version 3.7.6, the component will be updated automatically      \033[0m"
+            echo -e "\033[1;34;5m  PETSC has been updated to version 3.10.2, the component will be updated automatically      \033[0m"
             echo -e "\033[1;34;5m  -------------------------------------------------------------------------------------- \033[0m"
             sleep 5
             rm -rf $1/PETSC
+	    rm -rf $1/HYPRE
+	    rm -rf $1/MUMPS
+	    rm -rf $1/SUPERLU_DIST
+	    rm -rf $1/TRILINOS
         fi
     fi