forked from rarias/bscpkgs
First attempt to create an experiment with CREAMS: strong scaling from 1 to 16 nodes using the pure MPI version
This commit is contained in:
27
garlic/creams/input.nix
Normal file
27
garlic/creams/input.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
stdenv
|
||||
, nodes
|
||||
, gitBranch
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "creams-input";
|
||||
|
||||
# src = /home/Computational/pmartin1/creams-simplified;
|
||||
|
||||
src = builtins.fetchGit {
|
||||
url = "ssh://git@bscpm02.bsc.es/pmartin1/creams-simplified.git";
|
||||
ref = "${gitBranch}";
|
||||
};
|
||||
|
||||
phases = [ "unpackPhase" "installPhase" ];
|
||||
|
||||
installPhase = ''
|
||||
pushd SodTubeBenchmark
|
||||
bash gridScript.sh 0 0 $((${toString nodes}*48)) 0
|
||||
popd
|
||||
|
||||
mkdir -p $out
|
||||
cp -a SodTubeBenchmark $out/
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user