2018-10-08 04:52:23 +08:00
|
|
|
# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
|
|
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
2014-03-14 06:50:33 +08:00
|
|
|
#
|
2018-10-08 04:52:23 +08:00
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
2014-03-14 06:50:33 +08:00
|
|
|
from spack import *
|
|
|
|
|
2016-05-25 05:54:09 +08:00
|
|
|
|
2014-03-14 06:50:33 +08:00
|
|
|
class Launchmon(Package):
|
2014-10-08 18:07:54 +08:00
|
|
|
"""Software infrastructure that enables HPC run-time tools to
|
|
|
|
co-locate tool daemons with a parallel job."""
|
2016-05-25 05:54:09 +08:00
|
|
|
homepage = "https://github.com/LLNL/LaunchMON"
|
2016-08-11 05:05:59 +08:00
|
|
|
url = "https://github.com/LLNL/LaunchMON/releases/download/v1.0.2/launchmon-v1.0.2.tar.gz"
|
2014-03-14 06:50:33 +08:00
|
|
|
|
2016-05-25 05:54:09 +08:00
|
|
|
version('1.0.2', '8d6ba77a0ec2eff2fde2c5cc8fa7ff7a')
|
2015-07-09 02:25:41 +08:00
|
|
|
|
2016-03-09 23:46:56 +08:00
|
|
|
depends_on('autoconf', type='build')
|
|
|
|
depends_on('automake', type='build')
|
|
|
|
depends_on('libtool', type='build')
|
2016-08-10 12:16:39 +08:00
|
|
|
depends_on('libgcrypt')
|
|
|
|
depends_on('libgpg-error')
|
2017-03-10 02:36:32 +08:00
|
|
|
depends_on("elf", type='link')
|
|
|
|
depends_on("boost")
|
|
|
|
depends_on("spectrum-mpi", when='arch=ppc64le')
|
2014-03-14 06:50:33 +08:00
|
|
|
|
|
|
|
def install(self, spec, prefix):
|
2014-04-16 06:40:03 +08:00
|
|
|
configure(
|
|
|
|
"--prefix=" + prefix,
|
2014-05-02 14:01:19 +08:00
|
|
|
"--with-bootfabric=cobo",
|
2014-04-16 06:40:03 +08:00
|
|
|
"--with-rm=slurm")
|
2014-03-15 03:04:27 +08:00
|
|
|
|
2014-03-14 06:50:33 +08:00
|
|
|
make()
|
|
|
|
make("install")
|