blob: 08e520ca0f96694f16fbb56e0fd8e79ba39c11c8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 2013-2023 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)
import os
from spack.package import *
class Netgauge(AutotoolsPackage):
"""Netgauge is a high-precision network parameter measurement
tool. It supports benchmarking of many different network protocols
and communication patterns. The main focus lies on accuracy,
statistical analysis and easy extensibility.
"""
homepage = "http://unixer.de/research/netgauge/"
url = "http://unixer.de/research/netgauge/netgauge-2.4.6.tar.gz"
license("BSD-3-Clause-Open-MPI")
version("2.4.6", sha256="dc9398e4e042efec70881f2c7074ff18cc5b74bc5ffc4b8a4aaf813b39f83444")
depends_on("mpi")
def configure_args(self):
args = []
args.append("MPICC=%s" % os.path.basename(self.spec["mpi"].mpicc))
args.append("MPICXX=%s" % os.path.basename(self.spec["mpi"].mpicxx))
return args
|