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

CI: Move Ubuntu 20.04 workflows to 22.04 #1731

Open
wants to merge 23 commits into
base: dev
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
2 changes: 1 addition & 1 deletion .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# FIXME: all performance-* reports
# FIXME: all cert-* reports
# FIXME: all bugprone-* reports
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
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
HeaderFilterRegex: '((^(?!\/share\/openPMD\/).*)*include\/openPMD\/.+\.hpp|src\/^(?!binding).+\.cpp$)'
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spack:
all:
target: [x86_64]
variants: ~mpi ~fortran
compiler: [clang@7.0.1]
compiler: [clang@11.1.0]

compilers:
- compiler:
Expand All @@ -22,13 +22,13 @@ spack:
cxxflags: -stdlib=libc++
ldflags: -stdlib=libc++
modules: []
operating_system: ubuntu20.04
operating_system: ubuntu22.04
paths:
cc: /usr/bin/clang-7
cxx: /usr/bin/clang++-7
cc: /usr/bin/clang-11
cxx: /usr/bin/clang++-11
f77: null
fc: null
spec: clang@7.0.1
spec: clang@11.1.0
target: x86_64

config:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,47 +12,47 @@ spack:

packages:
adios2:
variants: ~zfp ~sz ~png ~dataman ~python ~fortran ~ssc ~shared ~bzip2 ~blosc2
variants: ~zfp ~sz ~png ~dataman ~python ~fortran ~ssc ~shared ~bzip2 ~blosc2 ~mgard
cmake:
externals:
- spec: cmake@3.23.0
- spec: cmake@3.31.5
prefix: /usr
buildable: False
openmpi:
externals:
- spec: openmpi@2.1.1
- spec: openmpi@4.1.2
prefix: /usr
buildable: False
perl:
externals:
- spec: perl@5.26.1
- spec: perl@5.34.0
prefix: /usr
buildable: False
python:
externals:
- spec: python@3.8.0
- spec: python@3.10.12
prefix: /usr
buildable: False
all:
target: [x86_64]
variants: ~fortran
providers:
mpi: [openmpi]
compiler: [clang@7.0.0]
compiler: [clang@11.1.0]

compilers:
- compiler:
environment: {}
extra_rpaths: []
flags: {}
modules: []
operating_system: ubuntu20.04
operating_system: ubuntu22.04
paths:
cc: /usr/lib/llvm-7/bin/clang
cxx: /usr/lib/llvm-7/bin/clang++
cc: /usr/lib/llvm-11/bin/clang
cxx: /usr/lib/llvm-11/bin/clang++
f77: /usr/bin/gfortran
fc: /usr/bin/gfortran
spec: clang@7.0.0
spec: clang@11.1.0
target: x86_64

config:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,30 @@ spack:
variants: ~zfp ~sz ~png ~dataman ~python ~fortran ~ssc ~shared ~bzip2 ~mgard ~blosc2
cmake:
externals:
- spec: cmake@3.23.0
- spec: cmake@3.31.5
prefix: /usr
buildable: False
openmpi:
externals:
- spec: openmpi@2.1.1
- spec: openmpi@4.1.2
prefix: /usr
buildable: False
perl:
externals:
- spec: perl@5.26.1
- spec: perl@5.34.0
prefix: /usr
buildable: False
python:
externals:
- spec: python@3.8.0
- spec: python@3.10.12
prefix: /usr
buildable: False
all:
target: [x86_64]
variants: ~fortran
providers:
mpi: [openmpi]
compiler: [clang@7.0.1]
compiler: [clang@11.1.0]

compilers:
- compiler:
Expand All @@ -48,13 +48,13 @@ spack:
cxxflags: -stdlib=libc++
ldflags: -stdlib=libc++
modules: []
operating_system: ubuntu20.04
operating_system: ubuntu22.04
paths:
cc: /usr/bin/clang-7
cxx: /usr/bin/clang++-7
cc: /usr/bin/clang-11
cxx: /usr/bin/clang++-11
f77: /usr/bin/gfortran
fc: /usr/bin/gfortran
spec: clang@7.0.1
spec: clang@11.1.0
target: x86_64

config:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,47 +12,47 @@ spack:

packages:
adios2:
variants: ~zfp ~sz ~png ~dataman ~python ~fortran ~ssc ~shared ~bzip2 ~blosc2
variants: ~zfp ~sz ~png ~dataman ~python ~fortran ~ssc ~shared ~bzip2 ~blosc2 ~mgard
cmake:
externals:
- spec: cmake@3.23.0
- spec: cmake@3.31.5
prefix: /usr
buildable: False
mpich:
externals:
- spec: mpich@3.3
- spec: mpich@4.0.3
prefix: /usr
buildable: False
perl:
externals:
- spec: perl@5.26.1
- spec: perl@5.34.0
prefix: /usr
buildable: False
python:
externals:
- spec: python@3.8.0
- spec: python@3.10.12
prefix: /usr
buildable: False
all:
target: [x86_64]
variants: ~fortran
providers:
mpi: [mpich]
compiler: [clang@8.0.0]
compiler: [clang@12.0.1]

compilers:
- compiler:
environment: {}
extra_rpaths: []
flags: {}
modules: []
operating_system: ubuntu20.04
operating_system: ubuntu22.04
paths:
cc: /usr/lib/llvm-8/bin/clang
cxx: /usr/lib/llvm-8/bin/clang++
f77: /usr/bin/gfortran
fc: /usr/bin/gfortran
spec: clang@8.0.0
cc: /usr/lib/llvm-12/bin/clang
cxx: /usr/lib/llvm-12/bin/clang++
f77: /usr/bin/mpif77
fc: /usr/bin/mpifort
spec: clang@12.0.1
target: x86_64

config:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spack:
variants: ~fortran
providers:
mpi: [openmpi]
compiler: [clang@14.0.0]
compiler: [clang@15.0.7]

compilers:
- compiler:
Expand All @@ -44,11 +44,11 @@ spack:
modules: []
operating_system: ubuntu22.04
paths:
cc: /usr/lib/llvm-14/bin/clang
cxx: /usr/lib/llvm-14/bin/clang++
cc: /usr/lib/llvm-15/bin/clang
cxx: /usr/lib/llvm-15/bin/clang++
f77: /usr/bin/gfortran
fc: /usr/bin/gfortran
spec: clang@14.0.0
spec: clang@15.0.7
target: x86_64

config:
Expand Down
20 changes: 10 additions & 10 deletions .github/ci/spack-envs/clangtidy_nopy_ompi_h5_ad2/spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,47 +12,47 @@ spack:

packages:
adios2:
variants: ~zfp ~sz ~png ~dataman ~python ~fortran ~ssc ~shared ~bzip2
variants: ~zfp ~sz ~png ~dataman ~python ~fortran ~ssc ~shared ~bzip2 ~mgard
cmake:
externals:
- spec: cmake@3.23.0
- spec: cmake@3.31.5
prefix: /usr
buildable: False
openmpi:
externals:
- spec: openmpi@2.1.1
- spec: openmpi@4.1.2
prefix: /usr
buildable: False
perl:
externals:
- spec: perl@5.26.1
- spec: perl@5.34.0
prefix: /usr
buildable: False
python:
externals:
- spec: python@3.8.0
- spec: python@3.10.12
prefix: /usr
buildable: False
all:
target: [x86_64]
variants: ~fortran
providers:
mpi: [openmpi]
compiler: [clang@10.0.0]
compiler: [clang@14.0.0]

compilers:
- compiler:
environment: {}
extra_rpaths: []
flags: {}
modules: []
operating_system: ubuntu20.04
operating_system: ubuntu22.04
paths:
cc: /usr/lib/llvm-10/bin/clang
cxx: /usr/lib/llvm-10/bin/clang++
cc: /usr/lib/llvm-14/bin/clang
cxx: /usr/lib/llvm-14/bin/clang++
f77: /usr/bin/gfortran
fc: /usr/bin/gfortran
spec: clang@10.0.0
spec: clang@14.0.0
target: x86_64

config:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,42 +15,42 @@ spack:
variants: ~zfp ~sz ~png ~dataman ~python ~fortran ~ssc ~shared ~bzip2
cmake:
externals:
- spec: cmake@3.23.0
- spec: cmake@3.31.5
prefix: /usr
buildable: False
openmpi:
externals:
- spec: openmpi@2.1.1
- spec: openmpi@4.1.2
prefix: /usr
buildable: False
perl:
externals:
- spec: perl@5.26.1
- spec: perl@5.34.0
prefix: /usr
buildable: False
python:
externals:
- spec: python@3.6.3
- spec: python@3.10.12
prefix: /usr
buildable: False
all:
target: [x86_64]
variants: ~fortran
compiler: [gcc@7.0.0]
compiler: [gcc@12.3.0]

compilers:
- compiler:
environment: {}
extra_rpaths: []
flags: {}
modules: []
operating_system: ubuntu20.04
operating_system: ubuntu22.04
paths:
cc: /usr/bin/gcc-7
cxx: /usr/bin/g++-7
cc: /usr/bin/gcc-12
cxx: /usr/bin/g++-12
f77: /usr/bin/gfortran
fc: /usr/bin/gfortran
spec: gcc@7.0.0
spec: gcc@12.3.0
target: x86_64

config:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@ sudo apt-get install -y \
pkg-config \
wget

sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
echo "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 /" \
sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/3bf863cc.pub
echo "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 /" \
| sudo tee /etc/apt/sources.list.d/cuda.list
sudo apt-get update
apt search cuda-compiler
sudo apt-get install -y \
cuda-command-line-tools-11-2 \
cuda-compiler-11-2 \
cuda-cupti-dev-11-2 \
cuda-minimal-build-11-2
cuda-command-line-tools-12-8 \
cuda-compiler-12-8 \
cuda-cupti-dev-12-8 \
cuda-minimal-build-12-8

sudo ln -s cuda-11.2 /usr/local/cuda
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ sudo apt-get install -y \
echo 'deb [trusted=yes] https://developer.download.nvidia.com/hpc-sdk/ubuntu/amd64 /' | \
sudo tee /etc/apt/sources.list.d/nvhpc.list
sudo apt-get update -y
sudo apt-get install -y --no-install-recommends nvhpc-21-11
sudo apt-get install -y --no-install-recommends nvhpc-25-1

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

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ concurrency:
jobs:
icc_cxxonly:
name: ICC C++ only
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v4
Expand All @@ -36,7 +36,7 @@ jobs:

icx_cxxonly:
name: ICX C++ only
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v4
Expand Down
Loading
Loading