Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix assertion in nutils-of #259

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
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
143 changes: 2 additions & 141 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,42 +58,7 @@ jobs:


- stage: Building adapters
name: "[18.04] SU2 adapter"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.su2-adapter --operating-system ubuntu1804 --precice-installation package --docker-username $DOCKER_USERNAME
- python push_adapter.py --dockerfile adapters/Dockerfile.su2-adapter --operating-system ubuntu1804 --precice-installation package --docker-username $DOCKER_USERNAME
- python push.py

- name: "[20.04] SU2 adapter [PETSc]"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.su2-adapter --operating-system ubuntu2004 --precice-installation package --petsc yes --docker-username $DOCKER_USERNAME
- python push_adapter.py --dockerfile adapters/Dockerfile.su2-adapter --operating-system ubuntu2004 --precice-installation package --petsc yes --docker-username $DOCKER_USERNAME
- python push.py

- name: "[18.04] deal.ii adapter [3D]"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.dealii-adapter_3D --operating-system ubuntu1804 --precice-installation package --docker-username $DOCKER_USERNAME
- python push_adapter.py --dockerfile adapters/Dockerfile.dealii-adapter_3D --operating-system ubuntu1804 --precice-installation package --docker-username $DOCKER_USERNAME
- python push.py

- name: "[18.04] deal.ii adapter [2D]"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.dealii-adapter --operating-system ubuntu1804 --precice-installation package --docker-username $DOCKER_USERNAME
- python push_adapter.py --dockerfile adapters/Dockerfile.dealii-adapter --operating-system ubuntu1804 --precice-installation package --docker-username $DOCKER_USERNAME
- python push.py

- name: "[20.04] deal.ii adapter [2D][PETSc]"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.dealii-adapter --operating-system ubuntu2004 --precice-installation package --petsc yes --docker-username $DOCKER_USERNAME --base-solver precice/deal.ii-ubuntu2004
- python push_adapter.py --dockerfile adapters/Dockerfile.dealii-adapter --operating-system ubuntu2004 --precice-installation package --petsc yes --docker-username $DOCKER_USERNAME
- python push.py

- name: "[18.04] OpenFOAM adapter"
name: "[18.04] OpenFOAM adapter"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.openfoam-adapter --operating-system ubuntu1804 --precice-installation package --docker-username $DOCKER_USERNAME
Expand All @@ -114,119 +79,15 @@ jobs:
- python push_adapter.py --dockerfile adapters/Dockerfile.openfoam-adapter --operating-system ubuntu2004 --precice-installation package --petsc yes --docker-username $DOCKER_USERNAME
- python push.py

- name: "[18.04] FEniCS adapter"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.fenics-adapter --operating-system ubuntu1804 --precice-installation package --docker-username $DOCKER_USERNAME
- python push_adapter.py --dockerfile adapters/Dockerfile.fenics-adapter --operating-system ubuntu1804 --precice-installation package --docker-username $DOCKER_USERNAME
- python push.py

- name: "[18.04] Code_Aster adapter"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.codeaster-adapter --operating-system ubuntu1804 --precice-installation package --docker-username $DOCKER_USERNAME
- python push_adapter.py --dockerfile adapters/Dockerfile.codeaster-adapter --operating-system ubuntu1804 --precice-installation package --docker-username $DOCKER_USERNAME
- python push.py

- name: "[18.04] CalculiX adapter"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.calculix-adapter --operating-system ubuntu1804 --precice-installation package --docker-username $DOCKER_USERNAME
- python push_adapter.py --dockerfile adapters/Dockerfile.calculix-adapter --operating-system ubuntu1804 --precice-installation package --docker-username $DOCKER_USERNAME
- python push.py

- name: "[18.04] CalculiX adapter [PETSc]"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.calculix-adapter --operating-system ubuntu1804 --precice-installation home --petsc yes --docker-username $DOCKER_USERNAME
- python push_adapter.py --dockerfile adapters/Dockerfile.calculix-adapter --operating-system ubuntu1804 --precice-installation home --petsc yes --docker-username $DOCKER_USERNAME
- python push.py

