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

Refactoring the sources.

parent 7de91298
{
"url": "https://xgitlab.cels.anl.gov/argo/applications/amg.git",
"rev": "0dba2c6921427179967cc7a0ed634d15f1aef332",
"date": "2018-11-01T09:06:46-05:00",
"sha256": "0fblwhf9kcciak9f8mkn3gqxs5f907n2wfiflhmr1cc3d1cn80dx",
"fetchSubmodules": true
}
#!/usr/bin/env bash
nix-prefetch-git https://xgitlab.cels.anl.gov/argo/applications/amg.git refs/heads/master > default.json
#!/usr/bin/env bash
nix-prefetch-git https://xgitlab.cels.anl.gov/argo/applications/openmc.git refs/heads/master > default.json
Understand why tests fail. Some fortran interfaces do not have the right version in the packages.
#!/usr/bin/env bash
nix-prefetch-git https://xgitlab.cels.anl.gov/argo/applications/qmcpack.git refs/heads/master > default.json
{ stdenv, fetchgit, gfortran }:
{ stdenv, src fetchgit, gfortran }:
stdenv.mkDerivation {
name = "stream";
src = fetchgit {
url="https://github.com/freuk/STREAM.git";
sha256="0yvchhp4vhliy1r55v2bq9f70cwr3974vadbpi3mpxk7dcm41rm5";
};
nativeBuildInputs = [ gfortran ];
......
#!/usr/bin/env bash
nix-prefetch-git https://xgitlab.cels.anl.gov/argo/applications/stream.git refs/heads/master > default.json
......@@ -27,25 +27,46 @@ let
pythonPackages = pkgs.python27Packages;
in rec {
#NRM components
nodelevel = {
libnrm = callPackagePin {path="libnrm";};
nrm-containers = callPackagePin {path = "./containers";
containers = callPackagePin
{
path = "./containers";
depset= { inherit pythonPackages; };
};
containers-bandit = callPackagePin
{
path = "./containers";
depset= { inherit pythonPackages; };
jsonName = "bandit";
};
nrm = callPackage ./nrm {
inherit pythonPackages nrm-containers;
src = packagepins.nrm.bandit;
nrm = callPackagePin {
path= "./nrm";
depset = { inherit pythonPackages nrm-containers; };
};
nrm-bandit = callPackagePin {
path= "./nrm";
depset = {
inherit pythonPackages nrm-containers;
nrm-containers = nrm-containers-bandit;
};
jsonName = "bandit";
};
}
#Instrumented applications
applications = rec {
lammps = pkgs.lammps-mpi;
amg = callPackage applications/amg {};
qmcpack = callPackage applications/qmcpack {};
openmc = callPackage applications/openmc {};
stream = callPackage applications/stream {};
graph500 = callPackagePin {path="applications/simple/graph500";};
simple = callPackagePin {path="applications/simple/dgemm_randomwalk"; depset={inherit intel libnrm;};};
stream = callPackage {path="applications/stream";};
openmc = callPackage {path="applications/openmc";};
qmcpack = callPackage {path="applications/qmcpack";};
amg = callPackage {path="applications/amg";};
graph500 = callPackagePin {path="applications/simple"; nixName = "graph500";};
simple = callPackagePin {path="applications/simple"; nixName = "dgemm_randomwalk"; depset={inherit intel libnrm;};};
};
#Intel compilers
......
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