summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/cradl/package.py
blob: 068d54c5ae4e6c9aabfeb7c1e934bae7308a0990 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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 Cradl(Package):
    """The CRADL proxy application captured performance metrics during
    inference on data from multiphysics codes, specifically ALE
    hydrodynamics codes."""

    homepage = "https://github.com/LLNL/CRADL"
    url = "https://github.com/LLNL/CRADL/archive/master.zip"
    git = "https://github.com/LLNL/CRADL.git"

    tags = ["proxy-app"]

    license("BSD-3-Clause")

    version("master", branch="master")

    depends_on("py-pandas")
    depends_on("py-torch")
    depends_on("py-torchvision")
    depends_on("py-apex")
    depends_on("py-gputil")
    depends_on("py-matplotlib")
    depends_on("py-mpi4py")

    def install(self, spec, prefix):
        # Mostly  about providing an environment so just copy everything
        install_tree(".", prefix)