ECP VELOC (#8581)
* kvtree package file * MPI is default on * proper mpi compiler * rankstr package * better rankstr description * typo * redset package * shuffile package * er package * axl package * proper pythor * mpi is default on * alpha releases and master versions * veloc package with boost headers dep * cmake version * added C++11 requirement * flake8 * flake8 * ecp tag * axl: better async api option handling * veloc package description * prettier args list * C++11 flag handler * v1.0 of veloc
This commit is contained in:

committed by
Adam J. Stewart

parent
891aa6ad7a
commit
c907937ff4
66
var/spack/repos/builtin/packages/veloc/package.py
Normal file
66
var/spack/repos/builtin/packages/veloc/package.py
Normal file
@@ -0,0 +1,66 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2018, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/spack/spack
|
||||
# Please also see the NOTICE and LICENSE files for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# 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
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# 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
|
||||
##############################################################################
|
||||
from spack import *
|
||||
|
||||
|
||||
class Veloc(CMakePackage):
|
||||
"""Very-Low Overhead Checkpointing System. VELOC is a multi-level
|
||||
checkpoint-restart runtime for HPC supercomputing infrastructures"""
|
||||
|
||||
homepage = "https://github.com/ECP-VeloC/VELOC"
|
||||
url = "https://github.com/ECP-VeloC/VELOC/archive/veloc-1.0rc1.zip"
|
||||
tags = ['ecp']
|
||||
|
||||
version('1.0', '98fe2d9abd2a1b53d7a52267dab91fae')
|
||||
version('1.0rc1', 'c6db0de56b5b865183b1fa719ac74c1d')
|
||||
version('master', git='https://github.com/ecp-veloc/veloc.git',
|
||||
branch='master')
|
||||
|
||||
depends_on('boost~atomic~chrono~clanglibcpp~date_time~debug~exception'
|
||||
'~filesystem~graph~icu~iostreams~locale~log~math~mpi'
|
||||
'~multithreaded~numpy~program_options~python~random~regex'
|
||||
'~serialization~shared~signals~singlethreaded~system'
|
||||
'~taggedlayout~test~thread~timer~versionedlayout~wave')
|
||||
depends_on('libpthread-stubs')
|
||||
depends_on('mpi')
|
||||
depends_on('er')
|
||||
depends_on('axl')
|
||||
depends_on('cmake@3.9:', type='build')
|
||||
|
||||
# requires C++11
|
||||
def flag_handler(self, name, flags):
|
||||
flags = list(flags)
|
||||
if name == 'cxxflags':
|
||||
flags.append(self.compiler.cxx11_flag)
|
||||
return (None, None, flags)
|
||||
|
||||
def cmake_args(self):
|
||||
args = [
|
||||
"-DWITH_AXL_PREFIX=%s" % self.spec['axl'].prefix,
|
||||
"-DWITH_ER_PREFIX=%s" % self.spec['er'].prefix,
|
||||
"-DBOOST_ROOT=%s" % self.spec['boost'].prefix
|
||||
]
|
||||
|
||||
return args
|
Reference in New Issue
Block a user