Commit 9d94d6d7 authored by Lukas Werner's avatar Lukas Werner
Browse files

Update benchmark.py

parent cd47f58b
Pipeline #34854 passed with stages
in 1 minute and 38 seconds
......@@ -25,7 +25,7 @@ class MeasureMESAPD:
kernelbenchmark_exec = os.path.join(self.benchmarkFolder, 'MESA_PD_KernelBenchmark')
kernelbenchmark_config = os.path.join(self.benchmarkFolder, 'MESA_PD_Benchmark.cfg')
kernelbenchmark_cmd = 'mpirun -np '+str(self.numCores)+' '+kernelbenchmark_exec+' '+kernelbenchmark_config
kernelbenchmark_cmd = 'mpirun --use-hwthread-cpus -np '+str(self.numCores)+' '+kernelbenchmark_exec+' '+kernelbenchmark_config
print(kernelbenchmark_cmd)
start = time.time()
......@@ -78,7 +78,7 @@ class MeasureMESAPD:
granulargas_exec = os.path.join(self.benchmarkFolder, 'MESA_PD_GranularGas')
granulargas_config = os.path.join(self.benchmarkFolder, 'GranularGas.cfg')
granulargas_cmd = 'mpirun -np '+str(self.numCores)+' '+granulargas_exec+' '+granulargas_config
granulargas_cmd = 'mpirun --use-hwthread-cpus -np '+str(self.numCores)+' '+granulargas_exec+' '+granulargas_config
print(granulargas_cmd)
start = time.time()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment