Skip to content

Commit b800efd

Browse files
committed
CI: Move Ubuntu 20.04 workflows to 22.04 (#1731)
1 parent 90e9bf7 commit b800efd

File tree

21 files changed

+176
-199
lines changed

21 files changed

+176
-199
lines changed

.clang-tidy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
# FIXME: all performance-* reports
33
# FIXME: all cert-* reports
44
# FIXME: all bugprone-* reports
5-
Checks: -*,bugprone-*,-bugprone-unhandled-self-assignment,-bugprone-parent-virtual-call,-bugprone-narrowing-conversions,-bugprone-exception-escape,-bugprone-string-literal-with-embedded-nul,cppcoreguidelines-slicing,mpi-*,readability-non-const-parameter,performance-*,modernize-*,-modernize-use-trailing-return-type,-modernize-use-bool-literals,-modernize-avoid-c-arrays,-modernize-use-auto,-modernize-return-braced-init-list
5+
Checks: -*,bugprone-*,-bugprone-unhandled-self-assignment,-bugprone-parent-virtual-call,-bugprone-narrowing-conversions,-bugprone-exception-escape,-bugprone-string-literal-with-embedded-nul,cppcoreguidelines-slicing,mpi-*,readability-non-const-parameter,performance-*,modernize-*,-modernize-use-trailing-return-type,-modernize-use-bool-literals,-modernize-avoid-c-arrays,-modernize-use-auto,-modernize-return-braced-init-list,-bugprone-easily-swappable-parameters
66
HeaderFilterRegex: '((^(?!\/share\/openPMD\/).*)*include\/openPMD\/.+\.hpp|src\/^(?!binding).+\.cpp$)'

.github/ci/spack-envs/clang7_nopy_nompi_h5_libcpp/spack.yaml renamed to .github/ci/spack-envs/clang11_nopy_nompi_h5_libcpp/spack.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ spack:
1212
all:
1313
target: [x86_64]
1414
variants: ~mpi ~fortran
15-
compiler: [clang@7.0.1]
15+
compiler: [clang@11.1.0]
1616

1717
compilers:
1818
- compiler:
@@ -22,13 +22,13 @@ spack:
2222
cxxflags: -stdlib=libc++
2323
ldflags: -stdlib=libc++
2424
modules: []
25-
operating_system: ubuntu20.04
25+
operating_system: ubuntu22.04
2626
paths:
27-
cc: /usr/bin/clang-7
28-
cxx: /usr/bin/clang++-7
27+
cc: /usr/bin/clang-11
28+
cxx: /usr/bin/clang++-11
2929
f77: null
3030
fc: null
31-
spec: clang@7.0.1
31+
spec: clang@11.1.0
3232
target: x86_64
3333

3434
config:

.github/ci/spack-envs/clang7_nopy_ompi_h5_ad2/spack.yaml renamed to .github/ci/spack-envs/clang11_nopy_ompi_h5_ad2/spack.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,47 +12,47 @@ spack:
1212

1313
packages:
1414
adios2:
15-
variants: ~zfp ~sz ~png ~dataman ~python ~fortran ~ssc ~shared ~bzip2
15+
variants: ~zfp ~sz ~png ~dataman ~python ~fortran ~ssc ~shared ~bzip2 ~blosc2 ~mgard
1616
cmake:
1717
externals:
18-
- spec: cmake@3.23.0
18+
- spec: cmake@3.31.5
1919
prefix: /usr
2020
buildable: False
2121
openmpi:
2222
externals:
23-
- spec: openmpi@2.1.1
23+
- spec: openmpi@4.1.2
2424
prefix: /usr
2525
buildable: False
2626
perl:
2727
externals:
28-
- spec: perl@5.26.1
28+
- spec: perl@5.34.0
2929
prefix: /usr
3030
buildable: False
3131
python:
3232
externals:
33-
- spec: python@3.8.0
33+
- spec: python@3.10.12
3434
prefix: /usr
3535
buildable: False
3636
all:
3737
target: [x86_64]
3838
variants: ~fortran
3939
providers:
4040
mpi: [openmpi]
41-
compiler: [clang@7.0.0]
41+
compiler: [clang@11.1.0]
4242

4343
compilers:
4444
- compiler:
4545
environment: {}
4646
extra_rpaths: []
4747
flags: {}
4848
modules: []
49-
operating_system: ubuntu20.04
49+
operating_system: ubuntu22.04
5050
paths:
51-
cc: /usr/lib/llvm-7/bin/clang
52-
cxx: /usr/lib/llvm-7/bin/clang++
51+
cc: /usr/bin/clang-11
52+
cxx: /usr/bin/clang++-11
5353
f77: /usr/bin/gfortran
5454
fc: /usr/bin/gfortran
55-
spec: clang@7.0.0
55+
spec: clang@11.1.0
5656
target: x86_64
5757

5858
config:

.github/ci/spack-envs/clang7_nopy_ompi_h5_ad2_libcpp/spack.yaml renamed to .github/ci/spack-envs/clang11_nopy_ompi_h5_ad2_libcpp/spack.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,30 +15,30 @@ spack:
1515
variants: ~zfp ~sz ~png ~dataman ~python ~fortran ~ssc ~shared ~bzip2
1616
cmake:
1717
externals:
18-
- spec: cmake@3.23.0
18+
- spec: cmake@3.31.5
1919
prefix: /usr
2020
buildable: False
2121
openmpi:
2222
externals:
23-
- spec: openmpi@2.1.1
23+
- spec: openmpi@4.1.2
2424
prefix: /usr
2525
buildable: False
2626
perl:
2727
externals:
28-
- spec: perl@5.26.1
28+
- spec: perl@5.34.0
2929
prefix: /usr
3030
buildable: False
3131
python:
3232
externals:
33-
- spec: python@3.8.0
33+
- spec: python@3.10.12
3434
prefix: /usr
3535
buildable: False
3636
all:
3737
target: [x86_64]
3838
variants: ~fortran
3939
providers:
4040
mpi: [openmpi]
41-
compiler: [clang@7.0.1]
41+
compiler: [clang@11.1.0]
4242

4343
compilers:
4444
- compiler:
@@ -48,13 +48,13 @@ spack:
4848
cxxflags: -stdlib=libc++
4949
ldflags: -stdlib=libc++
5050
modules: []
51-
operating_system: ubuntu20.04
51+
operating_system: ubuntu22.04
5252
paths:
53-
cc: /usr/bin/clang-7
54-
cxx: /usr/bin/clang++-7
53+
cc: /usr/bin/clang-11
54+
cxx: /usr/bin/clang++-11
5555
f77: /usr/bin/gfortran
5656
fc: /usr/bin/gfortran
57-
spec: clang@7.0.1
57+
spec: clang@11.1.0
5858
target: x86_64
5959

6060
config:

.github/ci/spack-envs/clang14_py311_nompi_h5_ad2/spack.yaml renamed to .github/ci/spack-envs/clang15_py311_nompi_h5_ad2/spack.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ spack:
3434
variants: ~fortran
3535
providers:
3636
mpi: [openmpi]
37-
compiler: [clang@14.0.0]
37+
compiler: [clang@15.0.7]
3838

3939
compilers:
4040
- compiler:
@@ -44,11 +44,11 @@ spack:
4444
modules: []
4545
operating_system: ubuntu22.04
4646
paths:
47-
cc: /usr/lib/llvm-14/bin/clang
48-
cxx: /usr/lib/llvm-14/bin/clang++
47+
cc: /usr/bin/clang-15
48+
cxx: /usr/bin/clang++-15
4949
f77: /usr/bin/gfortran
5050
fc: /usr/bin/gfortran
51-
spec: clang@14.0.0
51+
spec: clang@15.0.7
5252
target: x86_64
5353

5454
config:

.github/ci/spack-envs/clangtidy_nopy_ompi_h5_ad2/spack.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,47 +12,47 @@ spack:
1212

1313
packages:
1414
adios2:
15-
variants: ~zfp ~sz ~png ~dataman ~python ~fortran ~ssc ~shared ~bzip2
15+
variants: ~zfp ~sz ~png ~dataman ~python ~fortran ~ssc ~shared ~bzip2 ~mgard
1616
cmake:
1717
externals:
18-
- spec: cmake@3.23.0
18+
- spec: cmake@3.31.5
1919
prefix: /usr
2020
buildable: False
2121
openmpi:
2222
externals:
23-
- spec: openmpi@2.1.1
23+
- spec: openmpi@4.1.2
2424
prefix: /usr
2525
buildable: False
2626
perl:
2727
externals:
28-
- spec: perl@5.26.1
28+
- spec: perl@5.34.0
2929
prefix: /usr
3030
buildable: False
3131
python:
3232
externals:
33-
- spec: python@3.8.0
33+
- spec: python@3.10.12
3434
prefix: /usr
3535
buildable: False
3636
all:
3737
target: [x86_64]
3838
variants: ~fortran
3939
providers:
4040
mpi: [openmpi]
41-
compiler: [clang@10.0.0]
41+
compiler: [clang@14.0.0]
4242

4343
compilers:
4444
- compiler:
4545
environment: {}
4646
extra_rpaths: []
4747
flags: {}
4848
modules: []
49-
operating_system: ubuntu20.04
49+
operating_system: ubuntu22.04
5050
paths:
51-
cc: /usr/lib/llvm-10/bin/clang
52-
cxx: /usr/lib/llvm-10/bin/clang++
51+
cc: /usr/bin/clang-14
52+
cxx: /usr/bin/clang++-14
5353
f77: /usr/bin/gfortran
5454
fc: /usr/bin/gfortran
55-
spec: clang@10.0.0
55+
spec: clang@14.0.0
5656
target: x86_64
5757

5858
config:

.github/ci/spack-envs/gcc7_py36_ompi_h5_ad2/spack.yaml renamed to .github/ci/spack-envs/gcc12_py36_ompi_h5_ad2/spack.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,42 +15,42 @@ spack:
1515
variants: ~zfp ~sz ~png ~dataman ~python ~fortran ~ssc ~shared ~bzip2
1616
cmake:
1717
externals:
18-
- spec: cmake@3.23.0
18+
- spec: cmake@3.31.5
1919
prefix: /usr
2020
buildable: False
2121
openmpi:
2222
externals:
23-
- spec: openmpi@2.1.1
23+
- spec: openmpi@4.1.2
2424
prefix: /usr
2525
buildable: False
2626
perl:
2727
externals:
28-
- spec: perl@5.26.1
28+
- spec: perl@5.34.0
2929
prefix: /usr
3030
buildable: False
3131
python:
3232
externals:
33-
- spec: python@3.6.3
33+
- spec: python@3.10.12
3434
prefix: /usr
3535
buildable: False
3636
all:
3737
target: [x86_64]
3838
variants: ~fortran
39-
compiler: [gcc@7.0.0]
39+
compiler: [gcc@12.3.0]
4040

4141
compilers:
4242
- compiler:
4343
environment: {}
4444
extra_rpaths: []
4545
flags: {}
4646
modules: []
47-
operating_system: ubuntu20.04
47+
operating_system: ubuntu22.04
4848
paths:
49-
cc: /usr/bin/gcc-7
50-
cxx: /usr/bin/g++-7
49+
cc: /usr/bin/gcc-12
50+
cxx: /usr/bin/g++-12
5151
f77: /usr/bin/gfortran
5252
fc: /usr/bin/gfortran
53-
spec: gcc@7.0.0
53+
spec: gcc@12.3.0
5454
target: x86_64
5555

5656
config:

.github/ci/spack-envs/clang8_py38_mpich_h5_ad2/spack.yaml renamed to .github/ci/spack-envs/gcc13_py312_mpich_h5_ad2/spack.yaml

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,57 +6,59 @@
66
#
77
spack:
88
specs:
9-
- adios2@2.7.1
10-
- hdf5
9+
- adios2@2.10 +mpi
10+
- hdf5 +mpi
1111
- mpich
1212

1313
packages:
1414
adios2:
15-
variants: ~zfp ~sz ~png ~dataman ~python ~fortran ~ssc ~shared ~bzip2
15+
variants: +mpi ~zfp ~sz ~png ~dataman ~python ~fortran ~ssc ~shared ~bzip2 ~blosc2 ~mgard
1616
cmake:
1717
externals:
18-
- spec: cmake@3.23.0
19-
prefix: /usr
18+
- spec: cmake@3.31.6
19+
prefix: /usr/local
2020
buildable: False
21+
hdf5:
22+
variants: +mpi
2123
mpich:
2224
externals:
23-
- spec: mpich@3.3
25+
- spec: mpich@4.2.0
2426
prefix: /usr
2527
buildable: False
2628
perl:
2729
externals:
28-
- spec: perl@5.26.1
30+
- spec: perl@5.38.2
2931
prefix: /usr
3032
buildable: False
3133
python:
3234
externals:
33-
- spec: python@3.8.0
35+
- spec: python@3.12.3
3436
prefix: /usr
3537
buildable: False
3638
all:
3739
target: [x86_64]
3840
variants: ~fortran
3941
providers:
4042
mpi: [mpich]
41-
compiler: [clang@8.0.0]
43+
compiler: [gcc@13.3.0]
4244

4345
compilers:
4446
- compiler:
4547
environment: {}
4648
extra_rpaths: []
4749
flags: {}
4850
modules: []
49-
operating_system: ubuntu20.04
51+
operating_system: ubuntu24.04
5052
paths:
51-
cc: /usr/lib/llvm-8/bin/clang
52-
cxx: /usr/lib/llvm-8/bin/clang++
53+
cc: /usr/bin/gcc
54+
cxx: /usr/bin/g++
5355
f77: /usr/bin/gfortran
5456
fc: /usr/bin/gfortran
55-
spec: clang@8.0.0
57+
spec: gcc@13.3.0
5658
target: x86_64
5759

5860
config:
59-
build_jobs: 2
61+
build_jobs: 4
6062

6163
mirrors:
6264
E4S: https://cache.e4s.io

.github/workflows/dependencies/install_nvcc11.sh renamed to .github/workflows/dependencies/install_nvcc12.sh

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,15 @@ sudo apt-get install -y \
1515
pkg-config \
1616
wget
1717

18-
sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
19-
echo "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 /" \
18+
sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/3bf863cc.pub
19+
echo "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 /" \
2020
| sudo tee /etc/apt/sources.list.d/cuda.list
2121
sudo apt-get update
22+
apt search cuda-compiler
2223
sudo apt-get install -y \
23-
cuda-command-line-tools-11-2 \
24-
cuda-compiler-11-2 \
25-
cuda-cupti-dev-11-2 \
26-
cuda-minimal-build-11-2
24+
cuda-command-line-tools-12-8 \
25+
cuda-compiler-12-8 \
26+
cuda-cupti-dev-12-8 \
27+
cuda-minimal-build-12-8
2728

2829
sudo ln -s cuda-11.2 /usr/local/cuda

.github/workflows/dependencies/install_nvhpc21-11.sh renamed to .github/workflows/dependencies/install_nvhpc25-1.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ sudo apt-get install -y \
1717
echo 'deb [trusted=yes] https://developer.download.nvidia.com/hpc-sdk/ubuntu/amd64 /' | \
1818
sudo tee /etc/apt/sources.list.d/nvhpc.list
1919
sudo apt-get update -y
20-
sudo apt-get install -y --no-install-recommends nvhpc-21-11
20+
sudo apt-get install -y --no-install-recommends nvhpc-25-1
2121

2222
# things should reside in /opt/nvidia/hpc_sdk now
2323

0 commit comments

Comments
 (0)