fwi: update test experiment
This commit is contained in:
parent
3de7b5a0b6
commit
7a6cbd3a9e
@ -13,13 +13,15 @@ let
|
|||||||
varConf = {
|
varConf = {
|
||||||
gitBranch = [
|
gitBranch = [
|
||||||
"garlic/tampi+send+oss+task"
|
"garlic/tampi+send+oss+task"
|
||||||
"garlic/mpi+send+omp+task"
|
# "garlic/mpi+send+omp+task"
|
||||||
"garlic/mpi+send+oss+task"
|
# "garlic/mpi+send+oss+task"
|
||||||
"garlic/mpi+send+seq"
|
# "garlic/mpi+send+seq"
|
||||||
"garlic/oss+task"
|
# "garlic/oss+task"
|
||||||
"garlic/omp+task"
|
# "garlic/omp+task"
|
||||||
"garlic/seq"
|
# "garlic/seq"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
blocksize = [ 1 2 4 ];
|
||||||
};
|
};
|
||||||
|
|
||||||
machineConfig = targetMachine.config;
|
machineConfig = targetMachine.config;
|
||||||
@ -31,7 +33,11 @@ let
|
|||||||
inherit (machineConfig) hw;
|
inherit (machineConfig) hw;
|
||||||
|
|
||||||
cc = icc;
|
cc = icc;
|
||||||
gitBranch = c.gitBranch;
|
inherit (c) gitBranch blocksize;
|
||||||
|
n = 500;
|
||||||
|
nx = n;
|
||||||
|
ny = n;
|
||||||
|
nz = n;
|
||||||
|
|
||||||
# Repeat the execution of each unit several times
|
# Repeat the execution of each unit several times
|
||||||
loops = 10;
|
loops = 10;
|
||||||
@ -50,22 +56,25 @@ let
|
|||||||
inherit varConf genConf;
|
inherit varConf genConf;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Custom stage to copy the FWI input
|
exec = {nextStage, conf, ...}:
|
||||||
#copyInput = {nextStage, conf, ...}:
|
let
|
||||||
# let
|
input = bsc.apps.fwi.input.override {
|
||||||
# input = bsc.garlic.apps.fwi;
|
inherit (conf) nx ny nz;
|
||||||
# in
|
};
|
||||||
# stages.exec {
|
in stages.exec {
|
||||||
# inherit nextStage;
|
inherit nextStage;
|
||||||
# env = ''
|
pre = ''
|
||||||
# cp -r ${input}/bin/InputModels .
|
ln -fs ${input}/InputModels InputModels || true
|
||||||
# chmod +w -R .
|
'';
|
||||||
# '';
|
argv = [
|
||||||
# argv = [
|
"${input}/fwi_params.txt"
|
||||||
# "${input}/etc/fwi/fwi_params.txt"
|
"${input}/fwi_frequencies.txt"
|
||||||
# "${input}/etc/fwi/fwi_frequencies.txt"
|
conf.blocksize
|
||||||
# ];
|
"-1" # Fordward steps
|
||||||
# };
|
"-1" # Backward steps
|
||||||
|
"-1" # Write/read frequency
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
apps = bsc.garlic.apps;
|
apps = bsc.garlic.apps;
|
||||||
|
|
||||||
@ -74,7 +83,7 @@ let
|
|||||||
inherit (conf) cc gitBranch;
|
inherit (conf) cc gitBranch;
|
||||||
};
|
};
|
||||||
|
|
||||||
pipeline = stdexp.stdPipeline ++ [ program ];
|
pipeline = stdexp.stdPipeline ++ [ exec program ];
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user