Skip to content
This repository was archived by the owner on Aug 14, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
120 commits
Select commit Hold shift + click to select a range
6a636c0
use branch develop as default for all tests
BenjaminRodenberg Nov 27, 2019
3ccbbb9
remove old python bindings. Update tests to only use new bindings
BenjaminRodenberg Nov 26, 2019
96bc064
Remove python_future
BenjaminRodenberg Nov 29, 2019
f9c5ac9
Fix user for binding tests (#96)
BenjaminRodenberg Dec 3, 2019
10d4079
Apply tests to python bindings in precice/python-bindings (#133)
BenjaminRodenberg Dec 6, 2019
4f15349
Allow failure for PETSc
BenjaminRodenberg Dec 16, 2019
ff457be
Allow failure for nutils <-> OpenFOAM. #132
BenjaminRodenberg Dec 16, 2019
968fe69
use DOCKER_USERNAME, where it is appropriate
BenjaminRodenberg Dec 23, 2019
4c749ac
Use Ubuntu18.04 for Nutils-OF test (#132)
BenjaminRodenberg Dec 30, 2019
e37a006
Fix tests failing due to no output (#148)
Eder-K Jan 23, 2020
69523cc
Fix nutils-of (#157)
Eder-K Jan 24, 2020
41581e8
Add tests for bindings on Ubuntu 18.04 (#129)
BenjaminRodenberg Jan 25, 2020
feb7379
Revert "Add tests for bindings on Ubuntu 18.04 (#129)" (#159)
Eder-K Jan 25, 2020
fde23dc
Update solverdummy location (#162)
BenjaminRodenberg Jan 27, 2020
72a0bd7
Install Eigen from source for Ubuntu 16.04 (#163)
BenjaminRodenberg Jan 29, 2020
b227b2e
Identify requests from TravisCI website (#165)
Eder-K Jan 29, 2020
5a81519
Remove test for preCICE package Ubuntu 16.04
BenjaminRodenberg Jan 31, 2020
3212ac1
Add installation of pkg-config (#166)
BenjaminRodenberg Jan 31, 2020
7f3d57f
Restructure tools and bindings (#164)
BenjaminRodenberg Jan 31, 2020
d330222
Allow failure for adapters depending on PETSc
BenjaminRodenberg Jan 31, 2020
4999f33
Fix typo
BenjaminRodenberg Jan 31, 2020
b42adf2
Fix Test_bindings
BenjaminRodenberg Jan 31, 2020
0b61ba3
Change timestep-length to time-window-size
BenjaminRodenberg Feb 2, 2020
18dbf9f
Adapt CMake variables for preCICE v2 (#167)
MakisH Feb 3, 2020
07c4874
Add system_testing.py example
Eder-K Feb 3, 2020
6213c52
Update reference results for su2-ccx test case (#172)
BenjaminRodenberg Feb 3, 2020
000ab5a
Update column names of reference files (#168)
BenjaminRodenberg Feb 4, 2020
3b928ee
Update openfoam-adapter in accordance with config changes (#174)
Eder-K Feb 12, 2020
8dc495e
Readd preCICE building
Eder-K Feb 12, 2020
32dfdbe
Add python script for building images and pushing them (#131)
BenjaminRodenberg Feb 15, 2020
a0f2fec
Overhaul pushing to precice_st_output (#147)
Eder-K Feb 15, 2020
6528c4a
Move job name into commit msg
Eder-K Feb 15, 2020
d329e05
Update reference data for of-ccx_fsi PETSc (#177)
Eder-K Feb 17, 2020
85b5178
Build preCICE with Debug (#175)
Eder-K Feb 17, 2020
dfca1db
Only install minimal python depdendencies manually
BenjaminRodenberg Feb 22, 2020
160fdc9
Download boost from sourceforge (#196)
BenjaminRodenberg Mar 3, 2020
cb4f4ec
Add verbose to local_test (#191)
Eder-K Mar 5, 2020
326add4
Add bindings test for Ubuntu 18.04 (#160)
Eder-K Mar 8, 2020
b933511
Update deploy section in bindings 1804
Eder-K Mar 9, 2020
6f661f8
Explicitly list variables when rendering jinja template (#199)
Eder-K Mar 9, 2020
a86505b
Check column names in compare_results.sh (#173)
Eder-K Mar 10, 2020
8ae90b4
Fix nutils-of test (#178)
Eder-K Mar 10, 2020
8b303ef
Use TRAVIS_BRANCH to select branch of toolchain being tested (#136)
BenjaminRodenberg Mar 11, 2020
f71471a
Fix OF-OF nearest projection (#203)
Eder-K Mar 31, 2020
43c050d
Apply #206 to develop (#208)
Eder-K Apr 3, 2020
f38d7a0
Add documentation entry for renewing token (#210)
Eder-K Apr 7, 2020
cd9c984
Disable currently failing tests
Eder-K Apr 19, 2020
d70b6a9
Disable dealii-of
Eder-K Apr 21, 2020
86ee906
Extend log pushing to precice_st_output (#201)
Eder-K Apr 21, 2020
ebdef55
Improve clarity when triggering systemtest (#213)
Eder-K Apr 22, 2020
e220505
Remove experimental trigger test
Eder-K Apr 22, 2020
845cf6b
Add correct tags
Eder-K Apr 24, 2020
4daa81e
Fix test timeouts (#216)
Eder-K Apr 28, 2020
dca4e97
Fix log copy
Eder-K Apr 28, 2020
59a8314
Patch SU2-CCX test output (#217)
Eder-K Apr 29, 2020
b18e58a
Deactivate nutils-of test
Eder-K May 2, 2020
7fcd6f0
Mark su2-ccx test as unstable
Eder-K May 2, 2020
d021e4d
Merge branch 'master' into develop
Eder-K May 4, 2020
3345dbe
Update trigger script in accordance with #147
Eder-K May 5, 2020
1a2c7f9
Add correct tagging for systest triggers
Eder-K May 5, 2020
10abda4
Use manual tag for docker image
Eder-K May 5, 2020
772ff7c
Merge branch 'master' into develop
Eder-K May 5, 2020
0edde95
Fix nutils-of test (#218)
Eder-K May 15, 2020
f84b2be
Add elastictube1d test (#128)
Eder-K May 15, 2020
9df8a83
Fix inconsistent output in 1dtube test (#224)
Eder-K May 19, 2020
5dc2c45
Code_Aster-adapter system test (#205)
micheltakken May 22, 2020
4a21345
Fix indent in codeaster adapter job
Eder-K May 24, 2020
43639a0
Add date to text filter
Eder-K May 24, 2020
c5a7ce2
Update reference files for 1dtube tests (#225)
Eder-K May 25, 2020
dc9755f
Remove sys.exit (#190)
fsimonis May 25, 2020
50f4c17
Add optional st_branch argument for debugging
Eder-K May 27, 2020
cfd4aaf
Add optional output in trigger_systemtest (#226)
Eder-K May 28, 2020
137b9bf
Add shortened output argument
Eder-K May 28, 2020
9262d5d
Change namings to new dealii solver namings
davidscn Jun 5, 2020
e03f675
Allow deal.ii adapter failure until tutorials#79
Eder-K Jun 7, 2020
e8e3184
Adjust dockerfile search
Eder-K Jun 10, 2020
cfeb0bd
Add base argument to push script
Eder-K Jun 10, 2020
fe8cc90
Merge branch 'master' into develop
Eder-K Jun 11, 2020
e802f2f
Fix cloning command in preprocessing step
Eder-K Jun 11, 2020
c455e53
Merge branch 'develop' of github.com:precice/systemtests into develop
Eder-K Jun 11, 2020
6f280fd
Change parameter file naming
davidscn Jun 12, 2020
f67675b
Add variable for install folder name
Eder-K Jun 13, 2020
3d1e694
Replace folder info with install_mode
Eder-K Jun 13, 2020
6f2178e
Differentiate bindings and fenicsadapter branches
Eder-K Jun 13, 2020
9ef18e8
Add special preproc command for pip installs
Eder-K Jun 13, 2020
b9b3618
Merge branch 'develop' into update_dealii
Eder-K Jun 18, 2020
9905bfe
Remove deal.ii adapter from allowed failures
Eder-K Jun 18, 2020
65f9736
Update to deal.ii v9.2 solver (#234)
Eder-K Jun 18, 2020
20931b5
Add internal exceptions (#233)
Eder-K Jun 19, 2020
4f6c719
Merge pull request #228 from precice/update_dealii
davidscn Jun 19, 2020
a516a0c
Update CalculiX-related tests to use v2.16 (#231)
Eder-K Jun 19, 2020
926ef49
Allow deal.ii test to fail until PR merge
Eder-K Jun 21, 2020
1cb2567
Enable output for ccx related tests
Eder-K Jun 21, 2020
8c478c4
Update reference data for ccx tests
Eder-K Jun 21, 2020
8cd0ce2
Update reference data for nutils-of (#237)
Eder-K Jun 23, 2020
dad3744
Update reference files for of-of and of-of_np (#238)
Eder-K Jun 25, 2020
8abdd11
Update numpy/scipy versions in fe-fe test (#241)
Eder-K Jun 27, 2020
eb8ca76
Overhaul comparison script core (#176)
Eder-K Jun 27, 2020
c0b6ae2
Fix comparison failure in Su2-CalculiX (#244)
Eder-K Jul 4, 2020
f6c8d47
Add .docker_tag
Eder-K Jul 6, 2020
41cdfe9
Remove PETSc jobs from allowed failure list
Eder-K Jul 6, 2020
d57ff9a
Merge branch 'develop' of github.com:precice/systemtests into develop
Eder-K Jul 6, 2020
9bfd312
Add branch argument in correct position
Eder-K Jul 9, 2020
256cbe3
Remove branch arg
Eder-K Jul 9, 2020
44246fc
Attempt to save logs even if test fails
Eder-K Jul 9, 2020
3cb784f
Allow precice-ubuntu1604 w/ PETSc to fail
Eder-K Jul 10, 2020
134cc17
Update reference log to include residual warning
Eder-K Jul 10, 2020
c1a4941
Update reference files (#247)
Eder-K Jul 17, 2020
55d181f
Set locale (#248)
Eder-K Jul 20, 2020
92aec96
Remove defunct line
Eder-K Jul 21, 2020
2af964d
Allow fenics-adapter to fail
Eder-K Jul 21, 2020
6c98e61
Fix typo in docs (well... just to trigger Travis)
MakisH Jul 21, 2020
7d32606
Update PETSc to v3.12 (#246)
Eder-K Jul 23, 2020
3017f87
Fix argument name
Eder-K Jul 24, 2020
10aa203
Use PETSc download mirror
Eder-K Jul 27, 2020
d3d6592
Install PETSc as root
Eder-K Jul 28, 2020
1d009c1
Fix push arg in of-ccx_fsi
Eder-K Aug 1, 2020
ccf2d0f
Disable debug output
Eder-K Aug 1, 2020
8c5b486
Merge branch 'master' into develop
Eder-K Aug 5, 2020
a0e33e6
Update allowed failures
Eder-K Aug 5, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.docker_tag
__pycache__
Output
Logs
Expand Down
128 changes: 86 additions & 42 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ sudo: true
dist: trusty
language: python
python:
- "3.5"
- "3.6"
services:
- docker
install:
Expand All @@ -12,13 +12,12 @@ jobs:
allow_failures:
# Currently unstable tests that do not affect the build status
# To add a test here, list its exact name
- name: "Ubuntu 18.04.sudo.mpich [Job failure permitted]"
- name: "Ubuntu 16.04 home PETSc [Job failure permitted]"
- name: "openFOAM adapter [PETSc] [Job failure permitted]"
- name: "CalculiX adapter [PETSc] [Job failure permitted]"
- name: "[16.04 PETSc] OpenFOAM <-> CalculiX [FSI] [Job failure permitted]"
- name: "[16.04] deal.ii adapter [Job failure permitted]"
- name: "[16.04] SU2 <-> Calculix [unstable][Job failure permitted]"
- name: "[18.04] deal.ii adapter [failure allowed]"
- name: "Ubuntu 18.04.sudo.mpich [failure allowed]"
- name: "[18.04] deal.ii <-> OpenFOAM [failure allowed]"
- name: "[18.04] SU2 <-> Calculix [unstable][failure allowed]"
- name: "[18.04 PETSc] OpenFOAM <-> CalculiX [FSI][failure allowed]"


include:
- stage: Building preCICE
Expand Down Expand Up @@ -52,7 +51,7 @@ jobs:
python push_precice.py --dockerfile precice/Dockerfile.Ubuntu1604.home --docker-username $DOCKER_USERNAME

- stage: Building preCICE
name: "Ubuntu 16.04 home PETSc [Job failure permitted]"
name: "Ubuntu 16.04 home PETSc"
if: fork = false
script:
- python build_precice.py --dockerfile precice/Dockerfile.Ubuntu1604.home --petsc yes --docker-username $DOCKER_USERNAME
Expand Down Expand Up @@ -112,7 +111,7 @@ jobs:
python push_precice.py --dockerfile precice/Dockerfile.Ubuntu1804.sudo --docker-username $DOCKER_USERNAME

- stage: Building preCICE
name: "Ubuntu 18.04.sudo.mpich [Job failure permitted]"
name: "Ubuntu 18.04.sudo.mpich [failure allowed]"
if: type = cron
script:
- python build_precice.py --dockerfile precice/Dockerfile.Ubuntu1804.sudo.mpich --docker-username $DOCKER_USERNAME
Expand Down Expand Up @@ -152,7 +151,7 @@ jobs:
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.su2-adapter --operating-system ubuntu1604 --precice-installation home --docker-username $DOCKER_USERNAME
- python push.py --adapter adapters/Dockerfile.su2-adapter
- python push.py --adapter adapters/Dockerfile.su2-adapter --base Ubuntu1604.home
deploy:
skip_cleanup: true
provider: script
Expand All @@ -162,11 +161,26 @@ jobs:
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin &&
python push_adapter.py --dockerfile adapters/Dockerfile.su2-adapter --operating-system ubuntu1604 --precice-installation home --docker-username $DOCKER_USERNAME

- name: "[18.04] SU2 adapter"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.su2-adapter --operating-system ubuntu1804 --precice-installation home --docker-username $DOCKER_USERNAME
- python push.py --adapter adapters/Dockerfile.su2-adapter
deploy:
skip_cleanup: true
provider: script
on:
all_branches: true
script: >-
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin &&
python push_adapter.py --dockerfile adapters/Dockerfile.su2-adapter --operating-system ubuntu1804 --precice-installation home --docker-username $DOCKER_USERNAME


- name: "[16.04] CalculiX adapter"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.calculix-adapter --operating-system ubuntu1604 --precice-installation home --docker-username $DOCKER_USERNAME
- python push.py --adapter adapters/Dockerfile.calculix-adapter
- python build_adapter.py --dockerfile adapters/Dockerfile.calculix-adapter --operating-system ubuntu1604 --precice-installation home --docker-username $DOCKER_USERNAME -ab makefile-dep-apt
- python push.py --adapter adapters/Dockerfile.calculix-adapter --base Ubuntu1604.home
deploy:
skip_cleanup: true
provider: script
Expand All @@ -176,11 +190,26 @@ jobs:
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin &&
python push_adapter.py --dockerfile adapters/Dockerfile.calculix-adapter --operating-system ubuntu1604 --precice-installation home --docker-username $DOCKER_USERNAME

- name: "[16.04] deal.ii adapter [Job failure permitted]"
- name: "[18.04] CalculiX adapter"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.calculix-adapter --operating-system ubuntu1804 --precice-installation home --docker-username $DOCKER_USERNAME -ab makefile-dep-apt
- python push.py --adapter adapters/Dockerfile.calculix-adapter
deploy:
skip_cleanup: true
provider: script
on:
all_branches: true
script: >-
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin &&
python push_adapter.py --dockerfile adapters/Dockerfile.calculix-adapter --operating-system ubuntu1804 --precice-installation home --docker-username $DOCKER_USERNAME


- name: "[16.04] deal.ii adapter"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.dealii-adapter --operating-system ubuntu1604 --precice-installation home --docker-username $DOCKER_USERNAME
- python push.py --adapter adapters/Dockerfile.dealii-adapter
- python push.py --adapter adapters/Dockerfile.dealii-adapter --base Ubuntu1604.home
deploy:
skip_cleanup: true
provider: script
Expand All @@ -190,6 +219,21 @@ jobs:
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin &&
python push_adapter.py --dockerfile adapters/Dockerfile.dealii-adapter --operating-system ubuntu1604 --precice-installation home --docker-username $DOCKER_USERNAME

- name: "[18.04] deal.ii adapter [failure allowed]"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.dealii-adapter --operating-system ubuntu1804 --precice-installation home --docker-username $DOCKER_USERNAME
- python push.py --adapter adapters/Dockerfile.dealii-adapter
deploy:
skip_cleanup: true
provider: script
on:
all_branches: true
script: >-
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin &&
python push_adapter.py --dockerfile adapters/Dockerfile.dealii-adapter --operating-system ubuntu1804 --precice-installation home --docker-username $DOCKER_USERNAME


- name: "[16.04] OpenFOAM adapter"
if: fork = false
script:
Expand All @@ -207,16 +251,16 @@ jobs:
- name: "[18.04] OpenFOAM adapter"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.openfoam-adapter.Ubuntu1804 --operating-system ubuntu1804 --precice-installation home --docker-username $DOCKER_USERNAME
- python push.py --adapter adapters/Dockerfile.openfoam-adapter.Ubuntu1804
- python build_adapter.py --dockerfile adapters/Dockerfile.openfoam-adapter --operating-system ubuntu1804 --precice-installation home --docker-username $DOCKER_USERNAME
- python push.py --adapter adapters/Dockerfile.openfoam-adapter
deploy:
skip_cleanup: true
provider: script
on:
all_branches: true
script: >-
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin &&
python push_adapter.py --dockerfile adapters/Dockerfile.openfoam-adapter.Ubuntu1804 --operating-system ubuntu1804 --precice-installation home --docker-username $DOCKER_USERNAME
python push_adapter.py --dockerfile adapters/Dockerfile.openfoam-adapter --operating-system ubuntu1804 --precice-installation home --docker-username $DOCKER_USERNAME

- name: "[18.04] FEniCS adapter"
if: fork = false
Expand Down Expand Up @@ -245,10 +289,10 @@ jobs:
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin &&
python push_adapter.py --dockerfile adapters/Dockerfile.codeaster-adapter --operating-system ubuntu1804 --precice-installation home --docker-username $DOCKER_USERNAME

- name: "[16.04] OpenFOAM adapter [PETSc] [Job failure permitted]"
- name: "[18.04] OpenFOAM adapter [PETSc]"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.openfoam-adapter --operating-system ubuntu1604 --precice-installation home --petsc yes --docker-username $DOCKER_USERNAME
- python build_adapter.py --dockerfile adapters/Dockerfile.openfoam-adapter --operating-system ubuntu1804 --precice-installation home --petsc yes --docker-username $DOCKER_USERNAME
- python push.py --adapter adapters/Dockerfile.openfoam-adapter
deploy:
skip_cleanup: true
Expand All @@ -257,12 +301,12 @@ jobs:
all_branches: true
script: >-
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin &&
python push_adapter.py --dockerfile adapters/Dockerfile.openfoam-adapter --operating-system ubuntu1604 --precice-installation home --petsc yes --docker-username $DOCKER_USERNAME
python push_adapter.py --dockerfile adapters/Dockerfile.openfoam-adapter --operating-system ubuntu1804 --precice-installation home --petsc yes --docker-username $DOCKER_USERNAME

- name: "[16.04] CalculiX adapter [PETSc] [Job failure permitted]"
- name: "[18.04] CalculiX adapter [PETSc]"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.calculix-adapter --operating-system ubuntu1604 --precice-installation home --petsc yes --docker-username $DOCKER_USERNAME
- python build_adapter.py --dockerfile adapters/Dockerfile.calculix-adapter --operating-system ubuntu1804 --precice-installation home --petsc yes --docker-username $DOCKER_USERNAME -ab makefile-dep-apt
- python push.py --adapter adapters/Dockerfile.calculix-adapter
deploy:
skip_cleanup: true
Expand All @@ -271,7 +315,7 @@ jobs:
all_branches: true
script: >-
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin &&
python push_adapter.py --dockerfile adapters/Dockerfile.calculix-adapter --operating-system ubuntu1604 --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


- name: "[Build adapters on fork] Using cached version"
Expand All @@ -281,67 +325,67 @@ jobs:


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

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

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

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

- name: "[16.04] Bindings/Solverdummies"
script:
- python system_testing.py -s bindings -v
- python push.py --test bindings
- python system_testing.py -s bindings --base Ubuntu1604.home -v
- python push.py --test bindings --base Ubuntu1604.home

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

- name: "[16.04] deal.ii <-> OpenFOAM"
- name: "[18.04] deal.ii <-> OpenFOAM [failure allowed]"
script:
- python system_testing.py -s dealii-of -v
- python push.py --test dealii-of

- name: "[18.04] nutils <-> OpenFOAM"
script:
- python system_testing.py -s nutils-of --base Ubuntu1804.home -v
- python push.py --test nutils-of --base Ubuntu1804.home
- python system_testing.py -s nutils-of -v
- python push.py --test nutils-of

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

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

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

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

- name: "[16.04 PETSc] OpenFOAM <-> CalculiX [FSI] [Job failure permitted]"
- name: "[18.04 PETSc] OpenFOAM <-> CalculiX [FSI][failure allowed]"
script:
- python system_testing.py -s of-ccx_fsi --base Ubuntu1604.home.PETSc -v
- python system_testing.py -s of-ccx_fsi --base Ubuntu1804.home.PETSc -v
- python push.py --test of-ccx_fsi --petsc
28 changes: 10 additions & 18 deletions adapters/Dockerfile.calculix-adapter
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
ARG from=precice/precice-ubuntu1604.home-develop
ARG base_solver=precice/calculix
FROM ${base_solver} as calculix
ARG branch=develop
ARG from=precice/precice-ubuntu1804.home-${branch}
FROM $from

USER root

# ( since we are importing form the precice image )
RUN apt-get -qq update && apt-get -qq install \
build-essential \
Expand All @@ -14,30 +14,22 @@ RUN apt-get -qq update && apt-get -qq install \
autoconf \
autotools-dev \
bzip2 \
libarpack2-dev \
libspooles2.2 \
libyaml-cpp-dev && \
rm -rf /var/lib/apt/lists/*

ARG CACHEBUST
# copy arpack and spooles
COPY --from=calculix /usr/local/ARPACK /usr/local/ARPACK
COPY --from=calculix /spooles.2.2 /spooles.2.2

USER precice
# get calculix source
WORKDIR /home/precice
RUN curl -s http://www.dhondt.de/ccx_2.15.src.tar.bz2 | tar -xj
ARG branch=develop
RUN git clone --branch $branch https://github.com/precice/calculix-adapter.git
WORKDIR calculix-adapter/
# specify proper locations of libraries
RUN sed -i -e 's|CCX\s\+=.*|CCX = /home/precice/CalculiX/ccx_2.15/src|g'\
-e 's|SPOOLES\s\+=.*|SPOOLES = /spooles.2.2|g'\
-e 's|ARPACK\s\+=.*|ARPACK = /usr/local/ARPACK|g'\
-e 's|-L$(YAML)/build||g' \
-e 's|-I$(YAML)/include||g' \
-e 's|CC\s\+=.*|CC=cc|g' Makefile
RUN curl -s http://www.dhondt.de/ccx_2.16.src.tar.bz2 | tar -xj
ARG adapter_branch=develop
RUN git clone --branch $adapter_branch https://github.com/precice/calculix-adapter.git

# build and clean-up
# build adapter
WORKDIR calculix-adapter/
RUN make -j $(nproc)

# create directory for input/out/exchange
Expand Down
6 changes: 4 additions & 2 deletions adapters/Dockerfile.codeaster-adapter
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
ARG from=precice/precice-ubuntu1804.home-develop
ARG branch=develop
ARG from=precice/precice-ubuntu1804.home-${branch}
ARG base_solver=precice/codeaster
FROM ${base_solver}
FROM $from
Expand All @@ -25,7 +26,8 @@ WORKDIR /home/precice

COPY --from=precice/codeaster /home/precice/Code_Aster /home/precice/Code_Aster

RUN git clone https://github.com/precice/code_aster-adapter.git
ARG adapter_branch=develop
RUN git clone --branch $adapter_branch https://github.com/precice/code_aster-adapter.git

RUN \
sed -i "s|.rmed|.resu|g" code_aster-adapter/cht/adapter.comm && \
Expand Down
11 changes: 7 additions & 4 deletions adapters/Dockerfile.dealii-adapter
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
ARG from=precice/precice-ubuntu1604.home-develop
ARG branch=develop
ARG from=precice/precice-ubuntu1604.home-${branch}
ARG base_solver=precice/deal.ii
FROM ${base_solver} as deal.ii
FROM $from
Expand All @@ -10,9 +11,11 @@ COPY --from=deal.ii /root/dealii/ /home/precice/dealii/
USER precice
WORKDIR /home/precice
RUN mkdir -p Logs Data/Input Data/Output Data/Exchange
ARG branch=develop
RUN git clone --branch $branch https://github.com/precice/dealii-adapter.git
RUN cd dealii-adapter/coupled_elasto_dynamics/ && \

ARG adapter_branch=develop
RUN git clone --branch $adapter_branch https://github.com/precice/dealii-adapter.git

RUN cd dealii-adapter/linear_elasticity/ && \
cmake -DDEAL_II_DIR=$HOME/dealii -DDIM=3 -DCMAKE_BUILD_TYPE=Release . && \
make -j $(nproc)

Expand Down
Loading