Skip to content
Snippets Groups Projects
Commit 7a803688 authored by Thomas Fetzer's avatar Thomas Fetzer
Browse files

[installexternal] Add gstat for download and installation

parent 48cba915
No related branches found
No related tags found
1 merge request!152Feature/gstat
......@@ -99,6 +99,32 @@ installFoamGrid()
fi
}
installGStat()
{
cd $EXTDIR
rm -rf gstat* standalone
if [ ! -e gstat.tar.gz ]; then
wget http://gstat.org/gstat.tar.gz
fi
if test "$DOWNLOAD_ONLY" == "y"; then
return
fi
mkdir gstat
tar zxvf gstat.tar.gz --strip-components=1 -C gstat
cd gstat
sed -i 's# doc/tex/makefile##g' configure
./configure
make
if [ -e $PWD/src/gstat ]; then
echo "Successfully installed gstat."
fi
}
installMETIS()
{
cd $EXTDIR
......@@ -353,6 +379,7 @@ usage()
echo " alugrid Download dune-alugrid."
echo " cornerpoint Download and patch dune-cornerpoint."
echo " foamgrid Download dune-foamgrid."
echo " gstat Download and install gstat."
echo " metis Install the METIS graph partitioner."
echo " multidomain Download dune-multidomain."
echo " multidomaingrid Download and patch dune-multidomaingrid."
......@@ -423,6 +450,7 @@ for TMP in "$@"; do
installAluGrid
installCornerpoint
installFoamGrid
installGStat
installMETIS
installMultidomain
installMultidomainGrid
......@@ -443,6 +471,11 @@ for TMP in "$@"; do
SOMETHING_DONE="y"
installFoamGrid
;;
gstat)
SOMETHING_DONE="y"
createExternalDirectory
installGStat
;;
metis)
SOMETHING_DONE="y"
createExternalDirectory
......
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