Skip to content

Add proper interpolation for 2D and 3D cases and support for MPI #187

Add proper interpolation for 2D and 3D cases and support for MPI

Add proper interpolation for 2D and 3D cases and support for MPI #187

Workflow file for this run

name: Run preCICE Tutorials
on:
push:
branches:
- master
- develop
pull_request:
paths:
- '**'
jobs:
run_ht_simple:
name: Run HT, simple
runs-on: ubuntu-latest
container: precice/precice:nightly
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Install Dependencies & FEniCSx
run: |
apt-get -qq update
apt-get -qq install software-properties-common python3-dev python3-pip python3-venv git apt-utils
add-apt-repository -y ppa:fenics-packages/fenics
apt-get -qq install --no-install-recommends fenicsx
rm -rf /var/lib/apt/lists/*
- name: Check FEniCSx version
run: python3 -c "import dolfinx; print('FEniCS-X version '+dolfinx.__version__)"
- name: Create venv for Dirichlet participants and install adapter
run: |
cd tutorials/partitioned-heat-conduction/dirichlet-fenicsx
python3 -m venv .venv
. .venv/bin/activate
pip3 install ../../..
- name: Create venv for Neumann participants and install adapter
run: |
cd tutorials/partitioned-heat-conduction/neumann-fenicsx
python3 -m venv .venv
. .venv/bin/activate
pip3 install ../../..
- name: Remove fenicsxadapter from requirements to avoid overwriting develop version
run: |
sed -i '/fenicsxprecice/d' tutorials/partitioned-heat-conduction/solver-fenicsx/requirements.txt
# Tutorial is currently hosted under https://github.com/precice/fenicsx-adapter, should be moved to https://github.com/precice/tutorials when working. See https://github.com/precice/tutorials/issues/491
# - name: Get tutorials
# run: git clone -b develop https://github.com/precice/tutorials.git
- name: Run tutorial
run: |
cd tutorials/partitioned-heat-conduction
cd dirichlet-fenicsx && ./run.sh & cd neumann-fenicsx && ./run.sh