Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion channel-transport-particles/fluid-nutils/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ exec > >(tee --append "$LOGFILE") 2>&1

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv .venv
if [ ! -d .venv ]; then
python3 -m venv .venv
fi
. .venv/bin/activate
pip install -r requirements.txt && pip freeze > pip-installed-packages.log
fi
Expand Down
4 changes: 3 additions & 1 deletion channel-transport-reaction/chemical-fenics/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ exec > >(tee --append "$LOGFILE") 2>&1

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv --system-site-package .venv
if [ ! -d .venv ]; then
python3 -m venv --system-site-packages .venv
fi
. .venv/bin/activate
pip install -r requirements.txt && pip freeze > pip-installed-packages.log
fi
Expand Down
4 changes: 3 additions & 1 deletion channel-transport-reaction/fluid-fenics/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ exec > >(tee --append "$LOGFILE") 2>&1

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv --system-site-package .venv
if [ ! -d .venv ]; then
python3 -m venv --system-site-packages .venv
fi
. .venv/bin/activate
pip install -r requirements.txt && pip freeze > pip-installed-packages.log
fi
Expand Down
4 changes: 3 additions & 1 deletion channel-transport/fluid-nutils/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ exec > >(tee --append "$LOGFILE") 2>&1

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv .venv
if [ ! -d .venv ]; then
python3 -m venv .venv
fi
. .venv/bin/activate
pip install -r requirements.txt && pip freeze > pip-installed-packages.log
fi
Expand Down
4 changes: 3 additions & 1 deletion channel-transport/transport-nutils/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ exec > >(tee --append "$LOGFILE") 2>&1

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv .venv
if [ ! -d .venv ]; then
python3 -m venv .venv
fi
. .venv/bin/activate
pip install -r requirements.txt && pip freeze > pip-installed-packages.log
fi
Expand Down
4 changes: 3 additions & 1 deletion elastic-tube-1d/fluid-python/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ exec > >(tee --append "$LOGFILE") 2>&1

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv .venv
if [ ! -d .venv ]; then
python3 -m venv .venv
fi
. .venv/bin/activate
pip install -r requirements.txt && pip freeze > pip-installed-packages.log
fi
Expand Down
4 changes: 3 additions & 1 deletion elastic-tube-1d/solid-python/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ exec > >(tee --append "$LOGFILE") 2>&1

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv .venv
if [ ! -d .venv ]; then
python3 -m venv .venv
fi
. .venv/bin/activate
pip install -r requirements.txt && pip freeze > pip-installed-packages.log
fi
Expand Down
4 changes: 3 additions & 1 deletion elastic-tube-3d/solid-fenics/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ exec > >(tee --append "$LOGFILE") 2>&1

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv --system-site-package .venv
if [ ! -d .venv ]; then
python3 -m venv --system-site-packages .venv
fi
. .venv/bin/activate
pip install -r requirements.txt && pip freeze > pip-installed-packages.log
fi
Expand Down
4 changes: 3 additions & 1 deletion flow-around-controlled-moving-cylinder/controller-fmi/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ fi

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv .venv
if [ ! -d .venv ]; then
python3 -m venv .venv
fi
. .venv/bin/activate
pip install -r requirements.txt && pip freeze > pip-installed-packages.log
fi
Expand Down
4 changes: 3 additions & 1 deletion flow-around-controlled-moving-cylinder/solid-python/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ exec > >(tee --append "$LOGFILE") 2>&1

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv .venv
if [ ! -d .venv ]; then
python3 -m venv .venv
fi
. .venv/bin/activate
pip install -r requirements.txt && pip freeze > pip-installed-packages.log
fi
Expand Down
4 changes: 3 additions & 1 deletion flow-over-heated-plate/fluid-su2/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ exec > >(tee --append "$LOGFILE") 2>&1

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv --system-site-package .venv
if [ ! -d .venv ]; then
python3 -m venv --system-site-packages .venv
fi
. .venv/bin/activate
pip install -r requirements.txt && pip freeze > pip-installed-packages.log
fi
Expand Down
4 changes: 3 additions & 1 deletion flow-over-heated-plate/solid-dunefem/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ exec > >(tee --append "$LOGFILE") 2>&1

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv .venv
if [ ! -d .venv ]; then
python3 -m venv .venv
fi
. .venv/bin/activate
pip install -r requirements.txt && pip freeze > pip-installed-packages.log
fi
Expand Down
4 changes: 3 additions & 1 deletion flow-over-heated-plate/solid-fenics/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ exec > >(tee --append "$LOGFILE") 2>&1

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv --system-site-package .venv
if [ ! -d .venv ]; then
python3 -m venv --system-site-packages .venv
fi
. .venv/bin/activate
pip install -r requirements.txt && pip freeze > pip-installed-packages.log
fi
Expand Down
4 changes: 3 additions & 1 deletion flow-over-heated-plate/solid-fenicsx/run.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/bin/sh
set -e -u

