anujpathania / hotsniper Goto Github PK
View Code? Open in Web Editor NEWAn EDA toolchain for interval thermal simulations of 2D multi-/many-cores in an open system.
License: Other
An EDA toolchain for interval thermal simulations of 2D multi-/many-cores in an open system.
License: Other
Dear professors:
i am new to HotSniper, i want to know whether it distinguish between local and remote NUCA cache accesses for core-to-cache address mapping.
Can i assign the specific core to access the specific remote nuca cache or manually control the switch of the cache. Of course, it is discussed in the case of LLC.
Hope to get your reply kindly.
Yours sincerely,
Walter
Hi,
Does the open scheduler model the DVFS transition latency for every dvfs epoch whenever the frequency of core changes ?
Regards,
Gaurav
Hello,
Does Matex provide support for generating a thermal model for a 3D system, as provided by the HotSpot tool ?
Regards,
Gaurav
ERROR: cannot verify parsec.cs.princeton.edu's certificate, issued by 'CN=R3,O=Let's Encrypt,C=US':
Issued certificate has expired
Working after adding '--no-check-certificate' in /benchmark/parsec/Makefile
line 6: wget -O - http://parsec.cs.princeton.edu/download/2.1/parsec-2.1-core.tar.gz --no-check-certificate | tar xz --keep-old-files ; true
line21: wget -O - http://parsec.cs.princeton.edu/download/2.1/parsec-2.1-sim.tar.gz --no-check-certificate | tar xz
line 25: wget -O - http://parsec.cs.princeton.edu/download/2.1/parsec-2.1-native.tar.gz --no-check-certificate | tar xz
I have tried to install pin and moved to pin_kit. But when I tried to run "make" command, I am getting the error "Cannot find Pin in /home/vaishnavi/Desktop/project/sniper-latest/sniper/pin_kit/pin. Please download and extract Pin version 71313" I am currently using pin version 3.18.
Using Dockerfile-ubuntu-16.04, the default approach in README doesn't produce lib/pin_sim
Dockerfile-Ubuntu-18.04 doesn't produce, either.
result of running:
[SNIPER] Start
E: Unable to load /home/catty2014/Documents/Sniper/HotSniper/lib/pin_sim
[SNIPER] End
[SNIPER] Elapsed time: 0.02 seconds
Manual building of pin_sim results in many errors.
$ make /home/catty2014/Documents/Sniper/HotSniper/pin/../lib/pin_sim.so
Makefile:60: /home/catty2014/Documents/Sniper/HotSniper/pin/../lib/pin_sim.so
[DEP ] pin/lite/handle_syscalls.d
[DEP ] pin/lite/memory_modeling.d
[DEP ] pin/lite/routine_replace.d
[DEP ] pin/pin_thread.d
[DEP ] pin/trace_rtn.d
[DEP ] pin/pin_sim.d
[DEP ] pin/pin_tls.d
[DEP ] pin/pin_exceptions.d
[DEP ] pin/local_storage.d
[DEP ] pin/toolreg.d
[DEP ] pin/codecache_trace.d
[DEP ] pin/instruction_modeling.d
[DEP ] pin/spin_loop_detection.d
[DEP ] pin/pin_lock.d
[DEP ] pin/inst_mode.d
Makefile:60: /home/catty2014/Documents/Sniper/HotSniper/pin/../lib/pin_sim.so
[CXX ] pin/inst_mode.o
[CXX ] pin/pin_lock.o
[CXX ] pin/spin_loop_detection.o
[CXX ] pin/instruction_modeling.o
In file included from /home/catty2014/Documents/Sniper/HotSniper/pin/../common/misc/allocator.h:5:0,
from /home/catty2014/Documents/Sniper/HotSniper/pin/../common/performance_model/dynamic_instruction.h:7,
from /home/catty2014/Documents/Sniper/HotSniper/pin/../pin/instruction_modeling.cc:16:
/home/catty2014/Documents/Sniper/HotSniper/pin/../common/misc/FSBAllocator.hh: In member function 'void* FSBAllocator_ElemAllocator<ElemSize, MaxElem, TypeToAlloc>::allocate()':
/home/catty2014/Documents/Sniper/HotSniper/pin/../common/misc/FSBAllocator.hh:133:73: error: cannot use typeid with -fno-rtti
char *nameoftype = abi::__cxa_demangle(typeid(TypeToAlloc).name(), 0, 0, &status);
^
In file included from /home/catty2014/Documents/Sniper/HotSniper/pin/../common/performance_model/dynamic_instruction.h:7:0,
from /home/catty2014/Documents/Sniper/HotSniper/pin/../pin/instruction_modeling.cc:16:
/home/catty2014/Documents/Sniper/HotSniper/pin/../common/misc/allocator.h: In destructor 'virtual TypedAllocator<T, MaxItems>::~TypedAllocator()':
/home/catty2014/Documents/Sniper/HotSniper/pin/../common/misc/allocator.h:52:60: error: cannot use typeid with -fno-rtti
char *nameoftype = abi::__cxa_demangle(typeid(T).name(), 0, 0, &status);
^
/home/catty2014/Documents/Sniper/HotSniper/pin/../common/Makefile.common:82: recipe for target '/home/catty2014/Documents/Sniper/HotSniper/pin/../pin/instruction_modeling.o' failed
make: *** [/home/catty2014/Documents/Sniper/HotSniper/pin/../pin/instruction_modeling.o] Error 1
[catty2014@d4979c0be71c pin]$ make /home/catty2014/Documents/Sniper/HotSniper/pin/../lib/pin_sim.so -j 4
Makefile:60: /home/catty2014/Documents/Sniper/HotSniper/pin/../lib/pin_sim.so
[CXX ] pin/instruction_modeling.o
[CXX ] pin/codecache_trace.o
[CXX ] pin/toolreg.o
[CXX ] pin/local_storage.o
In file included from /home/catty2014/Documents/Sniper/HotSniper/pin/../common/misc/allocator.h:5:0,
from /home/catty2014/Documents/Sniper/HotSniper/pin/../common/performance_model/dynamic_instruction.h:7,
from /home/catty2014/Documents/Sniper/HotSniper/pin/../pin/instruction_modeling.cc:16:
/home/catty2014/Documents/Sniper/HotSniper/pin/../common/misc/FSBAllocator.hh: In member function 'void* FSBAllocator_ElemAllocator<ElemSize, MaxElem, TypeToAlloc>::allocate()':
/home/catty2014/Documents/Sniper/HotSniper/pin/../common/misc/FSBAllocator.hh:133:73: error: cannot use typeid with -fno-rtti
char *nameoftype = abi::__cxa_demangle(typeid(TypeToAlloc).name(), 0, 0, &status);
^
In file included from /home/catty2014/Documents/Sniper/HotSniper/pin/../common/performance_model/dynamic_instruction.h:7:0,
from /home/catty2014/Documents/Sniper/HotSniper/pin/../pin/instruction_modeling.cc:16:
/home/catty2014/Documents/Sniper/HotSniper/pin/../common/misc/allocator.h: In destructor 'virtual TypedAllocator<T, MaxItems>::~TypedAllocator()':
/home/catty2014/Documents/Sniper/HotSniper/pin/../common/misc/allocator.h:52:60: error: cannot use typeid with -fno-rtti
char *nameoftype = abi::__cxa_demangle(typeid(T).name(), 0, 0, &status);
^
[CXX ] pin/pin_exceptions.o
/home/catty2014/Documents/Sniper/HotSniper/pin/../common/Makefile.common:82: recipe for target '/home/catty2014/Documents/Sniper/HotSniper/pin/../pin/instruction_modeling.o' failed
make: *** [/home/catty2014/Documents/Sniper/HotSniper/pin/../pin/instruction_modeling.o] Error 1
make: *** Waiting for unfinished jobs....
[catty2014@d4979c0be71c pin]$ make /home/catty2014/Documents/Sniper/HotSniper/pin/../lib/pin_sim.so -j 4
Makefile:60: /home/catty2014/Documents/Sniper/HotSniper/pin/../lib/pin_sim.so
[CXX ] pin/instruction_modeling.o
[CXX ] pin/pin_tls.o
[CXX ] pin/pin_sim.o
[CXX ] pin/trace_rtn.o
In file included from /home/catty2014/Documents/Sniper/HotSniper/pin/../common/misc/allocator.h:5:0,
from /home/catty2014/Documents/Sniper/HotSniper/pin/../common/performance_model/dynamic_instruction.h:7,
from /home/catty2014/Documents/Sniper/HotSniper/pin/../pin/instruction_modeling.cc:16:
/home/catty2014/Documents/Sniper/HotSniper/pin/../common/misc/FSBAllocator.hh: In member function 'void* FSBAllocator_ElemAllocator<ElemSize, MaxElem, TypeToAlloc>::allocate()':
/home/catty2014/Documents/Sniper/HotSniper/pin/../common/misc/FSBAllocator.hh:133:73: error: cannot use typeid with -fno-rtti
char *nameoftype = abi::__cxa_demangle(typeid(TypeToAlloc).name(), 0, 0, &status);
^
In file included from /home/catty2014/Documents/Sniper/HotSniper/pin/../common/performance_model/dynamic_instruction.h:7:0,
from /home/catty2014/Documents/Sniper/HotSniper/pin/../pin/instruction_modeling.cc:16:
/home/catty2014/Documents/Sniper/HotSniper/pin/../common/misc/allocator.h: In destructor 'virtual TypedAllocator<T, MaxItems>::~TypedAllocator()':
/home/catty2014/Documents/Sniper/HotSniper/pin/../common/misc/allocator.h:52:60: error: cannot use typeid with -fno-rtti
char *nameoftype = abi::__cxa_demangle(typeid(T).name(), 0, 0, &status);
Dear professors:
I want to do some experiments with S-NUCA Cache and the config that i want is a many-core with L2 cache being the physically distributed LLC. (that means the cache levels is 2----the L1 cache(include i-cache and d-cache) is private for each core and L2 cache is shared by NoC).
For this reason, I have made the following configuration changes:
1.in base.cfg
[perf_model/nuca/enabled = true]
, [perf_model/l1_icache/perfect = true]
, [perf_model/l1_dcache/perfect = true]
, [perf_model/l2_cache/perfect = true]
2.in nehalem.cfg
[perf_model/cache/levels = 2]
and at the same time i annotate the informations about l3_cahe(i noticed that the default setting is three levels cache, and the l3_cache as the llc)
But after these changes still can't succeed, can u tell me how should i set it up correctly?
Hope to get your reply kindly.
Regards,
Walter
I receive this error when trying to make run a test case in test folder.
I have no name!@fb1bb023ade4:/home/cthi4086/HotSniper/test/api$ make run
../../run-sniper -n 2 -c gainestown --roi -g --api/simple/cores_per_socket=1 -- ./api
[SNIPER] Start
/home/cthi4086/HotSniper/pin_kit/intel64/bin/pinbin: error while loading shared libraries: libstlport-dynamic.so: cannot open shared object file: No such file or directory
[SNIPER] End
[SNIPER] Elapsed time: 0.03 seconds
Makefile:8: recipe for target 'run_api' failed
make: *** [run_api] Error 127
After "sudo make" in the second step (make in docker folder)
I am getting this-
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Processing triggers for libc-bin (2.31-0ubuntu9.1) ...
E: Could not configure 'libc6:i386'.
E: Could not perform immediate configuration on 'libgcc-s1:i386'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)
The command '/bin/sh -c apt-get update && apt-get install -y python screen tmux binutils libc6:i386 libncurses5:i386 libstdc++6:i386 && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
make: *** [Makefile:6: all] Error 100
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Below are the solution I tried(from various sources)
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Try(1): 'sudo apt-get install --reinstall libc6-i386'
remark: not working after this
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Try(2)
-> sudo docker pull ubuntu:20.04
-> sudo docker run --rm ubuntu:20.04 sh -c 'dpkg --add-architecture i386 && apt-get update -qq && apt-get install -y libc6:i386'
source -> https://bugs.launchpad.net/ubuntu-cdimage/+bug/1871268
source-> https://bugs.launchpad.net/ubuntu-cdimage/+bug/1871268/comments/39
output :
Processing triggers for libc-bin (2.31-0ubuntu9.1) ...
E: Could not configure 'libc6:i386'.
E: Could not perform immediate configuration on 'libgcc-s1:i386'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)
remark: not working
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Note: Minimal python is already installed (re-installed too)
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Hi, firstly thank you for making this tool chain open source. I am trying to run the simulation for a 2x2 core configuration instead of the 8x8 manycore that is given in the demo. Following the configuration checklist, I first set the NUMBER_CORES = 64
in file simulationcontrol/config.py
to be NUMBER_CORES = 4
. Then I set total_cores = 4
in the file config/base.cfg
.
However, when I try to create floorplan and corresponding thermal model as the Configuration Checklist shows, I could not locate the required file thermallib
, neither the create_thermal_model.py
. Are these files included in this tool package or to be downloaded from another location? Thank you very much for your help.
Hi,
HotSniper provides an equation for scaling power to nodes less than 22nm. README mentions that area has to be manually scaled to the desired node but doesn't include equations. Can you point to/include a resource that has details for scaling areas?
The closest link I found is: http://vcl.ece.ucdavis.edu/pubs/2017.02.VLSIintegration.TechScale/VLSI-Scaling-Stillmaker.pdf
But not sure If the equations here apply to McPat values.
Regards,
Gaurav
Hi,
During DVFS simulations in HotSniper, I have noticed that occasionally McPat will estimate an absurdly large area and power value for one or more processor functional blocks, which in turn results in a high-temperature value during HotSpot simulation. This produces incorrect results.
I suspect the reason for this is that McPat is invoked with option -opt_for_clk 1
(which is hardcoded to 1). This option optimizes the McPATs output based on target clock frequency.
During DVFS simulation, the frequencies are bound to vary, and when McPat is invoked with a new clock frequency value, it generates an output optimized for the current frequency in which the areas and peak power values of the same functional block are quite different even if the microarchitectural specifications are exactly same between two successive invocations).
I wanted to verify from the authors whether indeed is this the reason and option -opt_for_clk
should be set to 0
. This optimizes the output for ED^2P (energy delay square product).
As an example for 4MB, 16-way NUCA (L3) Cache Bank at 22nm and 4.4 GHz target clock frequency, McPat-1.3
reports:
-opt_for_clk 1
: Area ~24 mm2-opt_for_clk 0
: Area ~8.4 mm2 (seems legit)More info about opt_for_clk
: https://github.com/HewlettPackard/mcpat
Regards,
Gaurav
Hello,
I compiled the HotSniper which works fine. But when I run a benchmark, it gives an error given. It would be great if anyone can help.
anish@debian10:~/HotSniper-master/benchmarks$ ./run-sniper --benchmarks=parsec-dedup-simsmall-4 -c gainestown -d ../res -s powertrace.py
[app0] [PARSEC] Benchmarks to run: dedup
[app0]
[app0] [PARSEC] [========== Running benchmark dedup ==========]
[SNIPER] Warning: Unable to use physical addresses for shared memory simulation.
[app0] [PARSEC] Setting up run directory.
[app0] [PARSEC] Unpacking benchmark input 'simsmall'.
[app0] media.dat
[app0] [PARSEC] Running '/home/anish/HotSniper-master/record-trace --routine-tracing -o /tmp/tmpLnV3rM/run_benchmarks -e 1 -r 1 -s 0 --roi -- /home/anish/HotSniper-master/benchmarks/parsec/parsec-2.1/pkgs/kernels/dedup/inst/amd64-linux.gcc-sniper/bin/dedup -c -p -f -t 4 -i media.dat -o output.dat.ddp':
[app0] [PARSEC] [---------- Beginning of output ----------]
[SNIPER] Start
[app0] E: Unable to load /home/anish/HotSniper-master/sift/recorder/obj-intel64/sift_recorder: dlopen failed: cannot locate symbol "_ZnwmSt11align_val_t" referenced by "/home/anish/HotSniper-master/sift/recorder/obj-intel64/sift_recorder"...
[app0] [RECORD-TRACE] Using the Pin frontend (sift/recorder)
[app0] [PARSEC] [---------- End of output ----------]
[app0] [PARSEC] Done.
Assertion error in thermal model file: numberUnits != coreRows * coreColumns
[SNIPER] End
[SNIPER] Elapsed time: 0.17 seconds
[RECORD-TRACE] Using the Pin frontend (sift/recorder)
E: Missing application name
Pin: pin-3.7-97619-0d0c92f4f
Copyright (c) 2003-2018, Intel Corporation. All rights reserved.
Usage: pin [OPTION] [-t []] --
Use -help for a description of options
anish@debian10:~/HotSniper-master/benchmarks$
Hi. I tried to build Hot-sniper on three different Linux machines with three fresh, newly installed Ubuntu. versions (16.04, 18.04, 20.04) . the $ make
command for making the docker container raises the same error in all of them, at the same part:
I could make this docker container successfully about two months ago, but now it has this issue.
Maybe recently, something changed on dependencies.
~/projects/HotSniper/docker$ make
docker build -f Dockerfile-ubuntu-16.04 -t ubuntu:16.04-sniper-roozbeh .
Sending build context to Docker daemon 6.656kB
Step 1/10 : FROM ubuntu:16.04
---> 8185511cd5ad
Step 2/10 : RUN dpkg --add-architecture i386
---> Using cache
---> 289743de0922
Step 3/10 : RUN apt-get update && apt-get install -y python screen tmux binutils libc6:i386 libncurses5:i386 libstdc++6:i386 && rm -rf /var/lib/apt/lists/*
---> Using cache
---> f4b58aaa0c37
Step 4/10 : RUN apt-get update && apt-get install -y automake build-essential curl wget libboost-dev libsqlite3-dev zlib1g-dev libbz2-dev g++-4.8 g++-4.9 && rm -rf /var/lib/apt/lists/*
---> Using cache
---> 2460b94b5113
Step 5/10 : RUN apt-get update && apt-get install -y nano autoconf automake autotools-dev bc bison curl device-tree-compiler flex gawk gperf libexpat-dev libgmp-dev libmpc-dev libmpfr-dev libtool libusb-1.0-0-dev patchutils pkg-config texinfo zlib1g-dev && rm -rf /var/lib/apt/lists/*
---> Using cache
---> 94990987004b
Step 6/10 : RUN apt-get update && apt-get install -y gdb git && rm -rf /var/lib/apt/lists/*
---> Using cache
---> 29d3e1e81d09
Step 7/10 : RUN apt-get update && apt-get install -y gettext gfortran m4 xsltproc libx11-dev libxext-dev libxt-dev libxmu-dev libxi-dev gnuplot && rm -rf /var/lib/apt/lists/*
---> Using cache
---> e5df49cf153a
Step 8/10 : RUN apt-get update && apt-get install -y python3 python3-setuptools && rm -rf /var/lib/apt/lists/*
---> Using cache
---> 224fe2c4be3e
Step 9/10 : RUN easy_install3 pip && rm -rf /var/lib/apt/lists/*
---> Running in f24a58f4e2e0
Searching for pip
Reading https://pypi.python.org/simple/pip/
Best match: pip 21.0.1
Downloading https://files.pythonhosted.org/packages/b7/2d/ad02de84a4c9fd3b1958dc9fb72764de1aa2605a9d7e943837be6ad82337/pip-21.0.1.tar.gz#sha256=99bbde183ec5ec037318e774b0d8ae0a64352fe53b2c7fd630be1d07e94f41e5
Processing pip-21.0.1.tar.gz
Writing /tmp/easy_install-f79qp5a5/pip-21.0.1/setup.cfg
Running pip-21.0.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-f79qp5a5/pip-21.0.1/egg-dist-tmp-6velqxmb
/usr/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'python_requires'
warnings.warn(msg)
/usr/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'project_urls'
warnings.warn(msg)
warning: no files found matching 'docs/docutils.conf'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.mailmap'
warning: no previously-included files found matching '.appveyor.yml'
warning: no previously-included files found matching '.travis.yml'
warning: no previously-included files found matching '.readthedocs.yml'
warning: no previously-included files found matching '.pre-commit-config.yaml'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files found matching 'noxfile.py'
warning: no files found matching '*.css' under directory 'docs'
warning: no previously-included files found matching 'src/pip/_vendor/six'
warning: no previously-included files found matching 'src/pip/_vendor/six/moves'
warning: no previously-included files matching '*.pyi' found under directory 'src/pip/_vendor'
no previously-included directories found matching '.github'
no previously-included directories found matching '.azure-pipelines'
no previously-included directories found matching 'docs/build'
no previously-included directories found matching 'news'
no previously-included directories found matching 'tasks'
no previously-included directories found matching 'tests'
no previously-included directories found matching 'tools'
File "build/bdist.linux-x86_64/egg/pip/_internal/vcs/versioncontrol.py", line 72
req = f'{repo_url}@{rev}#egg={egg_project_name}'
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/vcs/git.py", line 156
raise ValueError(f'unexpected show-ref line: {line!r}')
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/cli/base_command.py", line 57
'prog': f'{get_prog()} {name}',
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/cli/main_parser.py", line 86
msg = [f'unknown command "{cmd_name}"']
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/cli/progress_bars.py", line 155
return f"eta {self.eta_td}" # type: ignore
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/cli/main.py", line 60
sys.stderr.write(f"ERROR: {exc}")
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/cli/parser.py", line 84
description = f'{label}:\n{description}\n'
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/cli/cmdoptions.py", line 49
msg = f'{option} error: {msg}'
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/resolution/resolvelib/requirements.py", line 125
return f"Python {self.specifier}"
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/resolution/resolvelib/factory.py", line 429
req_disp = f'{req} (from {parent.name})'
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/resolution/resolvelib/candidates.py", line 91
line = f"{project_name} @ {template.link.url}"
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/exceptions.py", line 219
return f' {self._requirement_name()}'
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/network/lazy_wheel.py", line 193
headers['Range'] = f'bytes={start}-{end}'
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/network/auth.py", line 202
), f"Could not load credentials from url: {original_url}"
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/network/session.py", line 321
msg = f'adding trusted host: {host!r}'
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/locations.py", line 107
assert not (user and prefix), f"user={user} prefix={prefix}"
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/commands/help.py", line 35
msg = [f'unknown command "{cmd_name}"']
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/commands/debug.py", line 70
f'pip._vendor.{module_name}',
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/commands/cache.py", line 157
results.append(f' - {wheel} ({size})')
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/commands/configuration.py", line 224
env_var = f'PIP_{key.upper()}'
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/utils/pkg_resources.py", line 27
e.reason += f" in {name} file"
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/utils/misc.py", line 117
return f"{sys.executable} -m pip"
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/utils/wheel.py", line 60
p for p in wheel_zip.namelist() if p.startswith(f"{info_dir}/")
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/utils/logging.py", line 123
prefix = f"{self.formatTime(record)} "
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/utils/compatibility_tags.py", line 119
return f"{implementation}{version}"
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/utils/temp_dir.py", line 154
f"Attempted to access deleted path: {self._path}"
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/utils/hashes.py", line 88
f'Unknown hash name: {hash_name}'
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/utils/unpacking.py", line 276
f'Cannot determine archive format of {location}'
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/utils/direct_url_helpers.py", line 91
hash = f"{hash_name}={link.hash}"
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/index/collector.py", line 450
_handle_get_page_fail(link, f"connection error: {exc}")
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/index/package_finder.py", line 164
return (False, f'yanked for reason: {reason}')
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/self_outdated_check.py", line 184
pip_cmd = f"{sys.executable} -m pip"
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/req/req_install.py", line 229
s += f' (from {comes_from})'
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/req/constructors.py", line 113
if url.lower().startswith(f'{version_control}:'):
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/req/req_file.py", line 204
line_source = f'line {line.lineno} of {line.filename}'
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/req/__init__.py", line 29
return f"InstallationResult(name={self.name!r})"
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/distributions/sdist.py", line 55
f'{installed} is incompatible with {wanted}'
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/configuration.py", line 167
raise ConfigurationError(f"No such key - {key}")
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/models/wheel.py", line 33
f"{filename} is not a valid wheel filename."
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/models/target_python.py", line 89
f'{key}={value!r}' for key, value in key_values
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/models/link.py", line 86
rp = f' (requires-python:{self.requires_python})'
^
SyntaxError: invalid syntax
creating /usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg
Extracting pip-21.0.1-py3.5.egg to /usr/local/lib/python3.5/dist-packages
File "build/bdist.linux-x86_64/egg/pip/_internal/models/direct_url.py", line 49
raise DirectUrlValidationError(f"{key} must have a value")
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/operations/install/wheel.py", line 363
f'pip{get_major_minor_version()} = {pip_script}'
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/operations/install/legacy.py", line 71
f"Running setup.py install for {req_name}"
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/operations/freeze.py", line 56
yield f'-f {link}'
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/operations/build/wheel.py", line 37
f'Building wheel for {name} (PEP 517)'
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/operations/build/wheel_legacy.py", line 26
text = f'Command arguments: {command_desc}\n'
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pip/_internal/operations/build/metadata_legacy.py", line 29
f"No .egg-info directory found in {directory}"
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/exceptions.py", line 219
return f' {self._requirement_name()}'
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/locations.py", line 107
assert not (user and prefix), f"user={user} prefix={prefix}"
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/self_outdated_check.py", line 184
pip_cmd = f"{sys.executable} -m pip"
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/configuration.py", line 167
raise ConfigurationError(f"No such key - {key}")
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/vcs/versioncontrol.py", line 72
req = f'{repo_url}@{rev}#egg={egg_project_name}'
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/vcs/git.py", line 156
raise ValueError(f'unexpected show-ref line: {line!r}')
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/cli/base_command.py", line 57
'prog': f'{get_prog()} {name}',
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/cli/main_parser.py", line 86
msg = [f'unknown command "{cmd_name}"']
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/cli/progress_bars.py", line 155
return f"eta {self.eta_td}" # type: ignore
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/cli/main.py", line 60
sys.stderr.write(f"ERROR: {exc}")
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/cli/parser.py", line 84
description = f'{label}:\n{description}\n'
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/cli/cmdoptions.py", line 49
msg = f'{option} error: {msg}'
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/resolution/resolvelib/requirements.py", line 125
return f"Python {self.specifier}"
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/resolution/resolvelib/factory.py", line 429
req_disp = f'{req} (from {parent.name})'
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/resolution/resolvelib/candidates.py", line 91
line = f"{project_name} @ {template.link.url}"
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/network/lazy_wheel.py", line 193
headers['Range'] = f'bytes={start}-{end}'
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/network/auth.py", line 202
), f"Could not load credentials from url: {original_url}"
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/network/session.py", line 321
msg = f'adding trusted host: {host!r}'
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/commands/help.py", line 35
msg = [f'unknown command "{cmd_name}"']
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/commands/debug.py", line 70
f'pip._vendor.{module_name}',
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/commands/cache.py", line 157
results.append(f' - {wheel} ({size})')
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/commands/configuration.py", line 224
env_var = f'PIP_{key.upper()}'
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/utils/pkg_resources.py", line 27
e.reason += f" in {name} file"
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/utils/misc.py", line 117
return f"{sys.executable} -m pip"
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/utils/wheel.py", line 60
p for p in wheel_zip.namelist() if p.startswith(f"{info_dir}/")
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/utils/logging.py", line 123
prefix = f"{self.formatTime(record)} "
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/utils/compatibility_tags.py", line 119
return f"{implementation}{version}"
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/utils/temp_dir.py", line 154
f"Attempted to access deleted path: {self._path}"
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/utils/hashes.py", line 88
f'Unknown hash name: {hash_name}'
^
SyntaxError: invalid syntax
Adding pip 21.0.1 to easy-install.pth file
Installing pip3 script to /usr/local/bin
Installing pip script to /usr/local/bin
Installing pip3.5 script to /usr/local/bin
Installed /usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg
Processing dependencies for pip
Finished processing dependencies for pip
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/utils/unpacking.py", line 276
f'Cannot determine archive format of {location}'
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/utils/direct_url_helpers.py", line 91
hash = f"{hash_name}={link.hash}"
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/index/collector.py", line 450
_handle_get_page_fail(link, f"connection error: {exc}")
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/index/package_finder.py", line 164
return (False, f'yanked for reason: {reason}')
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/req/req_install.py", line 229
s += f' (from {comes_from})'
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/req/constructors.py", line 113
if url.lower().startswith(f'{version_control}:'):
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/req/req_file.py", line 204
line_source = f'line {line.lineno} of {line.filename}'
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/req/__init__.py", line 29
return f"InstallationResult(name={self.name!r})"
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/distributions/sdist.py", line 55
f'{installed} is incompatible with {wanted}'
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/models/wheel.py", line 33
f"{filename} is not a valid wheel filename."
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/models/target_python.py", line 89
f'{key}={value!r}' for key, value in key_values
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/models/link.py", line 86
rp = f' (requires-python:{self.requires_python})'
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/models/direct_url.py", line 49
raise DirectUrlValidationError(f"{key} must have a value")
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/operations/freeze.py", line 56
yield f'-f {link}'
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/operations/install/wheel.py", line 363
f'pip{get_major_minor_version()} = {pip_script}'
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/operations/install/legacy.py", line 71
f"Running setup.py install for {req_name}"
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/operations/build/wheel.py", line 37
f'Building wheel for {name} (PEP 517)'
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/operations/build/wheel_legacy.py", line 26
text = f'Command arguments: {command_desc}\n'
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/operations/build/metadata_legacy.py", line 29
f"No .egg-info directory found in {directory}"
^
SyntaxError: invalid syntax
Removing intermediate container f24a58f4e2e0
---> a48478a5579f
Step 10/10 : RUN pip3 install matplotlib seaborn diskcache tabulate && rm -rf /var/lib/apt/lists/*
---> Running in e9a833d3d6df
Traceback (most recent call last):
File "/usr/local/bin/pip3", line 9, in <module>
load_entry_point('pip==21.0.1', 'console_scripts', 'pip3')()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 542, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2569, in load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2229, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2235, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/local/lib/python3.5/dist-packages/pip-21.0.1-py3.5.egg/pip/_internal/cli/main.py", line 60
sys.stderr.write(f"ERROR: {exc}")
^
SyntaxError: invalid syntax
The command '/bin/sh -c pip3 install matplotlib seaborn diskcache tabulate && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 1
Makefile:6: recipe for target 'all' failed
make: *** [all] Error 1
Hello!
I'm trying to run your simulation tool but run into issues with compiling it as I can not find PinPlay 3.2 anywhere.
The link in the setup guide is no longer valid. I tried using the pinkit provided from the intel SDE 9 but compiling HotSniper results in the following error: emulation.cc:12:44: error: 'PIN_REGISTER' has not been declared
static void handleRdtsc(THREADID threadid, PIN_REGISTER * gax, PIN_REGI
Any ideas for a fix would be greatly appreciated!
It seems it doesn't have permission for some files.
The URL of parsec-2.1 benchmark, parsec.cs.princeton.edu, is not available now.
The DNS resolve result of the hostname is NXDOMAIN, so I think parsec-2 might be no longer available.
Switching to parsec-3 maybe a good idea.
wget -O - http://parsec.cs.princeton.edu/download/2.1/parsec-2.1-core.tar.gz | tar xz --keep-old-files ; true
--2024-02-19 05:55:22-- http://parsec.cs.princeton.edu/download/2.1/parsec-2.1-core.tar.gz
Resolving parsec.cs.princeton.edu (parsec.cs.princeton.edu)... failed: Name or service not known.
wget: unable to resolve host address 'parsec.cs.princeton.edu'
Here is the error I get after running the commands listed in step 3.
I have no name!@ebbb589aad71:/Users/Aria/Desktop/HotSniper/benchmarks$ make
/Users/Aria/Desktop/HotSniper/benchmarks/tools/scripts/checkdependencies.py
make -C tools/hooks
make[1]: Entering directory '/Users/Aria/Desktop/HotSniper/benchmarks/tools/hooks'
./makebuildscripts.py
make[1]: Leaving directory '/Users/Aria/Desktop/HotSniper/benchmarks/tools/hooks'
make -C splash2
make[1]: Entering directory '/Users/Aria/Desktop/HotSniper/benchmarks/splash2'
make -C ../tools/hooks/
make[2]: Entering directory '/Users/Aria/Desktop/HotSniper/benchmarks/tools/hooks'
./makebuildscripts.py
make[2]: Leaving directory '/Users/Aria/Desktop/HotSniper/benchmarks/tools/hooks'
cd splash2/codes; make
make[2]: Entering directory '/Users/Aria/Desktop/HotSniper/benchmarks/splash2/splash2/codes'
make -C /Users/Aria/Desktop/HotSniper/benchmarks/tools/hooks
make[3]: Entering directory '/Users/Aria/Desktop/HotSniper/benchmarks/tools/hooks'
./makebuildscripts.py
make[3]: Leaving directory '/Users/Aria/Desktop/HotSniper/benchmarks/tools/hooks'
for DIR in find apps kernels -name \[Mm\]akefile|sed -e 's+/[Mm]akefile++'|sort -r
; do CC="gcc" AR="ar" LD="g++" CFLAGS="-g -O3 -I/Users/Aria/Desktop/HotSniper/benchmarks/splash2/splash2/codes -I/Users/Aria/Desktop/HotSniper/benchmarks/splash2/splash2/codes/pthreads -I/Users/Aria/Desktop/HotSniper/benchmarks/tools/hooks -I/Users/Aria/Desktop/HotSniper/include" LDFLAGS="-lm -pthread -uparmacs_roi_end -uparmacs_roi_start -L/Users/Aria/Desktop/HotSniper/benchmarks/tools/hooks -lhooks_base -lrt -pthread" MACROS="/Users/Aria/Desktop/HotSniper/benchmarks/splash2/splash2/codes/pthreads/c.m4.null.POSIX" TARGET_ARCH="" make -C
make[3]: Entering directory '/Users/Aria/Desktop/HotSniper/benchmarks/splash2/splash2/codes/kernels/radix'
gcc radix.o -g -O3 -I/Users/Aria/Desktop/HotSniper/benchmarks/splash2/splash2/codes -I/Users/Aria/Desktop/HotSniper/benchmarks/splash2/splash2/codes/pthreads -I/Users/Aria/Desktop/HotSniper/benchmarks/tools/hooks -I/Users/Aria/Desktop/HotSniper/include -o RADIX -lm -pthread -uparmacs_roi_end -uparmacs_roi_start -L/Users/Aria/Desktop/HotSniper/benchmarks/tools/hooks -lhooks_base -lrt -pthread
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o: In function _start': (.text+0x20): undefined reference to
main'
collect2: error: ld returned 1 exit status
makefile:7: recipe for target 'RADIX' failed
make[3]: *** [RADIX] Error 1
make[3]: Leaving directory '/Users/Aria/Desktop/HotSniper/benchmarks/splash2/splash2/codes/kernels/radix'
/bin/sh: 1: exit: Illegal number: -1
Makefile:13: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/Users/Aria/Desktop/HotSniper/benchmarks/splash2/splash2/codes'
Makefile:6: recipe for target 'splash2-build' failed
make[1]: *** [splash2-build] Error 2
make[1]: Leaving directory '/Users/Aria/Desktop/HotSniper/benchmarks/splash2'
Makefile:12: recipe for target 'all' failed
make: *** [all] Error 2
I have no name!@ebbb589aad71:/Users/Aria/Desktop/HotSniper/benchmarks$
Hi. What is the best way for using scripts like powertrace.py
or dvfs.py
, ... that exists on HotSniper/scripts
with PARSEC benchmarks?
On the default Sniper, it is possible to run the below command on the sniper/benchmarks
:
./run-sniper -p parsec-dedup -i small -n 4 -c gainestown -d ../res -s powertrace.py
but on HotSniper/benchmarks
, this command raises an error:
I have no name!@cacdc1531d65:/home/roozbeh/projects/HotSniper/benchmarks$ ./run-sniper -p parsec-dedup -i small -n 4 -c gainestown -d ../res -s powertrace.py
[PARSEC] Benchmarks to run: dedup
[PARSEC] [========== Running benchmark dedup ==========]
[PARSEC] Setting up run directory.
[PARSEC] Unpacking benchmark input 'simsmall'.
media.dat
[PARSEC] Running 'SNIPER_APP_LD_PRELOAD=; unset LD_PRELOAD; /home/roozbeh/projects/HotSniper/run-sniper -n 4 -m 'localhost' -d '/home/roozbeh/projects/HotSniper/res' -c gainestown -s powertrace.py --roi --curdir=/home/roozbeh/projects/HotSniper/benchmarks -- /home/roozbeh/projects/HotSniper/benchmarks/parsec/parsec-2.1/pkgs/kernels/dedup/inst/amd64-linux.gcc-sniper/bin/dedup -c -p -f -t 1 -i media.dat -o output.dat.ddp':
[PARSEC] [---------- Beginning of output ----------]
[SNIPER] Start
/home/roozbeh/projects/HotSniper/pin_kit/intel64/bin/pinbin: error while loading shared libraries: libstlport-dynamic.so: cannot open shared object file: No such file or directory
[SNIPER] End
[SNIPER] Elapsed time: 0.00 seconds
[PARSEC] [---------- End of output ----------]
[PARSEC] Done.
running splash2-barnes-simsmall-16 with configuration 1.0GHz+maxFreq+slowDVFS -n 64 -c gainestown --benchmarks=splash2-barnes-simsmall-16 --no-roi --sim-end=last -senergystats:1000000 -speriodic-power:1000000
Invalid input size simsmall
Traceback (most recent call last): File "/home/sridhar/Documents/csg/Hotsniper/HotSniper/benchmarks/run-sniper", line 291, in <module> program = __import__(package).Program(programname, int(app_nthreads), inputsize, ['force_nthreads']) File "/home/sridhar/Documents/csg/Hotsniper/HotSniper/benchmarks/splash2/__init__.py", line 28, in __init__ raise ValueError("Invalid input size %s" % inputsize)
ValueError: Invalid input size simsmall creating plots for results_2021-05-21_11.15_1.0GHz+maxFreq+slowDVFS_splash2-barnes-simsmall-16 Traceback (most recent call last): File "run.py", line 248, in <module> main() File "run.py", line 243, in main example() File "run.py", line 235, in exslmple owDVFS'], get_instance(benchmark, parallelism, input_set='simsmall')) File "run.py", line 114, in run raise Exception('return code != 0')
Exception: return code != 0
Hi, HotSniper is working well on Ubuntu 16.04. but on Ubuntu 20.04.2 LTS it seems that the hotspot has some problems.
It will be great if the HotSniper becomes functional on Ubuntu 20.04 too.
The error is:
../hotspot/hotspot: /lib/x86_64-linux-gnu/libm.so.6: version 'GLIBC_2.29' not found (required by ../hotspot/hotspot)
Here is the first part of the console log:
I have no name!@60cd8fd785f0:/home/roozbeh/projects/HotSniper/simulationcontrol$ PYTHONIOENCODING="UTF-8" python3 run.py
running parsec-blackscholes-simsmall-15 with configuration 1.0GHz+maxFreq+slowDVFS
-n 64 -c gainestown --benchmarks=parsec-blackscholes-simsmall-15 --no-roi --sim-end=last -senergystats:1000000 -speriodic-power:1000000
[app0] [PARSEC] Benchmarks to run: blackscholes
[app0]
[app0] [PARSEC] [========== Running benchmark blackscholes ==========]
[app0] [PARSEC] Setting up run directory.
[app0] [PARSEC] Unpacking benchmark input 'simsmall'.
[SNIPER] Start
[app0] in_4K.txt
[app0] [PARSEC] Running '/home/roozbeh/projects/HotSniper/record-trace --routine-tracing -o /tmp/tmpOOhgsO/run_benchmarks -e 1 -r 1 -s 0 -- /home/roozbeh/projects/HotSniper/benchmarks/parsec/parsec-2.1/pkgs/apps/blackscholes/inst/amd64-linux.gcc-sniper/bin/blackscholes 15 in_4K.txt prices.txt':
[app0] [PARSEC] [---------- Beginning of output ----------]
[Scheduler]: Setting Arrival Time for Task 0 (parsec-blackscholes-simsmall-15) to 0 ns
[Scheduler] [Info]: Initializing mapping policy
[Scheduler] [Info]: Initializing DVFS policy
Executing Python script /home/roozbeh/projects/HotSniper/benchmarks/sim.scripts.py
[Scheduler]: Trying to map Thread 0 from Task 0 at Time 0 ns
[Scheduler]: Trying to schedule Task 0 at Time 0 ns
[Scheduler]: Task 0 put into execution queue.
[Scheduler]: Assigning Core 0 to Task 0
[Scheduler]: Assigning Core 1 to Task 0
[Scheduler]: Assigning Core 2 to Task 0
[Scheduler]: Assigning Core 3 to Task 0
[Scheduler]: Assigning Core 4 to Task 0
[Scheduler]: Assigning Core 5 to Task 0
[Scheduler]: Assigning Core 6 to Task 0
[Scheduler]: Assigning Core 7 to Task 0
[Scheduler]: Assigning Core 8 to Task 0
[Scheduler]: Assigning Core 9 to Task 0
[Scheduler]: Assigning Core 10 to Task 0
[Scheduler]: Assigning Core 11 to Task 0
[Scheduler]: Assigning Core 12 to Task 0
[Scheduler]: Assigning Core 13 to Task 0
[Scheduler]: Assigning Core 14 to Task 0
[Scheduler]: Assigning Core 15 to Task 0
[Scheduler]: Setting Affinity for Thread 0 from Task 0 to Core 0
[SNIPER] --------------------------------------------------------------------------------
[SNIPER] Sniper using SIFT/trace-driven frontend
[SNIPER] Running full application in DETAILED mode
[SNIPER] --------------------------------------------------------------------------------
[SNIPER] Enabling performance models
[SNIPER] Setting instrumentation mode to DETAILED
[app0] PARSEC Benchmark Suite Version 2.1
[app0] [HOOKS] PARSEC Hooks Version 1.2
[Scheduler]: Time 1.000.000 ns [Active Tasks = 1 | Completed Tasks = 0 | Queued Tasks = 0 | Non-Queued Tasks = 0 | Free Cores = 48 | Active Tasks Requirements = 16 ]
[Scheduler]: DVFS Control Loop invoked at 1.000.000 ns
[Scheduler][DVFS_MAX_FREQ]: Core 0: P=0.547 W f=4000 MHz T=-1.0 °C utilization=0.372
[SNIPER] Setting frequency for core 0 in DVFS domain 0 to 1000 MHz
[SNIPER] Setting frequency for core 1 in DVFS domain 1 to 1000 MHz
[SNIPER] Setting frequency for core 2 in DVFS domain 2 to 1000 MHz
[SNIPER] Setting frequency for core 3 in DVFS domain 3 to 1000 MHz
[SNIPER] Setting frequency for core 4 in DVFS domain 4 to 1000 MHz
[SNIPER] Setting frequency for core 5 in DVFS domain 5 to 1000 MHz
[SNIPER] Setting frequency for core 6 in DVFS domain 6 to 1000 MHz
[SNIPER] Setting frequency for core 7 in DVFS domain 7 to 1000 MHz
[SNIPER] Setting frequency for core 8 in DVFS domain 8 to 1000 MHz
[SNIPER] Setting frequency for core 9 in DVFS domain 9 to 1000 MHz
[SNIPER] Setting frequency for core 10 in DVFS domain 10 to 1000 MHz
[SNIPER] Setting frequency for core 11 in DVFS domain 11 to 1000 MHz
[SNIPER] Setting frequency for core 12 in DVFS domain 12 to 1000 MHz
[SNIPER] Setting frequency for core 13 in DVFS domain 13 to 1000 MHz
[SNIPER] Setting frequency for core 14 in DVFS domain 14 to 1000 MHz
[SNIPER] Setting frequency for core 15 in DVFS domain 15 to 1000 MHz
[SNIPER] Setting frequency for core 16 in DVFS domain 16 to 1000 MHz
[SNIPER] Setting frequency for core 17 in DVFS domain 17 to 1000 MHz
[SNIPER] Setting frequency for core 18 in DVFS domain 18 to 1000 MHz
[SNIPER] Setting frequency for core 19 in DVFS domain 19 to 1000 MHz
[SNIPER] Setting frequency for core 20 in DVFS domain 20 to 1000 MHz
[SNIPER] Setting frequency for core 21 in DVFS domain 21 to 1000 MHz
[SNIPER] Setting frequency for core 22 in DVFS domain 22 to 1000 MHz
[SNIPER] Setting frequency for core 23 in DVFS domain 23 to 1000 MHz
[SNIPER] Setting frequency for core 24 in DVFS domain 24 to 1000 MHz
[SNIPER] Setting frequency for core 25 in DVFS domain 25 to 1000 MHz
[SNIPER] Setting frequency for core 26 in DVFS domain 26 to 1000 MHz
[SNIPER] Setting frequency for core 27 in DVFS domain 27 to 1000 MHz
[SNIPER] Setting frequency for core 28 in DVFS domain 28 to 1000 MHz
[SNIPER] Setting frequency for core 29 in DVFS domain 29 to 1000 MHz
[SNIPER] Setting frequency for core 30 in DVFS domain 30 to 1000 MHz
[SNIPER] Setting frequency for core 31 in DVFS domain 31 to 1000 MHz
[SNIPER] Setting frequency for core 32 in DVFS domain 32 to 1000 MHz
[SNIPER] Setting frequency for core 33 in DVFS domain 33 to 1000 MHz
[SNIPER] Setting frequency for core 34 in DVFS domain 34 to 1000 MHz
[SNIPER] Setting frequency for core 35 in DVFS domain 35 to 1000 MHz
[SNIPER] Setting frequency for core 36 in DVFS domain 36 to 1000 MHz
[SNIPER] Setting frequency for core 37 in DVFS domain 37 to 1000 MHz
[SNIPER] Setting frequency for core 38 in DVFS domain 38 to 1000 MHz
[SNIPER] Setting frequency for core 39 in DVFS domain 39 to 1000 MHz
[SNIPER] Setting frequency for core 40 in DVFS domain 40 to 1000 MHz
[SNIPER] Setting frequency for core 41 in DVFS domain 41 to 1000 MHz
[SNIPER] Setting frequency for core 42 in DVFS domain 42 to 1000 MHz
[SNIPER] Setting frequency for core 43 in DVFS domain 43 to 1000 MHz
[SNIPER] Setting frequency for core 44 in DVFS domain 44 to 1000 MHz
[SNIPER] Setting frequency for core 45 in DVFS domain 45 to 1000 MHz
[SNIPER] Setting frequency for core 46 in DVFS domain 46 to 1000 MHz
[SNIPER] Setting frequency for core 47 in DVFS domain 47 to 1000 MHz
[SNIPER] Setting frequency for core 48 in DVFS domain 48 to 1000 MHz
[SNIPER] Setting frequency for core 49 in DVFS domain 49 to 1000 MHz
[SNIPER] Setting frequency for core 50 in DVFS domain 50 to 1000 MHz
[SNIPER] Setting frequency for core 51 in DVFS domain 51 to 1000 MHz
[SNIPER] Setting frequency for core 52 in DVFS domain 52 to 1000 MHz
[SNIPER] Setting frequency for core 53 in DVFS domain 53 to 1000 MHz
[SNIPER] Setting frequency for core 54 in DVFS domain 54 to 1000 MHz
[SNIPER] Setting frequency for core 55 in DVFS domain 55 to 1000 MHz
[SNIPER] Setting frequency for core 56 in DVFS domain 56 to 1000 MHz
[SNIPER] Setting frequency for core 57 in DVFS domain 57 to 1000 MHz
[SNIPER] Setting frequency for core 58 in DVFS domain 58 to 1000 MHz
[SNIPER] Setting frequency for core 59 in DVFS domain 59 to 1000 MHz
[SNIPER] Setting frequency for core 60 in DVFS domain 60 to 1000 MHz
[SNIPER] Setting frequency for core 61 in DVFS domain 61 to 1000 MHz
[SNIPER] Setting frequency for core 62 in DVFS domain 62 to 1000 MHz
[SNIPER] Setting frequency for core 63 in DVFS domain 63 to 1000 MHz
../hotspot/hotspot: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by ../hotspot/hotspot)
Traceback (most recent call last):
File "/home/roozbeh/projects/HotSniper/tools/mcpat.py", line 1601, in <module>
main(jobid = jobid, resultsdir = resultsdir, powertype = powertype, config = config, outputfile = outputfile, no_graph = no_graph, print_stack = not no_text, partial = partial)
File "/home/roozbeh/projects/HotSniper/tools/mcpat.py", line 310, in main
results = power_stack(power_dat,results['config'], powertype)
File "/home/roozbeh/projects/HotSniper/tools/mcpat.py", line 616, in power_stack
temperatures = subprocess.check_output([hotspot_binary] + hotspot_args)
File "/usr/lib/python2.7/subprocess.py", line 574, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['../hotspot/hotspot', '-c', '../hotspot/hotspot.config', '-f', '/home/roozbeh/projects/HotSniper/benchmarks/8x8_manycore.flp', '-sampling_intvl', '0.001', '-p', 'InstantaneousPower.log', '-o', 'InstantaneousTemperature.log']' returned non-zero exit status 1
[Scheduler]: Time 2.000.000 ns [Active Tasks = 1 | Completed Tasks = 0 | Queued Tasks = 0 | Non-Queued Tasks = 0 | Free Cores = 48 | Active Tasks Requirements = 16 ]
[Scheduler]: DVFS Control Loop invoked at 2.000.000 ns
[Scheduler][DVFS_MAX_FREQ]: Core 0: P=0.545 W f=1000 MHz T=-1.0 °C utilization=0.370
../hotspot/hotspot: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by ../hotspot/hotspot)
Hi,
Referring to:
HotSniper/scripts/energystats.py
Line 23 in a2c9193
Regards,
Gaurav
I have followed the steps in the README file. Trying to run simulations and see results in the default setting.
On running 'run.py' file I am repeatedly getting the following output in log-
IOError: [Errno 2] No such file or directory: '/home/sridhar/Documents/csg/hotsniper/HotSniper-master/benchmarks/energystats-temp.py'
558966 [ 962] [ 0] [py_stats.cc : 152] WARNING Stats callback: return value must be (convertable into) 64-bit unsigned integer
sh: 1: /home/sridhar/Documents/csg/hotsniper/HotSniper-master/tools/mcpat.py: Permission denied
Traceback (most recent call last):
File "/home/sridhar/Documents/csg/hotsniper/HotSniper-master/scripts/energystats.py", line 103, in get_stat
self.update()
File "/home/sridhar/Documents/csg/hotsniper/HotSniper-master/scripts/energystats.py", line 90, in update
power = self.run_power(self.name_last, current)
File "/home/sridhar/Documents/csg/hotsniper/HotSniper-master/scripts/energystats.py", line 160, in run_power
execfile(outputbase + '.py', {}, result)
Finally exiting as
ValueError: Invalid prefix roi-end Traceback (most recent call last): File "run.py", line 248, in <module> main() File "run.py", line 243, in main example() File "run.py", line 235, in example run(['{:.1f}GHz'.format(freq), 'maxFreq', 'slowDVFS'], get_instance(benchmark, parallelism, input_set='simsmall')) File "run.py", line 102, in run cpistack = subprocess.check_output(['python', os.path.join(SNIPER_BASE, 'tools/cpistack.py')], cwd=BENCHMARKS) File "/usr/lib/python3.5/subprocess.py", line 626, in check_output **kwargs).stdout File "/usr/lib/python3.5/subprocess.py", line 708, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['python', '/home/sridhar/Documents/csg/hotsniper/HotSniper-master/tools/cpistack.py']' returned non-zero exit status 1
After following these steps:
cd docker
make
make run
Docker is successfully set up as per the log:
docker build -f Dockerfile-ubuntu-16.04 -t ubuntu:16.04-sniper-root .
Sending build context to Docker daemon 6.656kB
Step 1/10 : FROM ubuntu:16.04
---> f6f49faac5cf
Step 2/10 : RUN dpkg --add-architecture i386
---> Using cache
---> baf73252e6f5
Step 3/10 : RUN apt-get update && apt-get install -y python screen tmux binutils libc6:i386 libncurses5:i386 libstdc++6:i386 && rm -rf /var/lib/apt/lists/*
---> Using cache
---> 5d9a76dbb756
Step 4/10 : RUN apt-get update && apt-get install -y automake build-essential curl wget libboost-dev libsqlite3-dev zlib1g-dev libbz2-dev g++-4.8 g++-4.9 && rm -rf /var/lib/apt/lists/*
---> Using cache
---> d6233aeb8519
Step 5/10 : RUN apt-get update && apt-get install -y nano autoconf automake autotools-dev bc bison curl device-tree-compiler flex gawk gperf libexpat-dev libgmp-dev libmpc-dev libmpfr-dev libtool libusb-1.0-0-dev patchutils pkg-config texinfo zlib1g-dev && rm -rf /var/lib/apt/lists/*
---> Using cache
---> 58f392e0101c
Step 6/10 : RUN apt-get update && apt-get install -y gdb git && rm -rf /var/lib/apt/lists/*
---> Using cache
---> 22fea0ea133f
Step 7/10 : RUN apt-get update && apt-get install -y gettext gfortran m4 xsltproc libx11-dev libxext-dev libxt-dev libxmu-dev libxi-dev gnuplot && rm -rf /var/lib/apt/lists/*
---> Using cache
---> 01fb031a03fe
Step 8/10 : RUN apt-get update && apt-get install -y python3 python3-pip && rm -rf /var/lib/apt/lists/*
---> Using cache
---> cfb32299ef07
Step 9/10 : RUN pip3 install --upgrade pip==20.* # pip 21 is not compatible with Ubuntu 16.04 Python version
---> Using cache
---> 4da002eabbbf
Step 10/10 : RUN pip3 install matplotlib seaborn diskcache tabulate
---> Using cache
---> 054a50e19727
Successfully built 054a50e19727
Successfully tagged ubuntu:16.04-sniper-roo
But when I do cd ..
to compile the rest of the stuff, I see an empty HotSniper directory. Did anyone come across this issue?
Thanks & Regards,
Gaurav
Hi,
I want to use gen_topology.py
in HotSniper/tools
directory to generate a topology file, and when i finished an experiment, i did the following steps but reported following error(in fact, this is the source code, and i haven't modified it).
So, could you please let me know how to use gen_topology.py
?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.