19bcced2c09ddcf559237bfcf4db4e6ebc321c79,perfkitbenchmarker/linux_benchmarks/openfoam_benchmark.py,,Run,#Any#,296

Before Change


      "./Allclean",
      "time ./Allrun"
  ])
  _, run_output = master_vm.RemoteCommand(run_command)
  samples = _GetSamples(run_output)
  common_metadata = {
      "case_name": FLAGS.openfoam_case,
      "dimensions": dimensions,

After Change


  if num_vms > 1:
    _UseMpi(master_vm, num_cpus_to_use)

  samples = []
  for dimensions in FLAGS.openfoam_dimensions:
    results = _RunCase(master_vm, dimensions)
    common_metadata = {
        "case_name": FLAGS.openfoam_case,
        "dimensions": dimensions,
        "total_cpus_available": num_cpus_available,
        "total_cpus_used": num_cpus_to_use,
        "openfoam_version": _GetOpenfoamVersion(master_vm),
        "openmpi_version": _GetOpenmpiVersion(master_vm),
        "mpi_mapping": FLAGS.openfoam_mpi_mapping,
    }
    for result in results:
      result.metadata.update(common_metadata)
    samples.extend(results)
  return samples


def Cleanup(benchmark_spec):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 19bcced2c09ddcf559237bfcf4db4e6ebc321c79
Time: 2019-12-26
Author: liubrandon@google.com
File Name: perfkitbenchmarker/linux_benchmarks/openfoam_benchmark.py
Class Name:
Method Name: Run


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: af786a83c4d65a6db5288b6a1ad0c6e05fb2c208
Time: 2020-06-24
Author: yuyanting@google.com
File Name: perfkitbenchmarker/linux_packages/memtier.py
Class Name:
Method Name: Run


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: f57a568b58f15ede3aeb10538d85e7f1f7e22fec
Time: 2020-04-17
Author: liubrandon@google.com
File Name: perfkitbenchmarker/linux_benchmarks/openfoam_benchmark.py
Class Name:
Method Name: _RunCase