Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argo
argopkgs
Commits
a1a9174c
Commit
a1a9174c
authored
Oct 25, 2018
by
Valentin Reis
Browse files
added AMG
parent
86991df4
Changes
2
Hide whitespace changes
Inline
Side-by-side
pkgs/amg/default.nix
0 → 100644
View file @
a1a9174c
{
stdenv
,
fetchgit
,
mpich2
}:
stdenv
.
mkDerivation
{
name
=
"AMG"
;
src
=
fetchgit
{
url
=
"https://github.com/freuk/AMG.git"
;
sha256
=
"1iqdbkg4dm36qskbyfi30w6rw70g2r6mi0qhzavc21338bf4j9hy"
;
rev
=
"09fe8a78baf6ba5eaef7d2804f7b653885d60fee"
;
};
#phases = ["unpackPhase" "installPhase"];
buildInputs
=
[
mpich2
];
#buildPhase = "make ZMQ_PATH=${zeromq} MPI_INCLUDE=${mpich2}";
#propagatedBuildInputs = [zulu];
installPhase
=
''
mkdir -p $out/bin
cp test/amg $out/bin
''
;
}
pkgs/default.nix
View file @
a1a9174c
...
...
@@ -26,6 +26,7 @@ in rec {
applications
=
{
lammps
=
pkgs
.
lampps-mpi
;
amg
=
callPackage
./amg
{};
};
}
# not buildable unless results are present(uses sudo: launch expes in nix-shell)
...
...
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