Skip to content

Commit 92de0a2

Browse files
committed
Merge branch 'develop' into feature/python-updates
2 parents 532cc0e + a944dc9 commit 92de0a2

14 files changed

Lines changed: 268 additions & 45 deletions

File tree

.github/workflows/ubuntu-ci-x86_64-gnu.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ jobs:
7373
# Turn off certain variants for neptune-dev (NRL internal only)
7474
if [[ "${TEMPLATE}" == *"neptune-dev"* ]]; then
7575
sed -i 's/+adp/~adp/g' ${ENVDIR}/spack.yaml
76+
sed -i 's/+sdp/~sdp/g' ${ENVDIR}/spack.yaml
7677
sed -i 's/+jedi/~jedi/g' ${ENVDIR}/spack.yaml
7778
sed -i 's/+lis-ncoda-utils/~lis-ncoda-utils/g' ${ENVDIR}/spack.yaml
7879
fi

.github/workflows/ubuntu-ci-x86_64-oneapi-ifx.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ jobs:
7373
# Turn off certain variants for neptune-dev (NRL internal only)
7474
if [[ "${TEMPLATE}" == *"neptune-dev"* ]]; then
7575
sed -i 's/+adp/~adp/g' ${ENVDIR}/spack.yaml
76+
sed -i 's/+sdp/~sdp/g' ${ENVDIR}/spack.yaml
7677
sed -i 's/+jedi/~jedi/g' ${ENVDIR}/spack.yaml
7778
sed -i 's/+lis-ncoda-utils/~lis-ncoda-utils/g' ${ENVDIR}/spack.yaml
7879
fi

.github/workflows/ubuntu-ci-x86_64-oneapi.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ jobs:
7373
# Turn off certain variants for neptune-dev (NRL internal only)
7474
if [[ "${TEMPLATE}" == *"neptune-dev"* ]]; then
7575
sed -i 's/+adp/~adp/g' ${ENVDIR}/spack.yaml
76+
sed -i 's/+sdp/~sdp/g' ${ENVDIR}/spack.yaml
7677
sed -i 's/+jedi/~jedi/g' ${ENVDIR}/spack.yaml
7778
sed -i 's/+lis-ncoda-utils/~lis-ncoda-utils/g' ${ENVDIR}/spack.yaml
7879
fi

configs/templates/neptune-dev-llvm/spack.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,7 @@ spack:
1313
- neptune-env +debug +openmp +espc +ncview ^esmf@=9.0.0b11
1414
- neptune-env ~debug ~openmp +espc +ncview ^esmf@=9.0.0b11
1515
- neptune-env +debug ~openmp +espc +ncview ^esmf@=9.0.0b11
16-
# Until we can build the entire set of dependencies for
17-
# neptune-python-env and jedi-neptune-env, we need to
18-
# add the required packages for the NEPTUNE standalone
19-
# model manually
20-
#- neptune-python-env ^neptune-env ~debug +openmp +espc +ncview ^esmf@=9.0.0b11
21-
#- jedi-neptune-env +adp ^neptune-env ~debug +openmp +espc +ncview ^esmf@=9.0.0b11
16+
2217
- py-numpy
2318
- crtm@3.1.3
2419

configs/templates/neptune-dev/spack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ spack:
2727
- neptune-env ~debug ~openmp +espc +ncview ^esmf@=9.0.0b11
2828
- neptune-env +debug ~openmp +espc +ncview ^esmf@=9.0.0b11
2929
- neptune-python-env +gittools +lis-ncoda-utils ^neptune-env ~debug +openmp +espc +ncview ^esmf@=9.0.0b11
30-
- jedi-neptune-env +adp +jedi ^neptune-env ~debug +openmp +espc +ncview ^esmf@=9.0.0b11
30+
- jedi-neptune-env +adp +sdp +jedi ^neptune-env ~debug +openmp +espc +ncview ^esmf@=9.0.0b11
3131
- crtm@3.1.3
3232

3333
packages:

repos/spack_stack/spack_repo/spack_stack/packages/adp_preprocessors/package.py

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,19 @@ class AdpPreprocessors(MakefilePackage):
1414
"""Unified, model-agnostic software system that processes atmospheric observations for the Navy's numerical weather prediction data assimilation systems"""
1515

1616
homepage = "https://github.nrlmry.navy.mil/ADP/adp-preprocessors/wiki"
17-
#git = "https://github.nrlmry.navy.mil/ADP/adp-preprocessors.git"
18-
git = "https://github.nrlmry.navy.mil/climbfuji/adp-preprocessors.git"
17+
git = "https://github.nrlmry.navy.mil/ADP/adp-preprocessors.git"
1918

2019
maintainers("climbfuji")
2120

22-
#license("UNKNOWN", checked_by="github_user1")
21+
license("custom", checked_by="climbfuji")
2322

