Update osu benchmarks to 7.1-1

This commit is contained in:
Rodrigo Arias 2023-06-16 16:27:47 +02:00
parent 080811fe9d
commit b953fd4b2f

View File

@ -6,12 +6,12 @@
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "5.7"; version = "7.1-1";
name = "osu-micro-benchmarks-${version}"; name = "osu-micro-benchmarks-${version}";
src = fetchurl { src = fetchurl {
url = "http://mvapich.cse.ohio-state.edu/download/mvapich/osu-micro-benchmarks-${version}.tar.gz"; url = "https://mvapich.cse.ohio-state.edu/download/mvapich/osu-micro-benchmarks-${version}.tar.gz";
sha256 = "1425ygxpk3kyy6ilh4f6qjsjdyx0gjjzs7ic1cb7zjmn1vhfnw0l"; sha256 = "sha256-hfTdi+HfMSVeIyhSdprluC6HpfsUvi+Ouhrp3o/+ORo=";
}; };
doCheck = true; doCheck = true;
@ -25,10 +25,9 @@ stdenv.mkDerivation rec {
postInstall = '' postInstall = ''
mkdir -p $out/bin mkdir -p $out/bin
cp $out/libexec/osu-micro-benchmarks/mpi/one-sided/* $out/bin/ for f in $(find $out -executable -type f); do
cp $out/libexec/osu-micro-benchmarks/mpi/collective/* $out/bin/ ln -s "$f" $out/bin/$(basename "$f")
cp $out/libexec/osu-micro-benchmarks/mpi/pt2pt/* $out/bin/ done
cp $out/libexec/osu-micro-benchmarks/mpi/startup/* $out/bin/
''; '';
meta = { meta = {