Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux-course
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-course
Commits
4e4733bb
Commit
4e4733bb
authored
3 years ago
by
Hanchuan Wu
Browse files
Options
Downloads
Plain Diff
Merge branch 'cleanup/install-script' into 'master'
Cleanup/install script See merge request
!112
parents
0a53b97b
8a8fedb9
No related branches found
No related tags found
1 merge request
!112
Cleanup/install script
Pipeline
#4730
passed
3 years ago
Stage: deploy
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
scripts/README.md
+1
-1
1 addition, 1 deletion
scripts/README.md
scripts/install.sh
+8
-8
8 additions, 8 deletions
scripts/install.sh
scripts/test_dumux.sh
+1
-1
1 addition, 1 deletion
scripts/test_dumux.sh
with
10 additions
and
10 deletions
scripts/README.md
+
1
−
1
View file @
4e4733bb
...
...
@@ -31,7 +31,7 @@ and configure all modules with CMake
This will clone the necessary repositories (in a subfolder
`DUMUX`
) and
build all libaries.
Run the script
`test_dumux.sh`
in the newly created
dumux
folder
Run the script
`test_dumux.sh`
in the newly created
`DUMUX`
folder
to test your installation of dumux.
```
bash
./test_dumux.sh
...
...
This diff is collapsed.
Click to expand it.
scripts/install.sh
+
8
−
8
View file @
4e4733bb
...
...
@@ -51,12 +51,12 @@ cd DUMUX
# download the test script and the cmake.opts
if
[
!
-f
"test_dumux.sh"
]
;
then
wget https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course/raw/releases/3.
3
/scripts/test_dumux.sh
wget https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course/raw/releases/3.
4
/scripts/test_dumux.sh
fi
chmod
+x test_dumux.sh
if
[
!
-f
"cmake.opts"
]
;
then
wget https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course/raw/releases/3.
3
/cmake.opts
wget https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course/raw/releases/3.
4
/cmake.opts
fi
if
[
$?
-ne
0
]
;
then
...
...
@@ -98,29 +98,29 @@ done
# dune-subgrid
if
[
!
-d
"dune-subgrid"
]
;
then
git clone
-b
releases/
2.6-1
https://git.imp.fu-berlin.de/agnumpde/dune-subgrid.git
git clone
-b
releases/
$DUNE_VERSION
https://git.imp.fu-berlin.de/agnumpde/dune-subgrid.git
else
echo
"Skip cloning dune-subgrid because the folder already exists."
git checkout releases/
2.6-1
git checkout releases/
$DUNE_VERSION
fi
# dumux
if
[
!
-d
"dumux"
]
;
then
git clone
-b
releases/3.
3
https://git.iws.uni-stuttgart.de/dumux-repositories/dumux.git
git clone
-b
releases/3.
4
https://git.iws.uni-stuttgart.de/dumux-repositories/dumux.git
else
echo
"Skip cloning dumux because the folder already exists."
cd
dumux
git checkout releases/3.
3
git checkout releases/3.
4
cd
..
fi
# dumux-course
if
[
!
-d
"dumux-course"
]
;
then
git clone
-b
releases/3.
3
https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course.git
git clone
-b
releases/3.
4
https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course.git
else
echo
"Skip cloning dumux-course because the folder already exists."
cd
dumux-course
git checkout releases/3.
3
git checkout releases/3.
4
cd
..
fi
...
...
This diff is collapsed.
Click to expand it.
scripts/test_dumux.sh
+
1
−
1
View file @
4e4733bb
# Compile and runs a simple
# one-phase ground water flow example
# and visualizes the result using paraview.
cd
dumux/build-cmake/test/porousmediumflow/1p/
implicit/
incompressible
cd
dumux/build-cmake/test/porousmediumflow/1p/incompressible
echo
"Compiling a one-phase test using a cell-centered TPFA discretization (might take a while)..."
make
-B
test_1p_incompressible_tpfa_anadiff
echo
"Running simulation..."
...
...
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