
- remove the old LGPL license headers from all files in Spack - add SPDX headers to all files - core and most packages are (Apache-2.0 OR MIT) - a very small number of remaining packages are LGPL-2.1-only
31 lines
948 B
Python
31 lines
948 B
Python
# Copyright 2013-2018 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 Pflotran(AutotoolsPackage):
|
|
"""PFLOTRAN is an open source, state-of-the-art massively parallel
|
|
subsurface flow and reactive transport code.
|
|
"""
|
|
|
|
homepage = "http://www.pflotran.org"
|
|
git = "https://bitbucket.org/pflotran/pflotran.git"
|
|
|
|
version('develop')
|
|
version('xsdk-0.2.0', tag='master')
|
|
version('xsdk-0.3.0', branch='release/xsdk-0.3.0')
|
|
|
|
depends_on('mpi')
|
|
depends_on('hdf5@1.8.12:+mpi+fortran')
|
|
depends_on('petsc@develop+hdf5+metis', when='@develop')
|
|
depends_on('petsc@xsdk-0.2.0+hdf5+metis', when='@xsdk-0.2.0')
|
|
depends_on('petsc@3.8.0:+hdf5+metis', when='@xsdk-0.3.0')
|
|
|
|
@property
|
|
def parallel(self):
|
|
return self.spec.satisfies('@develop')
|