25bd8661dd2764668d6851ffd54ad89fcb6a6cbf,perfkitbenchmarker/linux_packages/blazemark.py,,_Configure,#Any#,177
Before Change
def _Configure(vm):
Configure and build blazemark on vm.
vm.PushDataFile(CONFIG, BLAZEMARK_DIR)
vm.RemoteCommand(
"cd %s;sed -i \"s|FORTRAN_PATH|%s|\" %s" % (
BLAZEMARK_DIR,
os.path.dirname(fortran.GetLibPath(vm)),
CONFIG))
vm.RemoteCommand("cd %s; ./configure %s; make -j %s" % (
BLAZEMARK_DIR, CONFIG, vm.num_cpus))
After Change
def _Configure(vm):
Configure and build blazemark on vm.
vm.RenderTemplate(
data.ResourcePath(CONFIG_TEMPLATE),
os.path.join(BLAZEMARK_DIR, CONFIG),
{"compiler": ""g++-5"",
"compiler_flags": (
""-Wall -Wextra -Werror -Wshadow -Woverloaded-virtual -ansi -O3 "
"-mavx -DNDEBUG -fpermissive -ansi -O3 -DNDEBUG "
"-DBLAZE_USE_BOOST_THREADS --std=c++14""),
"lapack_path": ""/tmp/pkb/lapack-3.6.1/lib"",
"lapack_libs": ""-llapack -lblas -L%s -lgfortran""
% os.path.dirname(fortran.GetLibPath(vm))})
vm.RemoteCommand("cd %s; ./configure %s; make -j %s" % (
BLAZEMARK_DIR, CONFIG, vm.num_cpus))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 25bd8661dd2764668d6851ffd54ad89fcb6a6cbf
Time: 2016-11-22
Author: yuyanting@google.com
File Name: perfkitbenchmarker/linux_packages/blazemark.py
Class Name:
Method Name: _Configure
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: c59e11423b78dbedc607b7cac7c994c6f26df87b
Time: 2020-12-03
Author: chriswilkes@google.com
File Name: perfkitbenchmarker/linux_benchmarks/hpcc_benchmark.py
Class Name:
Method Name: CreateHpccinf
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: cea66214cdd9d4d1c689780058ec145d50bd43ff
Time: 2014-12-03
Author: ehankland@google.com
File Name: perfkitbenchmarker/benchmarks/aerospike_benchmark.py
Class Name:
Method Name: Prepare