Add CREAMS app
This commit is contained in:
parent
7c68efe743
commit
577a7c3190
41
bsc/apps/creams/default.nix
Normal file
41
bsc/apps/creams/default.nix
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
{
|
||||||
|
stdenv
|
||||||
|
, nanos6
|
||||||
|
, mpi
|
||||||
|
, tampi
|
||||||
|
, mcxx
|
||||||
|
, icc
|
||||||
|
, strace
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "creams";
|
||||||
|
|
||||||
|
src = builtins.fetchGit {
|
||||||
|
url = "ssh://git@bscpm02.bsc.es/pmartin1/creams-simplified.git";
|
||||||
|
ref = "MPI+OmpSs-2+TAMPI";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
nanos6
|
||||||
|
mpi
|
||||||
|
icc
|
||||||
|
tampi
|
||||||
|
mcxx
|
||||||
|
strace
|
||||||
|
];
|
||||||
|
|
||||||
|
hardeningDisable = [ "all" ];
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
#export NIX_DEBUG=6
|
||||||
|
export TAMPI_HOME=${tampi}
|
||||||
|
. etc/bashrc
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp -a build/* $out/bin
|
||||||
|
'';
|
||||||
|
|
||||||
|
}
|
@ -136,6 +136,15 @@ let
|
|||||||
boost = pkgs.boost;
|
boost = pkgs.boost;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
creams = callPackage ./bsc/apps/creams/default.nix {
|
||||||
|
stdenv = pkgs.gcc9Stdenv;
|
||||||
|
mpi = intel-mpi;
|
||||||
|
tampi = tampi.override {
|
||||||
|
mpi = intel-mpi;
|
||||||
|
};
|
||||||
|
nanos6 = nanos6-git;
|
||||||
|
};
|
||||||
|
|
||||||
# Patched nix for deep cluster
|
# Patched nix for deep cluster
|
||||||
inherit (callPackage ./bsc/nix/default.nix {
|
inherit (callPackage ./bsc/nix/default.nix {
|
||||||
storeDir = "/nix/store";
|
storeDir = "/nix/store";
|
||||||
|
Loading…
Reference in New Issue
Block a user