- name: "[20.04] CalculiX adapter [PETSc]"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.calculix-adapter --operating-system ubuntu2004 --precice-installation package --petsc yes --docker-username $DOCKER_USERNAME
- python push_adapter.py --dockerfile adapters/Dockerfile.calculix-adapter --operating-system ubuntu2004 --precice-installation package --petsc yes --docker-username $DOCKER_USERNAME
- python push.py

- name: "[Build adapters on fork] Using cached version"
if: fork = true
script: true



- stage: Tests
name: "[18.04] SU2 <-> Calculix [unstable][failure allowed]"
script:
- python system_testing.py -s su2-ccx -v
- python push.py

- name: "[20.04 PETSc] SU2 <-> Calculix [unstable][failure allowed]"
script:
- python system_testing.py -s su2-ccx --base Ubuntu2004.package.PETSc -v
- python push.py

- name: "[18.04] OpenFOAM <-> OpenFOAM"
script:
- python system_testing.py -s of-of -v
- python push.py

- name: "[18.04] Calculix <-> OpenFOAM"
script:
- python system_testing.py -s of-ccx -v
- python push.py

- name: "[18.04] FEniCS <-> FEniCS"
script:
- python system_testing.py -s fe-fe --base Ubuntu1804.package -v
- python push.py

- name: "[18.04] Bindings/Solverdummies"
script:
- python system_testing.py -s bindings -v
- python push.py

- name: "[18.04] deal.ii <-> OpenFOAM [FSI][3D]"
script:
- python system_testing.py -s dealii-of_3D -v
- python push.py

- name: "[18.04] deal.ii <-> OpenFOAM [FSI][2D]"
script:
- python system_testing.py -s dealii-of -v
- python push.py

- name: "[20.04 PETSc] deal.ii <-> OpenFOAM [FSI][2D]"
script:
- python system_testing.py -s dealii-of --base Ubuntu2004.package.PETSc -v
- python push.py

- name: "[18.04] nutils <-> OpenFOAM [failure allowed]"
name: "[18.04] nutils <-> OpenFOAM [failure allowed]"
script:
- python system_testing.py -s nutils-of -v
- python push.py

- name: "[18.04] OpenFOAM <-> OpenFOAM [nearest projection]"
script:
- python system_testing.py -s of-of_np -v
- python push.py

- name: "[18.04] OpenFOAM <-> Code_Aster"
script:
- python system_testing.py -s of-ca -v
- python push.py

- name: "[18.04] Elastictube1D - Python"
script:
- python system_testing.py -s 1dtube_py -v
- python push.py

- name: "[18.04] Elastictube1D - C++"
script:
- python system_testing.py -s 1dtube_cxx -v
- python push.py

- name: "[18.04 PETSc] OpenFOAM <-> CalculiX [FSI][failure allowed]"
script:
- python system_testing.py -s of-ccx_fsi --base Ubuntu1804.home.PETSc -v
- python push.py
5 changes: 3 additions & 2 deletions tests/TestCompose_nutils-of/Dockerfile.tutorial_data
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ WORKDIR /
# adjust configuration and paths
RUN mkdir configs && cp $tutorial_path/precice-config.xml configs/precice-config.xml && \
sed -i 's|exchange-directory="\.\."|exchange-directory="/home/precice/Data/Exchange/" network="eth0"|g; \
s|\(\s\+\)\(</participant>\)|\1 <export:vtk directory="precice-output" />\n\1\2|g' \
s|\(\s\+\)\(</participant>\)|\1 <export:vtk directory="precice-output" />\n\1\2|g' \
configs/precice-config.xml && \
sed -i 's|\.\./precice-config\.xml|configs/precice-config.xml|g' $tutorial_path/Nutils/cht.py && \
sed -i 's|\.\./precice-config\.xml|configs/precice-config.xml|g' $tutorial_path/OpenFOAM/system/preciceDict
sed -i 's|\.\./precice-config\.xml|configs/precice-config.xml|g' $tutorial_path/OpenFOAM/system/preciceDict && \
cat configs/precice-config.xml
RUN addgroup -g 1000 precice && adduser -u 1000 -G precice -D precice && chown -R precice:precice tutorials configs
USER precice