Commit d7ad74e7 authored by Lukas Werner's avatar Lukas Werner
Browse files

Update benchmark.py

parent 91559450
Pipeline #331465 failed with stages
in 11 minutes and 31 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 --allow-run-as-root -np '+self.numCores+' --map-by core --bind-to core --report-bindings '+kernelbenchmark_exec+' '+kernelbenchmark_config
kernelbenchmark_cmd = 'mpirun --allow-run-as-root -np '+min(8, self.numCores)+' --map-by core --bind-to core --report-bindings '+kernelbenchmark_exec+' '+kernelbenchmark_config
print(kernelbenchmark_cmd)
start = time.time()
......@@ -79,7 +79,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 --allow-run-as-root -np '+self.numCores+' --map-by core --bind-to core '+granulargas_exec+' '+granulargas_config
granulargas_cmd = 'mpirun --allow-run-as-root -np '+min(8, self.numCores)+' --map-by core --bind-to core '+granulargas_exec+' '+granulargas_config
print(granulargas_cmd)
start = time.time()
......
Supports Markdown
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