Skip to content
Snippets Groups Projects
Commit b0434fa4 authored by Todd Gamblin's avatar Todd Gamblin
Browse files

Merge pull request #221 from davidbeckingsale/features/cleverleaf-boost

Update CleverLeaf package to use Boost and fix SAMRAI MPI usage
parents fcabf0ef 36272c81
No related branches found
No related tags found
No related merge requests found
......@@ -33,11 +33,10 @@ class Samrai(Package):
# TODO: currently hard-coded to use openmpi - be careful!
def install(self, spec, prefix):
mpi = next(m for m in ('openmpi', 'mpich', 'mvapich')
if m in spec)
configure(
"--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-boost=%s" % spec['boost'].prefix,
"--with-zlib=%s" % spec['zlib'].prefix,
......
......@@ -13,7 +13,9 @@ class Cleverleaf(Package):
version('develop', git='https://github.com/UK-MAC/CleverLeaf_ref.git', branch='develop')
depends_on("SAMRAI@3.8.0")
depends_on("SAMRAI@3.8.0:")
depends_on("hdf5")
depends_on("boost")
def install(self, spec, prefix):
cmake(*std_cmake_args)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment