diff --git a/pkgs/tools/system/ior/default.nix b/pkgs/tools/system/ior/default.nix new file mode 100644 index 00000000000..6b294931851 --- /dev/null +++ b/pkgs/tools/system/ior/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchurl, openmpi, automake, autoconf, perl }: + +let + version = "3.0.1"; + sha256 = "039rh4z3lsj4vqjsqgakk0b7dkrdrkkzj0p1cjikpc9gn36zpghc"; +in + +stdenv.mkDerivation rec { + name = "ior-${version}"; + + src = fetchurl { + url = "https://github.com/LLNL/ior/archive/${version}.tar.gz"; + inherit sha256; + }; + + buildInputs = [ openmpi automake autoconf perl ]; + + enableParallelBuilding = true; + + preConfigure = "./bootstrap"; + + meta = with stdenv.lib; { + homepage = "http://www.nersc.gov/users/computational-systems/cori/nersc-8-procurement/trinity-nersc-8-rfp/nersc-8-trinity-benchmarks/ior/"; + description = "Parallel file system I/O performance test"; + license = licenses.gpl2; + platforms = platforms.linux; + maintainers = with maintainers; [ bzizou ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 237c3393db1..14d34ace62b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2247,6 +2247,8 @@ in ioping = callPackage ../tools/system/ioping { }; iops = callPackage ../tools/system/iops { }; + + ior = callPackage ../tools/system/ior { }; iodine = callPackage ../tools/networking/iodine { };