Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
2ba21a8
Add mepo
climbfuji Nov 21, 2023
58e01c2
Add geos-gcm-env
climbfuji Nov 22, 2023
9140b8c
Merge branch 'jcsda_emc_spack_stack' of https://github.com/jcsda/spac…
climbfuji Dec 4, 2023
049ad1b
Merge branch 'jcsda_emc_spack_stack' of https://github.com/jcsda/spac…
climbfuji Dec 7, 2023
a65ae8d
Merge branch 'jcsda_emc_spack_stack' into feature/geos_gcm_dependencies
climbfuji Dec 13, 2023
fc69ae9
Merge branch 'jcsda_emc_spack_stack' into feature/geos_gcm_dependencies
climbfuji Dec 13, 2023
308b81d
Merge branch 'jcsda_emc_spack_stack' of https://github.com/jcsda/spac…
climbfuji Dec 13, 2023
738dece
Merge branch 'feature/geos_gcm_dependencies' of https://github.com/cl…
climbfuji Dec 13, 2023
6b7f86a
Add missing dependency on blas to var/spack/repos/jcsda-emc-bundles/p…
climbfuji Dec 14, 2023
5aa071a
Merge branch 'jcsda_emc_spack_stack' of https://github.com/jcsda/spac…
climbfuji Dec 14, 2023
bd79112
Add missing dependency py-numpy for geos-gcm-env
climbfuji Dec 19, 2023
559ebda
Merge branch 'jcsda_emc_spack_stack' of https://github.com/jcsda/spac…
climbfuji Dec 19, 2023
798183e
Don't use spack mapl in geos-gcm-env, since it builds its own version…
climbfuji Dec 28, 2023
abec421
Merge branch 'jcsda_emc_spack_stack' of https://github.com/jcsda/spac…
climbfuji Jan 11, 2024
a7802ce
Merge branch 'jcsda_emc_spack_stack' of https://github.com/jcsda/spac…
climbfuji Jan 16, 2024
9643f49
Fix style errors in var/spack/repos/jcsda-emc-bundles/packages/geos-g…
climbfuji Jan 17, 2024
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
26 changes: 26 additions & 0 deletions var/spack/repos/builtin/packages/mepo/package.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack.package import *


class Mepo(Package):
"""Tool to manage (m)ultiple git r(epo)sitories"""

homepage = "https://github.com/GEOS-ESM/mepo"
url = "https://github.com/GEOS-ESM/mepo/archive/refs/tags/v1.51.1.tar.gz"

maintainers("mathomp4", "climbfuji")

version("1.51.1", sha256="543c1e7487afb2d62e5e8c8a2f69a85af1b1951f588f3dfc7471763e90847360")

depends_on("python", type="run")
depends_on("py-pyyaml@5.4:", type="run")

def install(self, spec, prefix):
mkdirp(prefix.bin)
install_tree(".", prefix)
# Symlink mepo to bin directory
symlink(join_path(prefix, "mepo"), join_path(prefix.bin, "mepo"))
33 changes: 33 additions & 0 deletions var/spack/repos/jcsda-emc-bundles/packages/geos-gcm-env/package.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack.package import *


class GeosGcmEnv(BundlePackage):
"""Development environment for GEOS-GCM"""

homepage = "https://gmao.gsfc.nasa.gov/GEOS_systems"
git = "https://github.com/GEOS-ESM/GEOSgcm"

maintainers("climbfuji", "mathomp4", "danholdaway")

# Current version
version("1.0.0")

depends_on("base-env", type="run")
depends_on("blas", type="run")
depends_on("mepo", type="run")
depends_on("esmf", type="run")
# mapl is built as part of GEOS, don't load;
# needs external gftl-shared/fargparse/pflogger
# depends_on("mapl", type="run")
depends_on("gftl-shared", type="run")
depends_on("fargparse", type="run")
depends_on("pflogger", type="run")
#
depends_on("py-numpy", type="run")

# There is no need for install() since there is no code.