@@ -5,10 +5,10 @@ set -ex
55sudo apt-get install -y cmake libeigen3-dev libxml2-dev libboost-all-dev petsc-dev python3-dev python3-numpy
66
77# Get preCICE from GitHub:
8- # - Always get the latest master , no need for versioning
8+ # - Always get the latest main branch , no need for versioning
99# - Build in Debug mode, so that users can report bugs
1010if [ ! -d " precice/" ]; then
11- git clone --depth=1 --branch master https://github.com/precice/precice.git
11+ git clone --depth=1 --branch main https://github.com/precice/precice.git
1212fi
1313(
1414 cd precice
@@ -40,6 +40,10 @@ if [ ! -d "tutorials/" ]; then
4040 git clone --depth=1 --branch master https://github.com/precice/tutorials.git
4141 ln -sf ~ /tutorials ~ /Desktop/
4242fi
43+ (
44+ cd tutorials/elastic-tube-1d/fluid-cpp/ && mkdir build && cd build && cmake .. && make && cd ../..
45+ cd solid-cpp/ && mkdir build && cd build && cmake .. && make
46+ )
4347(
4448 cd tutorials/quickstart/solid-cpp/ && cmake . && make
4549)
@@ -55,6 +59,22 @@ sudo apt-get install -y python3-pip
5559pip3 install --upgrade pip
5660pip3 install --user pyprecice
5761
62+ # Additional python packages
63+ pip3 install --user pandas # Needed for the post-processing script of the oscillator tutorial
64+
65+ # Temporary workaround for https://github.com/precice/vm/issues/61
66+ # Remove as soon as https://github.com/precice/tutorials/issues/217 gets resolved
67+ sudo apt-get install -y python3.8-venv
68+ (
69+ cd tutorials/perpendicular-flap/fluid-nutils/
70+ python3 -m venv nutils6-env
71+ # shellcheck source=/dev/null
72+ source nutils6-env/bin/activate
73+ pip3 install nutils==6.3 pyprecice
74+ sed -i " s/python3/nutils6-env\/bin\/python3/g" ./run.sh
75+ deactivate
76+ )
77+
5878# Get the Python solverdummy into the examples
5979if [ ! -d " python-bindings/" ]; then
6080 git clone --depth=1 --branch master https://github.com/precice/python-bindings.git
0 commit comments