-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feature/experiment-scaling
- Loading branch information
Showing
8 changed files
with
136 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# Copyright 2023 Lawrence Livermore National Security, LLC and other | ||
# Benchpark Project Developers. See the top-level COPYRIGHT file for details. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
ramble: | ||
include: | ||
- ./configs/software.yaml | ||
- ./configs/variables.yaml | ||
- ./configs/modifier.yaml | ||
config: | ||
deprecated: true | ||
spack_flags: | ||
install: '--add --keep-stage' | ||
concretize: '-U -f' | ||
|
||
modifiers: | ||
- name: allocation | ||
|
||
applications: | ||
phloem: | ||
workloads: | ||
sqmr: | ||
variables: | ||
experiments: | ||
phloem_sqmr_strong_{n_ranks}: | ||
variants: | ||
package_manager: spack | ||
variables: | ||
n_ranks: '{num_cores}*{num_nbors}+{num_cores}' | ||
num_cores: ['1','2','4'] | ||
num_nbors: '{num_cores}' | ||
mpiBench: | ||
experiments: | ||
phloem_mpiBench_strong_{n_ranks}: | ||
variants: | ||
package_manager: spack | ||
variables: | ||
n_ranks: '2' | ||
|
||
mpiGraph: | ||
experiments: | ||
phloem_mpiGraph_strong_{n_ranks}: | ||
variants: | ||
package_manager: spack | ||
variables: | ||
n_ranks: '2' | ||
software: | ||
packages: | ||
phloem: | ||
pkg_spec: phloem@master +mpi | ||
compiler: default-compiler | ||
environments: | ||
phloem: | ||
packages: | ||
- default-mpi | ||
- phloem | ||
- '{modifier_package_name}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Copyright 2023 Lawrence Livermore National Security, LLC and other | ||
# Benchpark Project Developers. See the top-level COPYRIGHT file for details. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
import sys | ||
|
||
from ramble.appkit import * | ||
|
||
|
||
class Phloem(ExecutableApplication): | ||
"""Phloem benchmark""" | ||
name = "Phloem" | ||
|
||
executable('p1', 'sqmr --num_cores={num_cores} --num_nbors={num_nbors}', use_mpi=True) | ||
executable('p2', 'mpiBench', use_mpi=True) | ||
executable('p3', 'mpiGraph', use_mpi=True) | ||
workload('sqmr', executables=['p1']) | ||
workload('mpiBench', executables=['p2']) | ||
workload('mpiGraph', executables=['p3']) | ||
|
||
workload_variable('num_cores', default='1', | ||
description='Number of MPI ranks on the core node, correlates to number of cores on one compute node.', | ||
workloads=['sqmr']) | ||
|
||
workload_variable('num_nbors', default='1', | ||
description='Number of distinct neighbors to each rank on the core node.', | ||
workloads=['sqmr']) | ||
#TODO: Figure out FOMs | ||
figure_of_merit('TBD', | ||
log_file='{experiment_run_dir}/{experiment_name}.out', | ||
fom_regex=r'.*', | ||
group_name='fom', units='usec') | ||
success_criteria('pass', mode='string', match=r'.*', file='{experiment_run_dir}/{experiment_name}.out') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Copyright 2023 Lawrence Livermore National Security, LLC and other | ||
# Benchpark Project Developers. See the top-level COPYRIGHT file for details. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
from spack.package import * | ||
|
||
class Phloem(MakefilePackage): | ||
tags = [] | ||
|
||
url = "https://github.com/LLNL/phloem/archive/refs/tags/v1.4.5.tar.gz" | ||
git = "https://github.com/LLNL/phloem" | ||
|
||
maintainers("knox10") | ||
|
||
version("master", branch="master") | ||
|
||
variant("mpi", default=False, description="Build with MPI support") | ||
|
||
depends_on("mpi", when="+mpi") | ||
|
||
def install(self, spec, prefix): | ||
mkdir(prefix.bin) | ||
mkdir(prefix.doc) | ||
install("mpigraph-1.6/mpiBench/mpiBench", prefix.bin) | ||
install("sqmr-1.1.0/sqmr", prefix.bin) | ||
install("mpigraph-1.6/mpiGraph/mpiGraph", prefix.bin) | ||
install("README", prefix.doc) |