From bb27b05b24a01e7014738537b468c2afd24b47e9 Mon Sep 17 00:00:00 2001 From: iulian787 Date: Mon, 7 Dec 2020 02:21:32 -0600 Subject: tempestremap: added new package at v2.0.5, updated moab to v5.2.1 (#20014) --- .../repos/builtin/packages/tempestremap/package.py | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 var/spack/repos/builtin/packages/tempestremap/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/tempestremap/package.py b/var/spack/repos/builtin/packages/tempestremap/package.py new file mode 100644 index 0000000000..42fd94d590 --- /dev/null +++ b/var/spack/repos/builtin/packages/tempestremap/package.py @@ -0,0 +1,45 @@ +# Copyright 2013-2020 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 import * + + +class Tempestremap(AutotoolsPackage): + """ TempestRemap is a conservative, consistent and monotone remapping + package for arbitrary grid geometry with support for finite volumes + and finite elements. + + There is still quite a bit of work to be done, but any feedback is + appreciated on the software in its current form + """ + + homepage = "https://github.com/ClimateGlobalChange/tempestremap" + url = "https://github.com/ClimateGlobalChange/tempestremap/archive/v2.0.5.tar.gz" + + maintainers = ['iulian787', 'vijaysm', 'paullric'] + + version('2.0.5', sha256='8618f5cbde450922efa1d77e67b062c557788b0cf4304adca30237afe3ade887') + version('2.0.4', sha256='8349eeb604e97b13d2ecde8626a69e579a7af70ad0e8a6925a8bb4306a4963a4') + version('2.0.3', sha256='b4578c2cb101ba091a10dc914e15ac968257f5db27ca78bc9fb5dbd70bce191f') + version('2.0.2', sha256='2347bf804d19d515cb630a76b87e6dc6edcc1a828ff8c0f2a8a28e77794bad13') + version('2.0.1', sha256='a3f1bef8cc413a689d429ac56f2bcc2e1d282d99797c3375233de792a7448ece') + version('2.0.0', sha256='5850e251a4ad04fc924452f49183e5e12c38725832a568e57fa424a844b8a000') + + depends_on('autoconf', type='build') + depends_on('automake', type='build') + depends_on('libtool', type='build') + depends_on('m4', type='build') + + depends_on('netcdf-c') + depends_on('blas') + depends_on('lapack') + + def configure_args(self): + spec = self.spec + options = [] + options.append('--with-netcdf=%s' % spec['netcdf-c'].prefix) + options.append('--with-blas=%s' % spec['blas'].libs.ld_flags) + options.append('--with-lapack=%s' % spec['lapack'].libs.ld_flags) + return options -- cgit v1.2.3-70-g09d2