forked from rarias/bscpkgs
saiph: add cacheline compilation parameter
This commit is contained in:
parent
02a62c18ac
commit
37e11c749f
@ -13,7 +13,7 @@
|
|||||||
, nby ? null
|
, nby ? null
|
||||||
, nbz ? null
|
, nbz ? null
|
||||||
, vectFlags ? null
|
, vectFlags ? null
|
||||||
#, breakpointHook
|
, cachelineBytes ? 64
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
@ -59,6 +59,7 @@ stdenv.mkDerivation rec {
|
|||||||
"-f" "Makefile.${cc.CC}"
|
"-f" "Makefile.${cc.CC}"
|
||||||
"apps"
|
"apps"
|
||||||
"APP=Heat3D_vect"
|
"APP=Heat3D_vect"
|
||||||
|
"ROW_ALIGNMENT=${toString cachelineBytes}"
|
||||||
] ++ optional (nbx != null) "NB_X=${toString nbx}"
|
] ++ optional (nbx != null) "NB_X=${toString nbx}"
|
||||||
++ optional (nby != null) "NB_Y=${toString nby}"
|
++ optional (nby != null) "NB_Y=${toString nby}"
|
||||||
++ optional (nbz != null) "NB_Z=${toString nbz}"
|
++ optional (nbz != null) "NB_Z=${toString nbz}"
|
||||||
|
@ -25,16 +25,18 @@ let
|
|||||||
nby = c.nb;
|
nby = c.nb;
|
||||||
nbz = c.nb;
|
nbz = c.nb;
|
||||||
mpi = impi;
|
mpi = impi;
|
||||||
gitBranch = "garlic/tampi+isend+oss+task+simd";
|
gitBranch = "garlic/tampi+isend+omp+task+simd";
|
||||||
|
|
||||||
# Repeat the execution of each unit 50 times
|
# Repeat the execution of each unit 30 times
|
||||||
loops = 10;
|
loops = 30;
|
||||||
|
|
||||||
# Resources
|
# Resources
|
||||||
|
cachelineBytes = hw.cachelineBytes;
|
||||||
qos = "debug";
|
qos = "debug";
|
||||||
time = "02:00:00";
|
time = "02:00:00";
|
||||||
ntasksPerNode = 1;
|
ntasksPerNode = 1;
|
||||||
nodes = 1;
|
nodes = 1;
|
||||||
|
ntasksPerNode = hw.socketsPerNode;
|
||||||
cpusPerTask = hw.cpusPerSocket;
|
cpusPerTask = hw.cpusPerSocket;
|
||||||
jobName = "${unitName}-${gitBranch}";
|
jobName = "${unitName}-${gitBranch}";
|
||||||
};
|
};
|
||||||
@ -57,7 +59,7 @@ let
|
|||||||
customPkgs = stdexp.replaceMpi conf.mpi;
|
customPkgs = stdexp.replaceMpi conf.mpi;
|
||||||
in
|
in
|
||||||
customPkgs.apps.saiph.override {
|
customPkgs.apps.saiph.override {
|
||||||
inherit nbx nby nbz mpi gitBranch;
|
inherit nbx nby nbz mpi gitBranch cachelineBytes;
|
||||||
};
|
};
|
||||||
|
|
||||||
pipeline = stdexp.stdPipeline ++ [ exec program ];
|
pipeline = stdexp.stdPipeline ++ [ exec program ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user