Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argo
argopkgs
Commits
ab15600e
Commit
ab15600e
authored
Jan 28, 2019
by
Valentin Reis
Browse files
Adds the separate argotk repository.
parent
a7e6a113
Pipeline
#5031
passed with stage
in 1 minute and 3 seconds
Changes
7
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
pkgs/applications/qmcpack/default.nix
View file @
ab15600e
{
stdenv
,
src
,
fetchgit
,
open
mpi
,
cmake
,
liblapack
,
openblas
,
fftw
,
libxml2
,
hdf5
,
pythonPackages
,
hdf5-fortran
,
gfortran
,
boost
{
stdenv
,
src
,
fetchgit
,
mpi
ch2
,
cmake
,
liblapack
,
openblas
Compat
,
fftw
,
libxml2
,
hdf5
,
pythonPackages
,
hdf5-fortran
,
gfortran
,
boost
,
libnrm
,
nrmSupport
?
false
}:
let
...
...
@@ -7,17 +7,14 @@ in
stdenv
.
mkDerivation
{
inherit
src
;
name
=
"qmcpack"
;
cmakeFlags
=
[
"-DCMAKE_C_COMPILER=
${
openmpi
}
/bin/mpicc"
"-DCMAKE_CXX_COMPILER=
${
openmpi
}
/bin/mpic++"
]
++
optionals
nrmSupport
[
cmakeFlags
=
optionals
nrmSupport
[
"-DQMC_INCLUDE=
${
libnrm
}
/include/"
"-DQMC_EXTRA_LIBS=
${
libnrm
}
/lib/libnrm.so"
];
nativeBuildInputs
=
[
cmake
open
mpi
];
nativeBuildInputs
=
[
cmake
mpi
ch2
];
buildInputs
=
[
liblapack
openblas
openblas
Compat
fftw
libxml2
hdf5
...
...
pkgs/applications/qmcpack/nrm.json
View file @
ab15600e
...
...
@@ -3,5 +3,5 @@
"rev"
:
"766910a4e2bb6ac5ece0a9f233a83825bf1da16e"
,
"date"
:
"2018-12-06T11:04:17-06:00"
,
"sha256"
:
"0vpyw0ffmsvwlg7fz8dwq9n2v723aqa5jy6vxa4m8yfy6pghyann"
,
"fetchSubmodules"
:
tru
e
"fetchSubmodules"
:
fals
e
}
pkgs/applications/simple/dgemm_randomwalk.json
View file @
ab15600e
{
"url"
:
"https://xgitlab.cels.anl.gov/argo/applications/simple.git"
,
"rev"
:
"
b6ccaaeab909a0479780bdb9d942cb63def3793f
"
,
"date"
:
"201
8-11-02T13:47:1
0-0
5
:00"
,
"sha256"
:
"0
j8c54k5xprpr1lan8kx3d7dxhpfml3510zwmx6y8bnfb619j7xn
"
,
"fetchSubmodules"
:
tru
e
"rev"
:
"
349ecc8700ff09f40cca9c6ed49c078d79d47b60
"
,
"date"
:
"201
9-01-23T14:15:0
0-0
6
:00"
,
"sha256"
:
"0
ylz2g2cdvrr04f2h7xk3jgfx2cvn0lnc1fy3pjmg2050i6qxqvh
"
,
"fetchSubmodules"
:
fals
e
}
pkgs/applications/simple/dgemm_randomwalk.nix
View file @
ab15600e
{
stdenv
,
src
,
intel
,
gsl
,
libnrm
,
mpich2
,
libnrm
}:
{
stdenv
,
src
,
gsl
,
libnrm
,
mpich2
}:
stdenv
.
mkDerivation
{
inherit
src
;
name
=
"
simple-benchmarks
"
;
name
=
"
dgemm-randomwalk
"
;
buildInputs
=
[
intel
.
mkl
intel
.
WrappedICC
gsl
libnrm
mpich2
];
buildInputs
=
[
gsl
libnrm
mpich2
];
buildPhase
=
"cd simple; make"
;
buildPhase
=
"cd simple; make
randomwalk
"
;
installPhase
=
''
mkdir -p $out/bin
cp randomwalk
dgemm
$out/bin/
cp randomwalk $out/bin/
''
;
}
pkgs/applications/simple/graph500.nix
View file @
ab15600e
...
...
@@ -3,7 +3,7 @@ stdenv.mkDerivation {
inherit
src
;
name
=
"graph500"
;
buildInputs
=
[
mpich2
zeromq
libnrm
];
buildInputs
=
[
mpich2
libnrm
];
buildPhase
=
''
cd graph500/src
...
...
pkgs/argotk/master.json
0 → 100644
View file @
ab15600e
{
"fetch"
:
{
"args"
:
{
"fetchSubmodules"
:
false
,
"rev"
:
"bcfc6a61a46c98ed8935596bf7de953e125c3882"
,
"sha256"
:
"07hg00zjbzpbynjwgjil2h2jmam4d9pcakly84g3k778afnl1srb"
,
"url"
:
"https://xgitlab.cels.anl.gov/argo/argotk.git"
},
"fn"
:
"fetchgit"
},
"rev"
:
"refs/heads/master"
,
"type"
:
"fetchgit"
,
"url"
:
"https://xgitlab.cels.anl.gov/argo/argotk.git"
}
\ No newline at end of file
pkgs/default.nix
View file @
ab15600e
...
...
@@ -48,9 +48,7 @@ let
buildInputs
=
oldAttrs
.
buildInputs
++
[
pkgs
.
mpich2
];
});
containers
=
cpDefaultPin
./containers
{
inherit
pythonPackages
;
};
#containers-bandit = cpAlternatePin ./containers { inherit pythonPackages; } "bandit";
nrm
=
cpDefaultPin
./nrm
{
inherit
pythonPackages
;
nrm-containers
=
containers
;
};
#nrm-bandit = cpAlternatePin ./nrm { inherit pythonPackages; nrm-containers=containers-bandit; } "bandit";
};
#Instrumented applications
...
...
@@ -59,7 +57,7 @@ let
paths
=
{
amg
=
applications/amg
;
qmcpack
=
applications/qmcpack
;
#
openmc = applications/openmc;
openmc
=
applications/openmc
;
stream
=
applications/stream
;
lammps
=
applications/lammps
;
};
...
...
@@ -93,6 +91,11 @@ let
asv-nix
=
callPackage
./tools/asv-nix/default.nix
{
inherit
asv
;
};
aml
=
cpDefaultPin
./aml
{};
argotk
=
let
argotk
=
(
pkgs
.
nix-update-source
.
fetch
argotk/master.json
)
.
src
;
argotkPkgs
=
import
"
${
argotk
}
/default.nix"
{
pkgs
=
pkgs
;};
in
argotkPkgs
.
argotk
;
};
in
pkgs
//
argopkgs
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment