Skip to content

Commit

Permalink
add nvbandwidth applicaiton
Browse files Browse the repository at this point in the history
  • Loading branch information
rfbgo committed Jan 11, 2024
1 parent 63bfddc commit e7dd55f
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions var/ramble/repos/builtin/applications/nvbandwidth/application.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Copyright 2022-2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
# https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
# <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
# option. This file may not be copied, modified, or distributed
# except according to those terms.

from ramble.appkit import *
from ramble.expander import Expander


class Nvbandwidth(SpackApplication):
'''Define the nvbandwidth benchmark'''
name = 'nvbandwidth'

maintainers('rfbgo')

tags('synthetic-benchmarks')

software_spec('nvbandwidth', spack_spec='nvbandwidth')

required_package('nvbandwidth')

workload('all_benchmarks', executable='nvbandwidth')

workload_variable('transfer-size', default='1m',
description='Transfer Size',
workloads=['multi-file', 'single-file'])

executable(name='nvbandwidth', template='nvbandwidth', use_mpi=False)

figure_of_merit('SUM {metric}',
fom_regex=r'SUM\s+(?P<metric>\w+)\s+(?P<value>\d+\.\d+)',
group_name='value',
units='GB/s')

0 comments on commit e7dd55f

Please sign in to comment.