diff --git a/Appli-iso3dfd/test_nb_threads.py b/Appli-iso3dfd/test_nb_threads.py index 07b38c5a1553ce8a6b9f0bc9625907d8eb3995fd..f2f1121e1cb18c9fcbd35e1874649bfef469055f 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'):