Commit df816997 authored by Valentin Reis's avatar Valentin Reis
Browse files

[pkgs] fixing sample applications.

parent 7d4fdce1
File added
{ stdenv, src, zeromq, intel, gsl, libnrm, mpich2}: { stdenv, src, intel, gsl, libnrm, mpich2}:
stdenv.mkDerivation { stdenv.mkDerivation {
inherit src; inherit src;
name = "simple-benchmarks"; name = "simple-benchmarks";
requiredSystemFeatures = [ "icc"]; buildInputs = [ intel.mkl intel.WrappedICC gsl libnrm mpich2 ];
buildInputs = [ zeromq intel.mkl intel.WrappedICC gsl libnrm mpich2 ];
buildPhase = "cd simple; make"; buildPhase = "cd simple; make";
......
{ stdenv, src, fetchgit, mpich2, zeromq, libnrm }: { stdenv, src, fetchgit, mpich2, libnrm }:
stdenv.mkDerivation { stdenv.mkDerivation {
inherit src; inherit src;
name = "graph500"; name = "graph500";
......
...@@ -75,7 +75,7 @@ let ...@@ -75,7 +75,7 @@ let
rec { rec {
raw = pkgs.lib.mapAttrs rawApplication paths; raw = pkgs.lib.mapAttrs rawApplication paths;
nrm = (pkgs.lib.mapAttrs instrumentedApplication paths) // { nrm = (pkgs.lib.mapAttrs instrumentedApplication paths) // {
dgemm_randomwalk = cpBothAlternatePin applications/simple {inherit intel; inherit (nodelevel) libnrm;} "dgemm_randomwalk"; dgemm_randomwalk = cpBothAlternatePin applications/simple { inherit (nodelevel) libnrm;} "dgemm_randomwalk";
graph500 = cpBothAlternatePin applications/simple { inherit (nodelevel) libnrm;} "graph500"; graph500 = cpBothAlternatePin applications/simple { inherit (nodelevel) libnrm;} "graph500";
}; };
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment