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

Before Change


    _UseMpi(master_vm, num_cpus_to_use)

  // Run and collect samples
  run_command = " && ".join([
      "cd %s" % _GetWorkingDirPath(),
      "./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


    _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: 5

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: f57a568b58f15ede3aeb10538d85e7f1f7e22fec
Time: 2020-04-17
Author: liubrandon@google.com
File Name: perfkitbenchmarker/linux_benchmarks/openfoam_benchmark.py
Class Name:
Method Name: _RunCase


Project Name: matplotlib/matplotlib
Commit Name: 4f6ada2ad9c2f1340436cf9baf168dbe2d2801f9
Time: 2019-02-02
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/scale.py
Class Name:
Method Name: _get_scale_docs