24-
# Update commit once 1.2.0 is released
25-
version("1.2.0", commit="c6f15e46496309c3893416ba4ccec7f003b93550")
26-
version("1.1.0", commit="b2d9d4ffb472eff9ab973ef2a12f574d92c9754b")
23+
# These are not official versions; 1.1.1 lives in @climbfuji's fork.
24+
version("1.1.2", commit="729b0e7572a497b1103d0b8b1e6ff3972efd0d29")
25+
version(
26+
"1.1.1",
27+
git="https://github.nrlmry.navy.mil/climbfuji/adp-preprocessors.git",
28+
commit="c6f15e46496309c3893416ba4ccec7f003b93550"
29+
)
2730

2831
# MakefilePackage dependencies
2932
depends_on("c", type="build")
@@ -58,7 +61,7 @@ def build(self, spec, prefix):
5861
raise InstallError(f"Compiler {self.compiler.name} not configured")
5962

6063
def install(self, spec, prefix):
61-
for subdir in ['bin', 'lib', 'mod']:
64+
for subdir in ['bin', 'etc', 'lib', 'mod']:
6265
copy_tree(join_path(self.stage.source_path, subdir), join_path(prefix, subdir))
6366

6467
def check(self):

repos/spack_stack/spack_repo/spack_stack/packages/ioda/package.py

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@ class Ioda(CMakePackage):
1717
maintainers("climbfuji")
1818

1919
version("develop", branch="develop", no_cache=True)
20+
version("2.9.0.20260326", commit="9e0eb39fb87ae66667ef966cf27b62d5a804cc54")
2021
version("2.9.0.20250826", commit="6e76616001067384f7d0ca4341ad78e81527af8b")
2122

2223
patch("ioda_cmake_import.patch", when="@2.9.0.20250826")
23-
patch("ioda_yaml_root.patch", when="@2.9.0.20250826")
24+
patch("ioda_yaml_root.patch", when="@2.9.0.20250826:")
2425

2526
variant("doc", default=False, description="Build IODA documentation")
2627
# Let's always assume IODA_BUILD_LANGUAGE_FORTRAN=on.
@@ -43,7 +44,8 @@ class Ioda(CMakePackage):
4344
depends_on("bufr@12.0.1:", when="@2.9:")
4445
depends_on("bufr-query@0.0.4:", when="@2.9:")
4546
depends_on("cmake", type=("build"))
46-
depends_on("cmake@3.14:", type=("build"), when="@2.9:")
47+
depends_on("cmake@3.15:", type=("build"), when="@2.9.0.20260326")
48+
depends_on("cmake@3.14:", type=("build"), when="@2.9.0.20250826")
4749
depends_on("ecbuild", type=("build"))
4850
depends_on("ecbuild@3.3.2:", type=("build"), when="@2.9:")
4951
depends_on("eckit")
@@ -55,7 +57,8 @@ class Ioda(CMakePackage):
5557
depends_on("hdf5@1.12.0: +mpi")
5658
depends_on("hdf5@1.14.0: +mpi", when="@2.9:")
5759
depends_on("ioda-data", type=("build", "test"))
58-
depends_on("ioda-data@2.9.0.20250805", type=("build", "test"), when="@2.9:")
60+
depends_on("ioda-data@2.9.0.20260319", type=("build", "test"), when="@2.9.0.20260326")
61+
depends_on("ioda-data@2.9.0.20250805", type=("build", "test"), when="@2.9.0.20250826")
5962
depends_on("jedi-cmake", type=("build"))
6063
depends_on("llvm-openmp", when="+openmp %apple-clang", type=("build", "link", "run"))
6164
depends_on("mpi")
@@ -65,7 +68,8 @@ class Ioda(CMakePackage):
6568
depends_on("odc@1.4.6:", when="@2.9: +odc")
6669
depends_on("oops+openmp", when="+openmp")
6770
depends_on("oops~openmp", when="~openmp")
68-
depends_on("oops@1.10", when="@2.9:")
71+
depends_on("oops@1.10.0.20260331", when="@2.9.0.20260326")
72+
depends_on("oops@1.10.0.20250827", when="@2.9.0.20250826")
6973
depends_on("python")
7074
depends_on("python@3.9:3.11", when="@2.9:")
7175
depends_on("py-pybind11")
@@ -94,19 +98,16 @@ def check(self):
9498
"test_ioda_bufr_python_encoder",
9599
"test_ioda_bufr_python_parallel",
96100
]
101+
with when("@2.9.0.20260326"):
102+
# No time to deal with the bufr Python dependency
103+
skipped_tests = [
104+
"ioda_bufr_python_encoder",
105+
"ioda_bufr_python_parallel",
106+
]
97107

