dgemm_randomwalk.nix 298 Bytes
Newer Older
1
{ stdenv, src, intel, gsl, libnrm, mpich2}:
Valentin Reis's avatar
renames  
Valentin Reis committed
2
stdenv.mkDerivation {
3
  inherit src;
4
  name = "simple-benchmarks";
Valentin Reis's avatar
renames  
Valentin Reis committed
5

6
  buildInputs = [ intel.mkl intel.WrappedICC gsl libnrm mpich2 ];
Valentin Reis's avatar
renames  
Valentin Reis committed
7

8
  buildPhase = "cd simple; make";
Valentin Reis's avatar
renames  
Valentin Reis committed
9 10 11

  installPhase = ''
    mkdir -p $out/bin
12
    cp randomwalk dgemm $out/bin/
Valentin Reis's avatar
renames  
Valentin Reis committed
13 14
  '';
}