Skip to content
Merged
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
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/bin/clang-11
cxx: /usr/bin/clang++-11
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 @@ -12,33 +12,33 @@ spack:

packages:
adios2:
variants: ~zfp ~sz ~png ~dataman ~python ~fortran ~ssc ~shared ~bzip2
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 @@ -13,7 +13,7 @@ spack:
hdf5:
variants: ~mpi
adios2:
variants: ~mpi ~zfp ~sz ~png ~dataman ~python ~fortran ~ssc ~shared ~bzip2
variants: ~mpi ~zfp ~sz ~png ~dataman ~python ~fortran ~ssc ~shared ~bzip2 ~mgard
cmake:
externals:
- spec: cmake@3.22.1
Expand All @@ -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/bin/clang-15
cxx: /usr/bin/clang++-15
f77: /usr/bin/gfortran
fc: /usr/bin/gfortran
spec: clang@14.0.0
spec: clang@15.0.7
target: x86_64

config:
Expand Down
24 changes: 14 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,51 @@ spack:

packages:
adios2:
variants: ~zfp ~sz ~png ~dataman ~python ~fortran ~ssc ~shared ~bzip2
variants: ~zfp ~sz ~png ~dataman ~python ~fortran ~ssc ~shared ~bzip2 ~mgard
c-blosc2:
# snappy broken on CMake 4.0
# fixed snappy not yet deployed to a Spack release
variants: ~snappy
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/bin/clang-14
cxx: /usr/bin/clang++-14
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 @@ -12,45 +12,52 @@ spack:

packages:
adios2:
variants: ~zfp ~sz ~png ~dataman ~python ~fortran ~ssc ~shared ~bzip2
# mgard not supported on CMake 4.0 due to unresolved compatibility
# issue in dependency yaml-cpp
# https://github.com/jbeder/yaml-cpp/issues/1352
variants: ~zfp ~sz ~png ~dataman ~python ~fortran ~ssc ~shared ~bzip2 ~mgard
c-blosc2:
# snappy broken on CMake 4.0
# fixed snappy not yet deployed to a Spack release
variants: ~snappy
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 @@ -6,57 +6,59 @@
#
spack:
specs:
- adios2@2.7.1
- hdf5
- adios2@2.10 +mpi
- hdf5 +mpi
- mpich

packages:
adios2:
variants: ~zfp ~sz ~png ~dataman ~python ~fortran ~ssc ~shared ~bzip2
variants: +mpi ~zfp ~sz ~png ~dataman ~python ~fortran ~ssc ~shared ~bzip2 ~blosc2 ~mgard
cmake:
externals:
- spec: cmake@3.23.0
prefix: /usr
- spec: cmake@3.31.6
prefix: /usr/local
buildable: False
hdf5:
variants: +mpi
mpich:
externals:
- spec: mpich@3.3
prefix: /usr
- spec: mpich@4.2.1
prefix: /usr/local
buildable: False
perl:
externals:
- spec: perl@5.26.1
- spec: perl@5.38.2
prefix: /usr
buildable: False
python:
externals:
- spec: python@3.8.0
- spec: python@3.12.3
prefix: /usr
buildable: False
all:
target: [x86_64]
variants: ~fortran
providers:
mpi: [mpich]
compiler: [clang@8.0.0]
compiler: [gcc@13.3.0]

compilers:
- compiler:
environment: {}
extra_rpaths: []
flags: {}
modules: []
operating_system: ubuntu20.04
operating_system: ubuntu24.04
paths:
cc: /usr/lib/llvm-8/bin/clang
cxx: /usr/lib/llvm-8/bin/clang++
cc: /usr/bin/gcc
cxx: /usr/bin/g++
f77: /usr/bin/gfortran
fc: /usr/bin/gfortran
spec: clang@8.0.0
spec: gcc@13.3.0
target: x86_64

config:
build_jobs: 2
build_jobs: 4

mirrors:
E4S: https://cache.e4s.io
16 changes: 16 additions & 0 deletions .github/workflows/dependencies/install_mpich
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env bash
#

set -eu -o pipefail

mpich_ver="4.3.0"

cd /opt
wget https://www.mpich.org/static/downloads/${mpich_ver}/mpich-${mpich_ver}.tar.gz
tar -xzf mpich-${mpich_ver}.tar.gz
cd mpich-${mpich_ver}
./configure --prefix=/usr/local
make -j 4
make -j 4 install
cd ..
rm -rf mpich-${mpich_ver} mpich-${mpich_ver}.tar.gz
Loading
Loading