Skip to content

Commit bf312a9

Browse files
authored
Update versions and README (#484)
1 parent 340b447 commit bf312a9

File tree

4 files changed

+23
-17
lines changed

4 files changed

+23
-17
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
# preCICE tutorials
22

3+
> [!IMPORTANT]
4+
> This repository is aimed for development purposes and the default branch is `develop`. If you want to use the tutorials, switch to the [`master` branch](https://github.com/precice/tutorials/tree/master) or download the latest [release](https://github.com/precice/tutorials/releases).
5+
36
This repository contains ready-to-run tutorial cases for the coupling library [preCICE](https://precice.org/).
47
The purpose of these cases is not to teach you how to use preCICE from scratch, but to serve as starting points for setting up similar simulation cases, as well as test cases. Read more on our [preCICE tutorials](https://precice.org/tutorials.html) documentation section.
58

69
As a general rule, you can start each participant from inside their `<tutorial>/<participant>-<solver>` using `./run.sh`. Look into these short scripts and copy the parts you need for your new case. Before running again, execute the cleaning scripts you can find at each level, to clean from this point and deeper.
710

811
Contributions to this repository are very welcome. Please refer to the page [Contribute to preCICE](https://precice.org/community-contribute-to-precice.html) for a few guidelines and hints to help you in this direction.
912

10-
## LFS usage
11-
12-
Since we rely on LFS to version systemtest artifacts like reference solutions, we host our own LFS server.
13-
Please note, that during a small phase of initial setup, this server might not be reachable from your machine.
14-
Therefore your git lfs fetch might fail.
13+
Note that we use [Git LFS](https://git-lfs.com/) to version reference results. These will appear as seemingly empty files containing URLs if you don't have Git LFS installed (optional, mainly useful for our system tests).

quickstart/README.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,28 @@ To get a feeling what preCICE does, watch a [short presentation](https://www.you
2121
1. Get and install preCICE. For Ubuntu 22.04 (Jammy Jellyfish), this is pretty easy: [download](https://github.com/precice/precice/releases/latest) and install our binary package by clicking on it or using the following commands:
2222

2323
```bash
24-
wget https://github.com/precice/precice/releases/download/v2.5.0/libprecice2_2.5.0_jammy.deb
25-
sudo apt install ./libprecice2_2.5.0_jammy.deb
24+
wget https://github.com/precice/precice/releases/download/v3.1.1/libprecice3_3.1.1_jammy.deb
25+
sudo apt install ./libprecice3_3.1.1_jammy.deb
2626
```
2727

28-
- Are you using something else? Just pick what suits you best on [this overview page](https://precice.org/installation-overview.html).
28+
| OS | Package |
29+
| --- | --- |
30+
| Ubuntu 20.04 Focal Fossa | [`libprecice3_3.1.1_focal.deb`](https://github.com/precice/precice/releases/download/v3.1.1/libprecice3_3.1.1_focal.deb) |
31+
| Ubuntu 22.04 Jammy Jellyfish | [`libprecice3_3.1.1_jammy.deb`](https://github.com/precice/precice/releases/download/v3.1.1/libprecice3_3.1.1_jammy.deb) |
32+
| Debian 11 "bullseye" | [`libprecice3_3.1.1_bullseye.deb`](https://github.com/precice/precice/releases/download/v3.1.1/libprecice3_3.1.1_bullseye.deb) |
33+
| Debian 12 "bookworm" | [`libprecice3_3.1.1_bookworm.deb`](https://github.com/precice/precice/releases/download/v3.1.1/libprecice3_3.1.1_bookworm.deb) |
34+
| Something else | See an [overview of options](https://precice.org/installation-overview.html) |
35+
2936
- Facing any problems? [Ask for help](https://precice.org/community-channels.html).
3037
2. We will use OpenFOAM here and in many of our tutorial cases, so [install OpenFOAM](https://precice.org/adapter-openfoam-support.html):
3138

3239
```bash
3340
# Add the signing key, add the repository, update (check this):
3441
wget -q -O - https://dl.openfoam.com/add-debian-repo.sh | sudo bash
35-
# Install OpenFOAM v2306:
36-
sudo apt install openfoam2306-dev
42+
# Install OpenFOAM v2312:
43+
sudo apt install openfoam2312-dev
3744
# Enable OpenFOAM by default in your system and apply now:
38-
echo "source /usr/lib/openfoam/openfoam2306/etc/bashrc" >> ~/.bashrc
45+
echo "source /usr/lib/openfoam/openfoam2312/etc/bashrc" >> ~/.bashrc
3946
source ~/.bashrc
4047
```
4148

tools/tests/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ gh workflow run run_testsuite_manual.yml -f suites=fenics_test --ref=develop
6161
Another example, to use the latest releases and enable debug information of the tests:
6262

6363
```shell
64-
gh workflow run run_testsuite_manual.yml -f suites=fenics_test -f build_args="PRECICE_REF:v2.5.0,OPENFOAM_ADAPTER_REF:v1.2.3,PYTHON_BINDINGS_REF:v2.5.0.4,FENICS_ADAPTER_REF:v1.4.0" -f loglevel=DEBUG --ref=develop
64+
gh workflow run run_testsuite_manual.yml -f suites=fenics_test -f build_args="PRECICE_REF:v3.1.1,OPENFOAM_ADAPTER_REF:v1.3.0,PYTHON_BINDINGS_REF:v3.1.0,FENICS_ADAPTER_REF:v2.1.0" -f loglevel=DEBUG --ref=develop
6565
```
6666

6767
where the `*_REF` should be a specific [commit-ish](https://git-scm.com/docs/gitglossary#Documentation/gitglossary.txt-aiddefcommit-ishacommit-ishalsocommittish).
@@ -71,7 +71,7 @@ Example output:
7171
```text
7272
Run cd tools/tests
7373
cd tools/tests
74-
python systemtests.py --build_args=PRECICE_REF:v2.5.0,OPENFOAM_ADAPTER_REF:v1.2.3,PYTHON_BINDINGS_REF:v2.5.0.4,FENICS_ADAPTER_REF:v1.4.0 --suites=fenics_test --log-level=DEBUG
74+
python systemtests.py --build_args=PRECICE_REF:v3.1.1,OPENFOAM_ADAPTER_REF:v1.3.0,PYTHON_BINDINGS_REF:v3.1.0,FENICS_ADAPTER_REF:v2.1.0 --suites=fenics_test --log-level=DEBUG
7575
cd ../../
7676
shell: /usr/bin/bash -e {0}
7777
INFO: About to run the following systemtest in the directory /home/precice/runners_root/actions-runner-tutorial/_work/tutorials/tutorials/runs:
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
PRECICE_REF: "v3.0.0"
2-
OPENFOAM_EXECUTABLE: "openfoam2306"
1+
PRECICE_REF: "v3.1.1"
2+
OPENFOAM_EXECUTABLE: "openfoam2312"
33
OPENFOAM_ADAPTER_REF: "v1.3.0"
4-
PYTHON_BINDINGS_REF: "v3.0.0.0"
4+
PYTHON_BINDINGS_REF: "v3.1.0"
55
FENICS_ADAPTER_REF: "v2.1.0"
6-
TUTORIALS_REF: "3f139d36f1708fb3ebfde2c48f14b1df94c9d70a"
6+
TUTORIALS_REF: "340b447" # April 12, 2024, just before v202404.0
77
PLATFORM: "ubuntu_2204"
88
CALULIX_VERSION: "2.20"
99
CALULIX_ADAPTER_REF: "v2.20.1"

0 commit comments

Comments
 (0)