From d68e73d00627ca1233a443c53c3b6a9ebac6cb96 Mon Sep 17 00:00:00 2001 From: Dom Heinzeller Date: Tue, 12 Dec 2023 12:26:57 -0700 Subject: New package Model Coupling Toolkit (MCT) (#41564) * New package Model Coupling Toolkit (MCT) * Remove ~mpi variant from mct, build is not working correctly * Remove boilerplate stuff from var/spack/repos/builtin/packages/mct/package.py --- var/spack/repos/builtin/packages/mct/package.py | 26 +++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 var/spack/repos/builtin/packages/mct/package.py diff --git a/var/spack/repos/builtin/packages/mct/package.py b/var/spack/repos/builtin/packages/mct/package.py new file mode 100644 index 0000000000..d805f1520d --- /dev/null +++ b/var/spack/repos/builtin/packages/mct/package.py @@ -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 Mct(AutotoolsPackage): + """Model Coupling Toolkit (MCT): toolkit to support the construction + of highly portable and extensible high-performance couplers for + distributed memory parallel coupled models.""" + + homepage = "https://github.com/MCSclimate/MCT" + url = "https://github.com/MCSclimate/MCT/archive/refs/tags/MCT_2.11.0.tar.gz" + + maintainers("climbfuji") + + # This is a custom license that doesn't match any of the ones listed + # in https://spdx.org/licenses/, but similar to Creative Commons? + license("https://github.com/MCSclimate/MCT/blob/master/LICENSE") + + version("2.11.0", sha256="1b2a30bcba0081226ff1f1f5152e82afa3a2bb911215883965e669f776dcb365") + version("2.10.0", sha256="42f32e3ab8bba31d16a1c6c9533f717a9d950e42c9b03b864b3436335d4e1b71") + + depends_on("mpi") -- cgit v1.2.3-70-g09d2