summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/cradl/package.py
blob: 8db35b2ddc1edafd3173e836d0ffe946881e9470 (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
# Copyright 2013-2021 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 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']

    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)