Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dumux-repositories
dumux
Commits
7a803688
Commit
7a803688
authored
8 years ago
by
Thomas Fetzer
Browse files
Options
Downloads
Patches
Plain Diff
[installexternal] Add gstat for download and installation
parent
48cba915
No related branches found
No related tags found
1 merge request
!152
Feature/gstat
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/installexternal.sh
+33
-0
33 additions, 0 deletions
bin/installexternal.sh
with
33 additions
and
0 deletions
bin/installexternal.sh
+
33
−
0
View file @
7a803688
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment