Skip to content

Commit 3d92bc8

Browse files
authored
Merge pull request #970 from 4C-multiphysics/docker-update-refactor-install-and-trilinos-update
[docker] Update Trilinos to 16.2.0 Release
2 parents 2470488 + 2fe9f1b commit 3d92bc8

File tree

16 files changed

+63
-188
lines changed

16 files changed

+63
-188
lines changed

.github/workflows/buildtest.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
gcc13_assertions_build:
1717
runs-on: ubuntu-latest
1818
container:
19-
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:4fb3f346
19+
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:520a7b16
2020
options: --user root --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
2121
defaults:
2222
run:
@@ -52,7 +52,7 @@ jobs:
5252
runs-on: ubuntu-latest
5353
if: github.ref != 'refs/heads/main'
5454
container:
55-
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:4fb3f346
55+
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:520a7b16
5656
options: --user root --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
5757
strategy:
5858
fail-fast: false
@@ -104,7 +104,7 @@ jobs:
104104
clang18_build:
105105
runs-on: ubuntu-latest
106106
container:
107-
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:4fb3f346
107+
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:520a7b16
108108
options: --user root --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
109109
defaults:
110110
run:
@@ -158,7 +158,7 @@ jobs:
158158
needs: clang18_build
159159
runs-on: ubuntu-latest
160160
container:
161-
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:4fb3f346
161+
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:520a7b16
162162
options: --user root --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
163163
defaults:
164164
run:
@@ -184,7 +184,7 @@ jobs:
184184
needs: clang18_build
185185
runs-on: ubuntu-latest
186186
container:
187-
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:4fb3f346
187+
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:520a7b16
188188
options: --user root --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
189189
defaults:
190190
run:
@@ -243,7 +243,7 @@ jobs:
243243
gcc13_no_optional_dependencies_build:
244244
runs-on: ubuntu-latest
245245
container:
246-
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:4fb3f346
246+
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:520a7b16
247247
options: --user root --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
248248
defaults:
249249
run:
@@ -269,7 +269,7 @@ jobs:
269269
needs: gcc13_no_optional_dependencies_build
270270
runs-on: ubuntu-latest
271271
container:
272-
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:4fb3f346
272+
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:520a7b16
273273
options: --user root --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
274274
defaults:
275275
run:

.github/workflows/checkcode.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
clang-tidy:
3030
runs-on: ubuntu-latest
3131
container:
32-
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:4fb3f346
32+
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:520a7b16
3333
options: --user root --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
3434
defaults:
3535
run:
@@ -55,7 +55,7 @@ jobs:
5555
verify-headers:
5656
runs-on: ubuntu-latest
5757
container:
58-
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:4fb3f346
58+
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:520a7b16
5959
options: --user root --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
6060
defaults:
6161
run:

.github/workflows/coverage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
clang18_coverage_build:
99
runs-on: ubuntu-latest
1010
container:
11-
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:4fb3f346
11+
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:520a7b16
1212
options: --user root --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
1313
defaults:
1414
run:
@@ -45,7 +45,7 @@ jobs:
4545
needs: clang18_coverage_build
4646
runs-on: ubuntu-latest
4747
container:
48-
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:4fb3f346
48+
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:520a7b16
4949
options: --user root --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
5050
strategy:
5151
matrix:
@@ -111,7 +111,7 @@ jobs:
111111
needs: [clang18_coverage_test, clang18_coverage_build]
112112
runs-on: ubuntu-latest
113113
container:
114-
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:4fb3f346
114+
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:520a7b16
115115
options: --user root --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
116116
steps:
117117
- uses: actions/checkout@v6

.github/workflows/documentation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
doxygen:
1919
runs-on: ubuntu-latest
2020
container:
21-
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:4fb3f346
21+
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:520a7b16
2222
options: --user root --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
2323
defaults:
2424
run:
@@ -44,7 +44,7 @@ jobs:
4444
documentation:
4545
runs-on: ubuntu-latest
4646
container:
47-
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:4fb3f346
47+
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:520a7b16
4848
options: --user root --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
4949
defaults:
5050
run:

.github/workflows/nightly_tests.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
gcc13_assertions_build:
99
runs-on: ubuntu-latest
1010
container:
11-
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:4fb3f346
11+
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:520a7b16
1212
options: --user root --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
1313
defaults:
1414
run:
@@ -43,7 +43,7 @@ jobs:
4343
needs: gcc13_assertions_build
4444
runs-on: ubuntu-latest
4545
container:
46-
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:4fb3f346
46+
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:520a7b16
4747
options: --user root --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
4848
strategy:
4949
fail-fast: false
@@ -95,7 +95,7 @@ jobs:
9595
clang18_build:
9696
runs-on: ubuntu-latest
9797
container:
98-
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:4fb3f346
98+
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:520a7b16
9999
options: --user root --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
100100
defaults:
101101
run:
@@ -193,7 +193,7 @@ jobs:
193193
needs: clang18_build
194194
runs-on: ubuntu-latest
195195
container:
196-
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:4fb3f346
196+
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:520a7b16
197197
options: --user root --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
198198
strategy:
199199
fail-fast: false
@@ -245,7 +245,7 @@ jobs:
245245
clang18_build_oldest_supported_dependencies:
246246
runs-on: ubuntu-latest
247247
container:
248-
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04-oldest-supported:4fb3f346
248+
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04-oldest-supported:520a7b16
249249
options: --user root --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
250250
defaults:
251251
run:
@@ -280,7 +280,7 @@ jobs:
280280
needs: clang18_build_oldest_supported_dependencies
281281
runs-on: ubuntu-latest
282282
container:
283-
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04-oldest-supported:4fb3f346
283+
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04-oldest-supported:520a7b16
284284
options: --user root --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
285285
strategy:
286286
fail-fast: false
@@ -319,7 +319,7 @@ jobs:
319319
gcc13_no_optional_dependencies_build:
320320
runs-on: ubuntu-latest
321321
container:
322-
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:4fb3f346
322+
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:520a7b16
323323
options: --user root --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
324324
defaults:
325325
run:
@@ -354,7 +354,7 @@ jobs:
354354
needs: gcc13_no_optional_dependencies_build
355355
runs-on: ubuntu-latest
356356
container:
357-
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:4fb3f346
357+
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:520a7b16
358358
options: --user root --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
359359
strategy:
360360
fail-fast: false
@@ -406,7 +406,7 @@ jobs:
406406
gcc13_asan_build:
407407
runs-on: ubuntu-latest
408408
container:
409-
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:4fb3f346
409+
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:520a7b16
410410
options: --user root --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
411411
defaults:
412412
run:
@@ -441,7 +441,7 @@ jobs:
441441
needs: gcc13_asan_build
442442
runs-on: ubuntu-latest
443443
container:
444-
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:4fb3f346
444+
image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:520a7b16
445445
options: --user root --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
446446
strategy:
447447
fail-fast: false

dependencies/current/trilinos/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ INSTALL_DIR="$1"
1717
# Number of procs for building (default 4)
1818
NPROCS=${NPROCS:=4}
1919
# git sha from Trilinos repository:
20-
VERSION="ef517e44826ce3a9e0189325aec4eee6e1d4dafe"
20+
VERSION="f4d642715185dca1b94c91f434a2cf6db9f82014"
2121
#CHECKSUM=""
2222

2323

dependencies/oldest_supported/trilinos/install.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ INSTALL_DIR="$1"
1717
# Number of procs for building (default 4)
1818
NPROCS=${NPROCS:=4}
1919
# git sha from Trilinos repository:
20-
VERSION="1eab15637f2998d1e86fe127b78200f2c9687cb5"
20+
VERSION="f4d642715185dca1b94c91f434a2cf6db9f82014"
2121
#CHECKSUM=""
2222

2323

@@ -60,8 +60,6 @@ $CMAKE_COMMAND \
6060
-D Epetra_SHOW_DEPRECATED_WARNINGS:BOOL=OFF \
6161
-D Trilinos_ENABLE_EpetraExt:BOOL=ON \
6262
-D EpetraExt_SHOW_DEPRECATED_WARNINGS:BOOL=OFF \
63-
-D Trilinos_ENABLE_Intrepid:BOOL=ON \
64-
-D Intrepid_SHOW_DEPRECATED_WARNINGS:BOOL=OFF \
6563
-D Trilinos_ENABLE_Intrepid2:BOOL=ON \
6664
-D Trilinos_ENABLE_Ifpack:BOOL=ON \
6765
-D Ifpack_SHOW_DEPRECATED_WARNINGS:BOOL=OFF \
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
ef517e44826ce3a9e0189325aec4eee6e1d4dafe 2025.5 none
2-
06db4c850654feacabdaed61ee8308219266b6a5 2025.4 none
3-
8cdf0375d278598c12edc3fd7059cb133c6f4426 2025.3 16.2.0
4-
11a16481fa1af48e3cfdb0aa84c29617ce94479f 2025.2 16.1.0
5-
1eab15637f2998d1e86fe127b78200f2c9687cb5 2025.1 none
1+
f4d642715185dca1b94c91f434a2cf6db9f82014 2025.6 16.2.0

doc/documentation/src/installation/installation.rst

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ External dependencies
1818

1919
- git
2020
- C++ compiler with C++20 compatibility (e.g. gcc 13, clang 18)
21-
- MPI installation
21+
- MPI
2222
- CMake
2323
- Ninja
2424

@@ -41,11 +41,18 @@ Graph and domain partitioner:
4141

4242
Miscellaneous:
4343

44-
- Qhull (recommended version: 2012.1, :download:`install script </qhull/install.sh>`
45-
- CLN (recommended version: 1.3.4),
44+
- :ref:`ArborX <arborx>` (optional)
45+
- Backtrace
46+
- Boost
47+
- CLN
48+
- dealii (optional)
4649
- FFTW
4750
- HDF5
48-
- ArborX (optional)
51+
- magic_enum
52+
- :ref:`MIRCO <mirco>` (optional)
53+
- Qhull
54+
- ryml
55+
- zlib
4956

5057
Build information
5158
~~~~~~~~~~~~~~~~~
@@ -70,19 +77,32 @@ On Linux based systems the package can be installed using ``sudo apt install lib
7077
|FOURC| uses SuperLUDist indirectly via the Trilinos package Amesos/Amesos2 for directly solving linear systems of equations in distributed memory fashion.
7178
See the `superLU repository <https://github.com/xiaoyeli/superlu_dist>`_ for details and downloads.
7279

80+
.. _arborx:
81+
7382
**ArborX**
7483

7584
ArborX can be used as optional dependency inside |FOURC| for utilizing it's tree-based search algorithms.
7685
See the `ArborX repository <https://github.com/arborx/ArborX>`_ for details and downloads.
7786

87+
Building |FOURC| with ArborX enabled automatically fetches the repository during the configure stage and later builds the library as dependency.
88+
7889
.. _trilinos:
7990

8091
**Trilinos**
8192

8293
This external dependency can be downloaded from the `Trilinos Github repository <https://github.com/trilinos/Trilinos>`_ .
8394
Currently supported versions are listed in ``<4C_sourceDir>/dependencies/supported_version/Trilinos.txt``. An older supported version will be supported for at least six months after its introduction. Afterwards, the version may be dropped at any time.
8495

85-
.. note:: As 4C is still depending on Epetra based Trilinos code, the last official update will for now happen with the last available Trilinos hash still supporting Epetra (currently expected for mid of November).
96+
.. note:: As 4C is still depending on Epetra based Trilinos code, the last officially supported version is release 16.2.0.
97+
98+
.. _mirco:
99+
100+
**MIRCO**
101+
102+
MIRCO can be used as optional dependency inside |FOURC| to be used for linear elastic frictionless normal contact between a rigid rough indentor and an elastic half-space.
103+
See the `MIRCO repository <https://github.com/imcs-compsim/MIRCO>`_ for details and downloads.
104+
105+
Building |FOURC| with MIRCO enabled automatically fetches the repository during the configure stage and later builds the library as dependency.
86106

87107
.. _4Cinstallation:
88108

docker/trilinos_develop/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ RUN apt-get update && apt-get install -y \
6161
clang-tidy \
6262
clang-tools \
6363
libomp-dev \
64+
libvtk9-dev \
6465
&& rm -rf /var/lib/apt/lists/*
6566

6667
# Create directory for dependencies

0 commit comments

Comments
 (0)