blob: 5ad3dcc0fbe03afcdab5caa38676a21f02f5ec51 (
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
|
# 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 Rempi(AutotoolsPackage):
"""ReMPI is a record-and-replay tool for MPI applications."""
homepage = "https://github.com/PRUNERS/ReMPI"
url = "https://github.com/PRUNERS/ReMPI/releases/download/v1.0.0/ReMPI-1.0.0.tar.gz"
version("1.1.0", sha256="4fd94fca52311fd19dc04a32547841e6c1c1656b7999b2f76f537d6ec24efccc")
version("1.0.0", sha256="1cb21f457cf8a04632150156a2ba699dd0c3f81d47e8881a9b943b9bf575fa01")
depends_on("mpi")
depends_on("zlib")
depends_on("autoconf", type='build')
depends_on("automake", type='build')
depends_on("libtool", type='build')
depends_on("libpciaccess", type='link')
def setup_build_environment(self, env):
if self.spec.satisfies('%cce'):
env.set('MPICC', 'mpicc')
env.set('MPICXX', 'mpicxx')
env.set('MPICH_CC', 'cc')
|