Added the latest setup used for benchmarks

This commit is contained in:
jpekkila
2020-06-04 20:47:03 +03:00
parent 0d80834619
commit 17a4f31451
6 changed files with 182 additions and 27 deletions

View File

@@ -36,8 +36,14 @@ main(void)
// Profile and run
fprintf(fp, "mkdir -p profile_%d\n", nprocs);
fprintf(fp, "srun nvprof --annotate-mpi openmpi -o profile_%d/%%p.nvprof ./benchmark\n",
nprocs);
const int nx = 1792;
const int ny = nx;
const int nz = nx;
fprintf(fp,
"srun nvprof --annotate-mpi openmpi -o profile_%d/%%p.nvprof ./benchmark %d %d "
"%d\n",
nprocs, nx, ny, nz);
fclose(fp);
}