Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LDD-for-two-phase-flow-systems
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
David Seus
LDD-for-two-phase-flow-systems
Commits
509354eb
Commit
509354eb
authored
4 years ago
by
David
Browse files
Options
Downloads
Patches
Plain Diff
make explanations more complete
parent
c3fed359
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Setup/README.md
+29
-5
29 additions, 5 deletions
Setup/README.md
with
29 additions
and
5 deletions
Setup/README.md
+
29
−
5
View file @
509354eb
...
@@ -14,6 +14,12 @@ to distribution. On Archlinux you can run
...
@@ -14,6 +14,12 @@ to distribution. On Archlinux you can run
Check the name of the package for your distribution and the documentation of your
Check the name of the package for your distribution and the documentation of your
package manager to see how to install docker in your case.
package manager to see how to install docker in your case.
Adding yourself to the docker group can by done by running
sudo gpasswd -a <username> docker
where
<username>
is to be replaced by your user name.
On
`systemd`
-based systems the daemon is started by running
On
`systemd`
-based systems the daemon is started by running
sudo systemctl start docker
sudo systemctl start docker
...
@@ -60,10 +66,13 @@ If you have trouble with internet connection inside the container use
...
@@ -60,10 +66,13 @@ If you have trouble with internet connection inside the container use
## Start LDD-TPR container and step into the container
## Start LDD-TPR container and step into the container
From anywhere in the command line you can start the docker container by running
docker start LDD-TPR & docker exec -ti -u fenics LDD-TPR /bin/bash -l
docker start LDD-TPR & docker exec -ti -u fenics LDD-TPR /bin/bash -l
you should see a message like the following
Tip: This command should be stored as a script or alias to not have to remember it.
You should see a welcome message greeting you
```
```
# FEniCS stable version image
# FEniCS stable version image
...
@@ -79,13 +88,28 @@ example:
...
@@ -79,13 +88,28 @@ example:
cd ~/demo/python/documented/poisson
cd ~/demo/python/documented/poisson
python3 demo_poisson.py
python3 demo_poisson.py
```
```
Tip: This command should be stored as a script or alias to not have to remember it.
You should see a welcome message greeting you
It is good practice to update the system in your
`docker image`
so run
It is good practice to update the system in your
`docker image`
so run
sudo apt-get update && sudo apt-get upgrade
sudo apt-get update && sudo apt-get upgrade
## Install missing python3 modules
Once you are in the container navigate into the
`Setup`
of the cloned repository.
This should be achieved by running
cd shared/setup
within the container. Then run
pip3 install -r python_requirements.txt
to install missing python requirements needed to run
`LDDsimulation`
based
code.
Concrats, now you can test the installation by running an example in the
[
Usecases
](
../Usecases
)
folder of the
`LDDsimulation`
repo.
## Usefull docker commands
## Usefull docker commands
List all docker container
List all docker container
...
@@ -132,7 +156,7 @@ check your dns settings.
...
@@ -132,7 +156,7 @@ check your dns settings.
## Nützliche FEniCS Links
## Nützliche FEniCS Links
-
F
orum, viele Fragen wurden evtl. schon gestellt, bzw. können ggf. gestellt werden
:
-
F
enics based forums
:
https://www.allanswered.com/community/s/fenics-project/
https://www.allanswered.com/community/s/fenics-project/
...
...
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