From 779962920c2e48def56f77dc17087e48710bb6cf Mon Sep 17 00:00:00 2001 From: EMILE PROST <emile.prost@student-cs.fr> Date: Mon, 5 Apr 2021 15:51:28 +0200 Subject: [PATCH] correction_indice --- Appli-iso3dfd/test_nb_threads.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Appli-iso3dfd/test_nb_threads.py b/Appli-iso3dfd/test_nb_threads.py index 07b38c5..f2f1121 100644 --- a/Appli-iso3dfd/test_nb_threads.py +++ b/Appli-iso3dfd/test_nb_threads.py @@ -5,13 +5,13 @@ import os import launcher_SUBP import tools -throughputs = [] +throughputs = [0 for i in range(4,9)] mean_throughtputs = [] launcher_SUBP.compileSUBP(optimization="-O3", simd="avx512") -for nb_threads in range(4,9): +for nb_threads in range(0,5): for iter in range(6): - res = subprocess.run("mpirun -np 1 -map-by ppr:1:socket -bind-to socket bin/* 512 256 512 " + str(nb_threads) + " 100 128 20 9", shell=True, + res = subprocess.run("mpirun -np 1 -map-by ppr:1:socket -bind-to socket bin/* 512 256 512 " + str(nb_threads+4) + " 100 128 20 9", shell=True, stdout=subprocess.PIPE) for line in str(res.stdout,'utf-8').split('\n'): -- GitLab