From b856e2147a31f7bad19dfec8b47fa12fef1c4a8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Pe=C3=B1acoba?= Date: Tue, 27 Oct 2020 18:13:21 +0100 Subject: [PATCH] Use discrete deps in nanos6. Pass nblocks to omp version and use the same experiments as oss --- garlic/exp/hpcg/omp.nix | 9 ++++++--- garlic/exp/hpcg/oss.nix | 1 + 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/garlic/exp/hpcg/omp.nix b/garlic/exp/hpcg/omp.nix index bf3d59d..84f682c 100644 --- a/garlic/exp/hpcg/omp.nix +++ b/garlic/exp/hpcg/omp.nix @@ -11,23 +11,25 @@ with stdenv.lib; let # Initial variable configuration varConf = with bsc; { - n = [ 104 64 ]; + n = [ 200 104 64 ]; + nblocks = [ 128 ]; }; # Generate the complete configuration for each unit genConf = with bsc; c: targetMachine.config // rec { # hpcg options n = c.n; + nblocks = c.nblocks; cc = icc; mpi = null; # TODO: Remove this for omp - gitBranch = "garlic/seq"; + gitBranch = "garlic/omp"; # Repeat the execution of each unit 30 times loops = 30; # Resources qos = "debug"; - ntasksPerNode = 48; + ntasksPerNode = 1; nodes = 1; time = "02:00:00"; cpuBind = "sockets,verbose"; @@ -45,6 +47,7 @@ let "--nx=${toString n}" "--ny=${toString n}" "--nz=${toString n}" + "--nblocks=${toString nblocks}" ]; }; diff --git a/garlic/exp/hpcg/oss.nix b/garlic/exp/hpcg/oss.nix index 0cfc395..4f353bb 100644 --- a/garlic/exp/hpcg/oss.nix +++ b/garlic/exp/hpcg/oss.nix @@ -45,6 +45,7 @@ let exec = {nextStage, conf, ...}: with conf; stages.exec { inherit nextStage; + env = "NANOS6_DEPENDENCIES=discrete"; argv = [ "--nx=${toString n}" "--ny=${toString n}"