@@ -0,0 +1,2578 @@
+##############################################################################%0A# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.%0A# Produced at the Lawrence Livermore National Laboratory.%0A#%0A# This file is part of Spack.%0A# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.%0A# LLNL-CODE-647188%0A#%0A# For details, see https://github.com/llnl/spack%0A# Please also see the LICENSE file for our notice and the LGPL.%0A#%0A# This program is free software; you can redistribute it and/or modify%0A# it under the terms of the GNU Lesser General Public License (as%0A# published by the Free Software Foundation) version 2.1, February 1999.%0A#%0A# This program is distributed in the hope that it will be useful, but%0A# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF%0A# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and%0A# conditions of the GNU Lesser General Public License for more details.%0A#%0A# You should have received a copy of the GNU Lesser General Public%0A# License along with this program; if not, write to the Free Software%0A# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA%0A##############################################################################%0Afrom spack import *%0A%0A%0Aclass Libsplash(Package):%0A    %22%22%22%0A    libSplash aims at developing a HDF5-based I/O library for HPC simulations.%0A    It is created as an easy-to-use frontend for the standard HDF5 library%0A    with support for MPI processes in a cluster environment. While the%0A    standard HDF5 library provides detailed low-level control, libSplash%0A    simplifies tasks commonly found in large-scale HPC simulations, such as%0A    iterative computations and MPI distributed processes.%0A    %22%22%22%0A%0A    homepage = %22https://github.com/ComputationalRadiationPhysics/libSplash%22%0A    url      = %22https://github.com/ComputationalRadiationPhysics/libSplash/archive/v1.4.0.tar.gz%22%0A%0A    version('1.4.0', '2de37bcef6fafa1960391bf44b1b50e0')%0A    version('1.3.1', '524580ba088d97253d03b4611772f37c')%0A    version('1.2.4', '3fccb314293d22966beb7afd83b746d0')%0A%0A    variant('mpi', default=True,%0A            description='Enable parallel I/O (one-file aggregation) support')%0A%0A    depends_on('cmake', type='build')%0A    depends_on('hdf5@1.8.6:', when='~mpi')%0A    depends_on('hdf5@1.8.6:+mpi', when='+mpi')%0A    depends_on('mpi', when='+mpi')%0A%0A    def install(self, spec, prefix):%0A        with working_dir('spack-build', create=True):%0A            cmake('-DCMAKE_INSTALL_PREFIX=%25s' %25 prefix,%0A                  '..', *std_cmake_args)%0A%0A            make()%0A            make('install')%0A

Add Spack Package