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
b893b663
Commit
b893b663
authored
2 years ago
by
Mathis Kelm
Browse files
Options
Downloads
Patches
Plain Diff
[python] Simplify README instructions
parent
8762aad7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!3425
Cleanup python setup for dune 2.9 and newer
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
python/README.md
+0
-42
0 additions, 42 deletions
python/README.md
with
0 additions
and
42 deletions
python/README.md
+
0
−
42
View file @
b893b663
...
...
@@ -51,48 +51,6 @@ Run dunecontrol which will setup both C++ and Python bindings and modules.
./dune-common/bin/dunecontrol --opts=cmake.opts all
```
### Example development setup (Dune 2.8)
This section is rather new and experimental. Please help improving
this documentation in the future.
Checkout the
`releases/2.8`
branch of the Dune core modules and DuMu
<sup>
x
</sup>
3.5
```
git clone -b releases/2.8 https://gitlab.dune-project.org/core/dune-common.git
git clone -b releases/2.8 https://gitlab.dune-project.org/core/dune-geometry.git
git clone -b releases/2.8 https://gitlab.dune-project.org/core/dune-grid.git
git clone -b releases/2.8 https://gitlab.dune-project.org/core/dune-localfunctions.git
git clone -b releases/2.8 https://gitlab.dune-project.org/core/dune-istl.git
git clone -b releases/3.5 https://git.iws.uni-stuttgart.de/dumux-repositories/dumux.git
cp dumux/cmake.opts .
```
Enable the Python bindings by adding the flag in
`cmake.opts`
(see comments inside the
`.opts`
file).
Then run dunecontrol which also builds the Dune Python bindings.
```
./dune-common/bin/dunecontrol --opts=cmake.opts all
```
Add the Python binding modules to your Python path like this and install them with
the setup environment setup script
```
source dumux/python/setup-python-env.sh
```
If you are getting error with loading MPI in Python you might need to preload the MPI library
```
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so
```
Replace the path with the path to the MPI library on your system.
### Running a test
Run your first DuMu
<sup>
x
</sup>
Python test
...
...
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