Merge pull request #158 from davidbeckingsale/features/cleverleaf
Add CleverLeaf package
This commit is contained in:
commit
76100a6f08
@ -12,6 +12,7 @@ class Samrai(Package):
|
|||||||
list_url = homepage
|
list_url = homepage
|
||||||
|
|
||||||
version('3.9.1', '232d04d0c995f5abf20d94350befd0b2')
|
version('3.9.1', '232d04d0c995f5abf20d94350befd0b2')
|
||||||
|
version('3.8.0', 'c18fcffa706346bfa5828b36787ce5fe')
|
||||||
version('3.7.3', '12d574eacadf8c9a70f1bb4cd1a69df6')
|
version('3.7.3', '12d574eacadf8c9a70f1bb4cd1a69df6')
|
||||||
version('3.7.2', 'f6a716f171c9fdbf3cb12f71fa6e2737')
|
version('3.7.2', 'f6a716f171c9fdbf3cb12f71fa6e2737')
|
||||||
version('3.6.3-beta', 'ef0510bf2893042daedaca434e5ec6ce')
|
version('3.6.3-beta', 'ef0510bf2893042daedaca434e5ec6ce')
|
||||||
@ -37,8 +38,6 @@ def install(self, spec, prefix):
|
|||||||
|
|
||||||
configure(
|
configure(
|
||||||
"--prefix=%s" % prefix,
|
"--prefix=%s" % prefix,
|
||||||
"--with-CXX=%s" % spec[mpi].prefix.bin + "/mpic++",
|
|
||||||
"--with-CC=%s" % spec[mpi].prefix.bin + "/mpicc",
|
|
||||||
"--with-hdf5=%s" % spec['hdf5'].prefix,
|
"--with-hdf5=%s" % spec['hdf5'].prefix,
|
||||||
"--with-boost=%s" % spec['boost'].prefix,
|
"--with-boost=%s" % spec['boost'].prefix,
|
||||||
"--with-zlib=%s" % spec['zlib'].prefix,
|
"--with-zlib=%s" % spec['zlib'].prefix,
|
||||||
|
21
var/spack/packages/cleverleaf/package.py
Normal file
21
var/spack/packages/cleverleaf/package.py
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
from spack import *
|
||||||
|
|
||||||
|
class Cleverleaf(Package):
|
||||||
|
"""
|
||||||
|
CleverLeaf is a hydrodynamics mini-app that extends CloverLeaf with Adaptive
|
||||||
|
Mesh Refinement using the SAMRAI toolkit from Lawrence Livermore National
|
||||||
|
Laboratory. The primary goal of CleverLeaf is to evaluate the application of
|
||||||
|
AMR to the Lagrangian-Eulerian hydrodynamics scheme used by CloverLeaf.
|
||||||
|
"""
|
||||||
|
|
||||||
|
homepage = "http://uk-mac.github.io/CleverLeaf/"
|
||||||
|
url = "https://github.com/UK-MAC/CleverLeaf/tarball/master"
|
||||||
|
|
||||||
|
version('develop', git='https://github.com/UK-MAC/CleverLeaf_ref.git', branch='develop')
|
||||||
|
|
||||||
|
depends_on("SAMRAI@3.8.0")
|
||||||
|
|
||||||
|
def install(self, spec, prefix):
|
||||||
|
cmake(*std_cmake_args)
|
||||||
|
make()
|
||||||
|
make("install")
|
Loading…
Reference in New Issue
Block a user