2014-03-13 15:50:33 -07:00
|
|
|
##############################################################################
|
2017-09-07 05:44:16 +02:00
|
|
|
# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC.
|
2014-03-13 15:50:33 -07:00
|
|
|
# Produced at the Lawrence Livermore National Laboratory.
|
|
|
|
#
|
|
|
|
# This file is part of Spack.
|
2016-05-11 21:22:25 -07:00
|
|
|
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
2014-03-13 15:50:33 -07:00
|
|
|
# LLNL-CODE-647188
|
|
|
|
#
|
2017-11-04 17:08:04 -07:00
|
|
|
# For details, see https://github.com/spack/spack
|
2017-06-24 22:22:55 -07:00
|
|
|
# Please also see the NOTICE and LICENSE files for our notice and the LGPL.
|
2014-03-13 15:50:33 -07:00
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
2016-05-11 21:22:25 -07:00
|
|
|
# it under the terms of the GNU Lesser General Public License (as
|
|
|
|
# published by the Free Software Foundation) version 2.1, February 1999.
|
2014-03-13 15:50:33 -07:00
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful, but
|
|
|
|
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
2016-05-11 21:22:25 -07:00
|
|
|
# conditions of the GNU Lesser General Public License for more details.
|
2014-03-13 15:50:33 -07:00
|
|
|
#
|
2016-05-11 21:22:25 -07:00
|
|
|
# You should have received a copy of the GNU Lesser General Public
|
|
|
|
# License along with this program; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
2014-03-13 15:50:33 -07:00
|
|
|
##############################################################################
|
|
|
|
from spack import *
|
|
|
|
|
2016-05-24 14:54:09 -07:00
|
|
|
|
2014-03-13 15:50:33 -07:00
|
|
|
class Launchmon(Package):
|
2014-10-08 03:07:54 -07:00
|
|
|
"""Software infrastructure that enables HPC run-time tools to
|
|
|
|
co-locate tool daemons with a parallel job."""
|
2016-05-24 14:54:09 -07:00
|
|
|
homepage = "https://github.com/LLNL/LaunchMON"
|
2016-08-10 14:05:59 -07:00
|
|
|
url = "https://github.com/LLNL/LaunchMON/releases/download/v1.0.2/launchmon-v1.0.2.tar.gz"
|
2014-03-13 15:50:33 -07:00
|
|
|
|
2016-05-24 14:54:09 -07:00
|
|
|
version('1.0.2', '8d6ba77a0ec2eff2fde2c5cc8fa7ff7a')
|
2015-07-08 11:25:41 -07:00
|
|
|
|
2016-03-09 10:46:56 -05:00
|
|
|
depends_on('autoconf', type='build')
|
|
|
|
depends_on('automake', type='build')
|
|
|
|
depends_on('libtool', type='build')
|
2016-08-09 21:16:39 -07:00
|
|
|
depends_on('libgcrypt')
|
|
|
|
depends_on('libgpg-error')
|
2017-03-09 10:36:32 -08:00
|
|
|
depends_on("elf", type='link')
|
|
|
|
depends_on("boost")
|
|
|
|
depends_on("spectrum-mpi", when='arch=ppc64le')
|
2014-03-13 15:50:33 -07:00
|
|
|
|
|
|
|
def install(self, spec, prefix):
|
2014-04-15 15:40:03 -07:00
|
|
|
configure(
|
|
|
|
"--prefix=" + prefix,
|
2014-05-01 23:01:19 -07:00
|
|
|
"--with-bootfabric=cobo",
|
2014-04-15 15:40:03 -07:00
|
|
|
"--with-rm=slurm")
|
2014-03-14 12:04:27 -07:00
|
|
|
|
2014-03-13 15:50:33 -07:00
|
|
|
make()
|
|
|
|
make("install")
|