python3 -m venv --system-site-packages .venv
if [ ! -d .venv ]; then
python3 -m venv --system-site-packages .venv
fi
. .venv/bin/activate
pip install -r requirements.txt

Expand Down
4 changes: 3 additions & 1 deletion flow-over-heated-plate/solid-nutils/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ exec > >(tee --append "$LOGFILE") 2>&1

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv .venv
if [ ! -d .venv ]; then
python3 -m venv .venv
fi
. .venv/bin/activate
pip install -r requirements.txt && pip freeze > pip-installed-packages.log
fi
Expand Down
4 changes: 3 additions & 1 deletion oscillator-overlap/mass-left-python/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ exec > >(tee --append "$LOGFILE") 2>&1

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv .venv
if [ ! -d .venv ]; then
python3 -m venv .venv
fi
. .venv/bin/activate
pip install -r ../solver-python/requirements.txt && pip freeze > pip-installed-packages.log
fi
Expand Down
4 changes: 3 additions & 1 deletion oscillator-overlap/mass-right-python/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ exec > >(tee --append "$LOGFILE") 2>&1

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv .venv
if [ ! -d .venv ]; then
python3 -m venv .venv
fi
. .venv/bin/activate
pip install -r ../solver-python/requirements.txt && pip freeze > pip-installed-packages.log
fi
Expand Down
4 changes: 3 additions & 1 deletion oscillator/mass-left-fmi/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ fi

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv .venv
if [ ! -d .venv ]; then
python3 -m venv .venv
fi
. .venv/bin/activate
pip install -r requirements.txt && pip freeze > pip-installed-packages.log
fi
Expand Down
4 changes: 3 additions & 1 deletion oscillator/mass-left-python/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ exec > >(tee --append "$LOGFILE") 2>&1

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv .venv
if [ ! -d .venv ]; then
python3 -m venv .venv
fi
. .venv/bin/activate
pip install -r ../solver-python/requirements.txt && pip freeze > pip-installed-packages.log
fi
Expand Down
4 changes: 3 additions & 1 deletion oscillator/mass-right-fmi/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ fi

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv .venv
if [ ! -d .venv ]; then
python3 -m venv .venv
fi
. .venv/bin/activate
pip install -r requirements.txt && pip freeze > pip-installed-packages.log
fi
Expand Down
4 changes: 3 additions & 1 deletion oscillator/mass-right-python/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ exec > >(tee --append "$LOGFILE") 2>&1

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv .venv
if [ ! -d .venv ]; then
python3 -m venv .venv
fi
. .venv/bin/activate
pip install -r ../solver-python/requirements.txt && pip freeze > pip-installed-packages.log
fi
Expand Down
4 changes: 3 additions & 1 deletion partitioned-heat-conduction-complex/dirichlet-fenics/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ exec > >(tee --append "$LOGFILE") 2>&1

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv --system-site-packages .venv
if [ ! -d .venv ]; then
python3 -m venv --system-site-packages .venv
fi
. .venv/bin/activate
pip install -r ../solver-fenics/requirements.txt
fi
Expand Down
4 changes: 3 additions & 1 deletion partitioned-heat-conduction-complex/neumann-fenics/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ exec > >(tee --append "$LOGFILE") 2>&1

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv --system-site-packages .venv
if [ ! -d .venv ]; then
python3 -m venv --system-site-packages .venv
fi
. .venv/bin/activate
pip install -r ../solver-fenics/requirements.txt
fi
Expand Down
4 changes: 3 additions & 1 deletion partitioned-heat-conduction-direct/dirichlet-nutils/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ exec > >(tee --append "$LOGFILE") 2>&1

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv .venv
if [ ! -d .venv ]; then
python3 -m venv .venv
fi
. .venv/bin/activate
pip install -r requirements.txt && pip freeze > pip-installed-packages.log
fi
Expand Down
4 changes: 3 additions & 1 deletion partitioned-heat-conduction-direct/neumann-nutils/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ exec > >(tee --append "$LOGFILE") 2>&1

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv .venv
if [ ! -d .venv ]; then
python3 -m venv .venv
fi
. .venv/bin/activate
pip install -r requirements.txt && pip freeze > pip-installed-packages.log
fi
Expand Down
4 changes: 3 additions & 1 deletion partitioned-heat-conduction-overlap/left-fenics/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ exec > >(tee --append "$LOGFILE") 2>&1

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv --system-site-packages .venv
if [ ! -d .venv ]; then
python3 -m venv --system-site-packages .venv
fi
. .venv/bin/activate
pip install -r ../solver-fenics/requirements.txt
fi
Expand Down
4 changes: 3 additions & 1 deletion partitioned-heat-conduction-overlap/right-fenics/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ exec > >(tee --append "$LOGFILE") 2>&1

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv --system-site-packages .venv
if [ ! -d .venv ]; then
python3 -m venv --system-site-packages .venv
fi
. .venv/bin/activate
pip install -r ../solver-fenics/requirements.txt
fi
Expand Down
4 changes: 3 additions & 1 deletion partitioned-heat-conduction/dirichlet-fenics/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ exec > >(tee --append "$LOGFILE") 2>&1

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv --system-site-packages .venv
if [ ! -d .venv ]; then
python3 -m venv --system-site-packages .venv
fi
. .venv/bin/activate
pip install -r ../solver-fenics/requirements.txt
fi
Expand Down
4 changes: 3 additions & 1 deletion partitioned-heat-conduction/dirichlet-fenicsx/run.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/bin/sh
set -e -u

