blob: e06c3d054bc0db375ef5be61bc578849731c0427 (
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-2019 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 Mpibash(AutotoolsPackage):
"""Parallel scripting right from the Bourne-Again Shell (Bash)"""
homepage = "https://github.com/lanl/MPI-Bash"
url = "https://github.com/lanl/MPI-Bash/releases/download/v1.2/mpibash-1.2.tar.gz"
version('1.2', 'b81001fb234ed79c4e5bf2f7efee3529')
depends_on('bash@4.4:')
# uses MPI_Exscan which is in MPI-1.2 and later
depends_on('mpi@1.2:')
depends_on('libcircle')
def configure_args(self):
args = [
"--with-bashdir={0}".format(self.spec['bash'].prefix.include.bash),
"CC={0}".format(self.spec['mpi'].mpicc)
]
return args
|