File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
partitioned-heat-conduction/dirichlet-fenics Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -e -u
33
4+ . ../../tools/log.sh
5+ exec > >( tee --append " $LOGFILE " ) 2>&1
6+
47if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
58then
69 python3 -m venv --system-site-packages .venv
710 . .venv/bin/activate
811 pip install -r ../solver-fenics/requirements.txt
912fi
1013
11- . ../../tools/log.sh
12- exec > >( tee --append " $LOGFILE " ) 2>&1
13-
1414if [ $# -eq 0 ]
1515then
1616 echo " Running simulation with default FEniCS implementation"
3030 python3 ../solver-fenics/heatHigherOrder.py Dirichlet
3131 ;;
3232 sdc)
33- # install pySDC + its dependencies only if needed
34- pip install git+https://github.com/Parallel-in-Time/
[email protected] 35- pip install pySDC~=5.5
33+ if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
34+ then
35+ # install pySDC + its dependencies only if needed
36+ pip install git+https://github.com/Parallel-in-Time/
[email protected] 37+ pip install pySDC~=5.5
38+ fi
3639 echo " Running simulation with pySDC+FEniCS implementation"
3740 python3 ../solver-fenics/heat_pySDC.py Dirichlet
3841 ;;
You can’t perform that action at this time.
0 commit comments