98108
ctest = Executable(self.spec["cmake"].prefix.bin.ctest)
99109
with working_dir(self.build_directory):
100110
if skipped_tests:
101111
ctest("--timeout", "120", "-E", "|".join(skipped_tests))
102112
else:
103113
ctest("--timeout", "120")
104-
105-
#@run_after("install")
106-
#def fix_ioda_yaml_root_path(self):
107-
# with when("@2.9.0.20250826"):
108-
# filter_file(
109-
# join_path(self.build_directory, "share/test/testinput/"),
110-
# join_path(self.prefix, "share/ioda/yaml"),
111-
# join_path(self.prefix, "lib64/cmake/ioda/ioda-import.cmake"),
112-
# )

repos/spack_stack/spack_repo/spack_stack/packages/ioda_converters/package.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,14 @@ def check(self):
8080
# >> 2169 The following tests FAILED:
8181
# 52 - test_iodaconv_mrms (Timeout) iodaconv
8282
"test_iodaconv_mrms",
83+
#2: ./gsi_ncdiag.py:80:77: E502 the backslash is redundant between brackets
84+
#2: ./gsi_ncdiag.py:81:53: E502 the backslash is redundant between brackets
85+
#2: checking ./ncdiag_to_feedback.py
86+
#2: checking ./proc_gsi_ncdiag.py
87+
#2: checking ./test_gsidiag.py
88+
#2: 2 E502 the backslash is redundant between brackets
89+
#1/1 Test #2: iodaconv_gsi_ncdiag_coding_norms ...***Failed 0.30 sec
90+
"iodaconv_gsi_ncdiag_coding_norms",
8391
]
8492

8593
ctest = Executable(self.spec["cmake"].prefix.bin.ctest)

repos/spack_stack/spack_repo/spack_stack/packages/ioda_data/package.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,9 @@ class IodaData(CMakePackage):
1717
maintainers("climbfuji")
1818

1919
version("develop", branch="develop", no_cache=True)
20+
version("2.9.0.20260319", commit="2886c75398b4b3bdd3a4235298af188370727c2e")
2021
version("2.9.0.20250805", commit="c6f8842648ea473eebc9f66d7c27e2204e5220d6")
2122

22-
# patch("ioda_cmake_import.patch", when="@2.9.0.20250826")
23-
#
24-
# variant("doc", default=False, description="Build IODA documentation")
25-
# # Let's always assume IODA_BUILD_LANGUAGE_FORTRAN=on.
26-
# # variant('fortran', default=True, description='Build the ioda Fortran interface')
27-
# variant("odc", default=True, description="Build ODC bindings")
28-
# # ioda has no explicit OpenMP calls, but header files from Eigen and oops do use openmp.
29-
# variant("openmp", default=True, description="Build with OpenMP support")
30-
# # Let's always BUILD_PYTHON_BINDINGS.
31-
# # variant('python', default=True, description='Build the ioda Python interface')
32-
3323
generator("make")
3424

3525
depends_on("c", type=("build"))

repos/spack_stack/spack_repo/spack_stack/packages/jedi_neptune_env/package.py

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ class JediNeptuneEnv(BundlePackage):
1717

1818
maintainers("climbfuji", "areineke")
1919

20+
version("1.1.0")
2021
version("1.0.0")
2122

2223
variant("adp", default=False, description="Build ADP preprocessors")
24+
variant("sdp", default=False, description="Build SDP preprocessors")
2325

2426
variant("jedi", default=False, description="Build JEDI components required for JEDI-NEPTUNE")
2527

@@ -30,7 +32,10 @@ class JediNeptuneEnv(BundlePackage):
3032
with when("+adp"):
3133
depends_on("adp-preprocessors", type="run")
3234

33-
with when("+jedi"):
35+
with when("+sdp"):
36+
depends_on("sdp-preprocessors", type="run")
37+
38+
with when("@1.0.0 +jedi"):
3439
# https://github.com/JCSDA/spack-stack/issues/2015
3540
# Changed type from "run" to "build" so that
3641
# the modules don't get loaded automatically
@@ -40,3 +45,12 @@ class JediNeptuneEnv(BundlePackage):
4045
depends_on("ioda-converters@0.0.1.20250830", type="build")
4146
depends_on("ropp-ufo@11.0.20251022", type="build")
4247
depends_on("ufo@1.10.0.20250821 +ropp", type="build")
48+
49+
with when("@1.1.0 +jedi"):
50+
depends_on("oops@1.10.0.20260331", type="build")
51+
depends_on("crtm@3.1.3", type="build")
52+
depends_on("ioda@2.9.0.20260326", type="build")
53+
# Same ioda-converters and ropp-ufo as for 1.0.0
54+
depends_on("ioda-converters@0.0.1.20250830", type="build")
55+
depends_on("ropp-ufo@11.0.20251022", type="build")
56+
depends_on("ufo@1.10.0.20260331 +ropp", type="build")

0 commit comments

Comments
 (0)