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

Update benchmark.py

parent 6df142b6
Pipeline #34853 passed with stages
in 1 minute and 39 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 '+str(self.numCores)+' --map-by core --bind-to core --report-bindings '+kernelbenchmark_exec+' '+kernelbenchmark_config
kernelbenchmark_cmd = 'mpirun -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 --allow-run-as-root -np '+str(self.numCores)+' --map-by core --bind-to core '+granulargas_exec+' '+granulargas_config
granulargas_cmd = 'mpirun -np '+str(self.numCores)+' '+granulargas_exec+' '+granulargas_config
print(granulargas_cmd)
start = time.time()
......@@ -130,7 +130,7 @@ def main():
point_time = int(time.time())
host = os.uname()[1]
print("Using "+str(numCores)+" on "+host+" for benchmarking, timestamp: "+str(point_time)+".")
print("Using "+str(numCores)+" tasks on "+host+" for benchmarking, timestamp: "+str(point_time)+".")
json_body = []
......
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