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
4 changes: 4 additions & 0 deletions .ci/build.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
SPDX-License-Identifier: Apache-2.0 #}
{% extends "ci-infrastructure/cmake-all-lanes.sh.j2" %}
{% block cmake_args %}
{% if c_flags | default("") %}
-DCMAKE_C_FLAGS={{ c_flags | default("") | quote }} \
-DCMAKE_CXX_FLAGS={{ cxx_flags | default("") | quote }} \
{% endif %}
-DENABLE_FORTRAN={{ "ON" if "eccodes-fortran" in ci_packages else "OFF" }} \
{% endblock %}
{% block test %}
Expand Down
111 changes: 69 additions & 42 deletions .ci/manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,18 @@ compiler-inputs = []

[[deps]]
repo = "ecmwf/stack-dependencies"
package = ["libaec", "netcdf"]
package = "netcdf"
ref = "master"
compiler-inputs = ["cxx-compiler"]

# On Atos, libaec comes from the aec module.
[[deps]]
repo = "ecmwf/stack-dependencies"
package = "libaec"
ref = "master"
compiler-inputs = ["cxx-compiler"]
unless = { execution = "hpc-atos" }

[[deps]]
repo = "ecmwf/eckit"
package = "eckit"
Expand All @@ -45,10 +53,18 @@ compiler-inputs = []

[[packages.eccodes-fortran.deps]]
repo = "ecmwf/stack-dependencies"
package = ["libaec", "netcdf"]
package = "netcdf"
ref = "master"
compiler-inputs = ["cxx-compiler"]

# On Atos, libaec comes from the aec module.
[[packages.eccodes-fortran.deps]]
repo = "ecmwf/stack-dependencies"
package = "libaec"
ref = "master"
compiler-inputs = ["cxx-compiler"]
unless = { execution = "hpc-atos" }

[[packages.eccodes-fortran.deps]]
repo = "ecmwf/eckit"
package = "eckit"
Expand Down Expand Up @@ -229,27 +245,26 @@ platform = "ubuntu-24.04"
packages = ["eccodes-fortran"]
triggers = ["upstream-change", "rebuild-request"]

# HPC off along with the ARC runners (hpc-submit): lanes disabled until they are back.
# [matrix.build-hpc.defaults]
# eckit-geo-env = 1
# cxx-compiler = "g++-8"
# build-type = "RelWithDebInfo"
# runs-on = "hpc-submit"
# container = "eccr.ecmwf.int/private-ci-images/ubuntu24.04-internal-tools:latest"
# site = "hpc-batch"
# platform = "hpc-atos-gnu"
# # gcc/old, not a version number: as of now gives you 8.5.0
# # `module avail gcc` lists no 8.5.0 to pin directly.
# modules = ["load prgenv/gnu", "unload gcc", "load gcc/old", "load cmake", "load ninja"]
# c-compiler-binary = "gcc"
# cxx-compiler-binary = "g++"
# time = "01:30:00"
# job-script = "./.ci/build.sh.j2"
[matrix.build-hpc.defaults]
eckit-geo-env = 1
cxx-compiler = "g++-8"
build-type = "RelWithDebInfo"
runs-on = "hpc"
container = "eccr.ecmwf.int/private-ci-images-atos-citester/ubuntu24.04-hpc-runner:latest"
site = "hpc-batch"
platform = "hpc-atos-gnu"
# gcc/old, not a version number: as of now gives you 8.5.0
# `module avail gcc` lists no 8.5.0 to pin directly.
modules = ["load prgenv/gnu", "unload gcc", "load gcc/old", "load cmake", "load ninja", "load aec/1.1.6"]
c-compiler-binary = "gcc"
cxx-compiler-binary = "g++"
time = "01:30:00"
job-script = "./.ci/build.sh.j2"

# [[matrix.build-hpc.include]]

# [[matrix.build-hpc.include]]
# options = "eckit-geo"
[[matrix.build-hpc.include]]
options = "eckit-geo"

# [[matrix.build-hpc.include]]
# options = "eckit-geo"
Expand All @@ -268,27 +283,30 @@ triggers = ["upstream-change", "rebuild-request"]
# cxx-compiler-binary = "nvc++"
# sccache = false

# [[matrix.build-hpc.include]]
# options = "eckit-geo"
# cxx-compiler = "icpx-2025.3.1"
# platform = "hpc-atos-intel"
# modules = ["load prgenv/intel-llvm", "unload intel", "load intel/2025.3.1", "load cmake", "load ninja"]
# c-compiler-binary = "icx"
# cxx-compiler-binary = "icpx"
[[matrix.build-hpc.include]]
options = "eckit-geo"
cxx-compiler = "icpx-2025.3.1"
platform = "hpc-atos-intel"
modules = ["load prgenv/intel-llvm", "unload intel", "load intel/2025.3.1", "load cmake", "load ninja", "load aec/1.1.6"]
c-compiler-binary = "icx"
cxx-compiler-binary = "icpx"
# icx/icpx default to fast math.
c-flags = "-fno-fast-math"
cxx-flags = "-fno-fast-math"

[[matrix.build-hpc.include]]
options = "eckit-geo"
cxx-compiler = "icpc-2023.2.0"
platform = "hpc-atos-intel"
modules = ["load prgenv/intel", "unload intel", "load intel/2023.2.0", "load cmake", "load ninja", "load aec/1.1.6"]
c-compiler-binary = "icc"
cxx-compiler-binary = "icpc"

# [[matrix.build-hpc.include]]
# options = "eckit-geo"
# cxx-compiler = "icpc-2023.2.0"
# platform = "hpc-atos-intel"
# modules = ["load prgenv/intel", "unload intel", "load intel/2023.2.0", "load cmake", "load ninja"]
# c-compiler-binary = "icc"
# cxx-compiler-binary = "icpc"

# [matrix.build-hpc]
# packages = ["eccodes"]
# execution = "hpc-atos"
# container-credentials = true
# triggers = ["upstream-change", "rebuild-request"]
[matrix.build-hpc]
packages = ["eccodes"]
execution = "hpc-atos"
container-credentials = "ECCR_PULL_ATOS_CITESTER"
triggers = ["upstream-change", "rebuild-request"]

# [matrix.fortran-hpc.defaults]
# eckit-geo-env = 1
Expand All @@ -311,7 +329,7 @@ triggers = ["upstream-change", "rebuild-request"]
# [matrix.fortran-hpc]
# packages = ["eccodes-fortran"]
# execution = "hpc-atos"
# container-credentials = true
# container-credentials = "ECCR_PULL_ATOS_CITESTER"
# triggers = ["upstream-change", "rebuild-request"]

# Debug eccodes for the lint and analysis lanes. Upstreams publish no Debug
Expand All @@ -328,9 +346,18 @@ build-type-input = "deps-build-type"

[[packages.eccodes-analysis.deps]]
repo = "ecmwf/stack-dependencies"
package = ["libaec", "netcdf"]
package = "netcdf"
ref = "master"
compiler-inputs = ["cxx-compiler"]
build-type-input = "deps-build-type"

# On Atos, libaec comes from the aec module.
[[packages.eccodes-analysis.deps]]
repo = "ecmwf/stack-dependencies"
package = "libaec"
ref = "master"
compiler-inputs = ["cxx-compiler"]
unless = { execution = "hpc-atos" }
build-type-input = "deps-build-type"

# Strict warnings, clang-tidy and cppcheck: quick enough for every PR, run by
Expand Down
Loading
Loading