osu-micro-benchmarks: init at 7.5.2 (#493715)

This commit is contained in:
Sandro
2026-02-28 22:04:11 +00:00
committed by GitHub
2 changed files with 64 additions and 0 deletions
+6
View File
@@ -25258,6 +25258,12 @@
githubId = 7669898;
name = "Katharina Fey";
};
spaghetti-stack = {
email = "spaghetti_stack@protonmail.com";
github = "spaghetti-stack";
githubId = 44814450;
name = "spaghetti-stack";
};
spalf = {
email = "tom@tombarrett.xyz";
name = "tom barrett";
@@ -0,0 +1,58 @@
{
lib,
stdenv,
fetchurl,
mpi,
}:
let
mpiDev = lib.getDev mpi;
in
stdenv.mkDerivation (finalAttrs: {
pname = "osu-micro-benchmarks";
version = "7.5.2";
src = fetchurl {
url = "https://mvapich.cse.ohio-state.edu/download/mvapich/osu-micro-benchmarks-${finalAttrs.version}.tar.gz";
hash = "sha256-YY3j0LESL3OpIpF30toeXNYuQxGQWAy5FfJgWEnLu9w=";
};
nativeBuildInputs = [ mpi ];
buildInputs = [ mpi ];
configureFlags = [
"CC=${mpiDev}/bin/mpicc"
"CXX=${mpiDev}/bin/mpicxx"
];
enableParallelBuilding = true;
postInstall = ''
mkdir -p $out/bin
find $out/libexec -name 'osu_*' -type f -executable | while read -r f; do
ln -s "$f" "$out/bin/"
done
'';
meta = {
description = "OSU Micro-Benchmarks for MPI";
longDescription = ''
The OSU microbenchmark suite is a collection of independent message passing interface (MPI) performance
benchmarks. It includes performance measures such as latency, bandwidth, and host overhead.
Common benchmarks:
- osu_latency: Point-to-point latency
- osu_bw: Point-to-point bandwidth
- osu_bibw: Bidirectional bandwidth
- osu_allreduce: Collective allreduce
- osu_alltoall: Collective all-to-all
'';
homepage = "https://mvapich.cse.ohio-state.edu/benchmarks/";
license = lib.licenses.bsd3;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ spaghetti-stack ];
mainProgram = "osu_latency";
};
})