python3 -m venv --system-site-packages .venv
if [ ! -d .venv ]; then
python3 -m venv --system-site-packages .venv
fi
. .venv/bin/activate
pip install -r ../solver-fenicsx/requirements.txt

Expand Down
4 changes: 3 additions & 1 deletion partitioned-heat-conduction/dirichlet-nutils/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ exec > >(tee --append "$LOGFILE") 2>&1

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv .venv
if [ ! -d .venv ]; then
python3 -m venv .venv
fi
. .venv/bin/activate
pip install -r requirements.txt && pip freeze > pip-installed-packages.log
fi
Expand Down
4 changes: 3 additions & 1 deletion partitioned-heat-conduction/neumann-fenics/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ exec > >(tee --append "$LOGFILE") 2>&1

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv --system-site-packages .venv
if [ ! -d .venv ]; then
python3 -m venv --system-site-packages .venv
fi
. .venv/bin/activate
pip install -r ../solver-fenics/requirements.txt
fi
Expand Down
4 changes: 3 additions & 1 deletion partitioned-heat-conduction/neumann-fenicsx/run.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/bin/sh
set -e -u

python3 -m venv --system-site-packages .venv
if [ ! -d .venv ]; then
python3 -m venv --system-site-packages .venv
fi
. .venv/bin/activate
pip install -r ../solver-fenicsx/requirements.txt
python3 ../solver-fenicsx/heat.py Neumann
4 changes: 3 additions & 1 deletion partitioned-heat-conduction/neumann-nutils/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ exec > >(tee --append "$LOGFILE") 2>&1

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv .venv
if [ ! -d .venv ]; then
python3 -m venv .venv
fi
. .venv/bin/activate
pip install -r requirements.txt && pip freeze > pip-installed-packages.log
fi
Expand Down
4 changes: 3 additions & 1 deletion partitioned-pipe-multiscale/fluid1d-left-nutils/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ exec > >(tee --append "$LOGFILE") 2>&1

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv .venv
if [ ! -d .venv ]; then
python3 -m venv .venv
fi
. .venv/bin/activate
pip install -r requirements.txt && pip freeze > pip-installed-packages.log
fi
Expand Down
4 changes: 3 additions & 1 deletion partitioned-pipe-multiscale/fluid1d-right-nutils/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ exec > >(tee --append "$LOGFILE") 2>&1

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv .venv
if [ ! -d .venv ]; then
python3 -m venv .venv
fi
. .venv/bin/activate
pip install -r requirements.txt && pip freeze > pip-installed-packages.log
fi
Expand Down
4 changes: 3 additions & 1 deletion perpendicular-flap/fluid-fake/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ exec > >(tee --append "$LOGFILE") 2>&1

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
python3 -m venv .venv
if [ ! -d .venv ]; then
python3 -m venv .venv
fi
. .venv/bin/activate
pip install -r requirements.txt && pip freeze > pip-installed-packages.log
fi
Expand Down
Loading